openclassrooms / translation-bundle
Symfony2 Bundle for Translation Workflow
Installs: 4 778
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 30
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- ezyang/htmlpurifier: ~4.6
- symfony/finder: ~2.6
- symfony/framework-bundle: ~2.6
- symfony/process: ^2.6
- symfony/translation: ~2.6
Requires (Dev)
- phpunit/phpunit: ~4.5
- satooshi/php-coveralls: dev-master
This package is auto-updated.
Last update: 2025-01-07 00:05:43 UTC
README
Symfony2 Bundle that checks missing translations keys and fix Transifex behavior
Installation
This bundle can be installed using composer:
composer require openclassrooms/translation-bundle
or by adding the package to the composer.json file directly.
{ "require": { "openclassrooms/translation-bundle": "*" } }
After the package has been installed, add the bundle to the AppKernel.php file:
// in AppKernel::registerBundles() $bundles = array( // ... new OpenClassrooms\Bundle\TranslationBundle\OpenClassroomsTranslationBundle(), // ... );
Configuration
Add the elasticsearch hosts to the config.yml
openclassrooms_translation: locale_source: fr locale_targets: - en - es bundles: - AppBundle - UserBundle