itkg / translation-bundle
Translation bundle
Installs: 4 492
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: >=5.4,<7.0
- symfony/symfony: ~2
Requires (Dev)
- phake/phake: ^2.1.1
- phpunit/phpunit: 4.*
- symfony/monolog-bundle: ~2
This package is not auto-updated.
Last update: 2024-10-26 19:43:10 UTC
README
About
Import / Export translation feature for Symfony 2 projects
Installation
Installation by Composer
- If you use composer, add ItkgDelayEventBundle bundle as a dependency to the composer.json of your application
"require": { "itkg/translation-bundle": "dev-master" },
- Add ItkgTranslationBundle to your application kernel.
// app/AppKernel.php <?php // ... public function registerBundles() { $bundles = array( // ... new Itkg\TranslationBundle\ItkgTranslationBundle(), ); }
Usage
- Export yml files to a CSV
app/console itkg:translation:convert --path ./ --input=yml --output=csv --output-path=/var/www/mhps/translations
- Import csv files to a yml
app/console itkg:translation:convert --path ./translations/ --input=csv --output=yml