PHP code example of manuelj555 / manuel-translation-bundle
1. Go to this page and download the library: Download manuelj555/manuel-translation-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
manuelj555 / manuel-translation-bundle example snippets
return [
...
ManuelAguirre\Bundle\TranslationBundle\ManuelTranslationBundle::class => ['all' => true],
...
];
yaml
manuel_translation:
locales: [en, es] # Se deben definir los locales que el translator usará.
security_role: ROLE_SUPER_ADMIN # Valor por defecto si no se define la opción.