soluti / translation-bundle
A bundle that allows dumping messages right from the SymfonyProfiler
This package's canonical repository appears to be gone and the package has been frozen as a result.
v2.0.0
2017-12-18 16:43 UTC
Requires
- php: ^7.1.3
- sensio/framework-extra-bundle: ^5.0
- symfony/framework-bundle: ^4.0
- symfony/translation: ^4.0
README
A bundle that allows dumping messages right from the SymfonyProfiler
Installation
A) Download and install
To install SolutiTranslationBundle run the following command
$ php composer.phar require soluti/translation-bundle
B) Enable the bundle
Enable the required bundles in the kernel:
<?php
// config/bundles.php
return [
...
Soluti\TranslationBundle\SolutiTranslationBundle::class => ['dev' => true],
];
C) Enable the bundle routing
add the following to config/routes/dev/soluti_translation.yaml :
soluti_translation:
resource: "@SolutiTranslationBundle/Controller/"
type: annotation
D) (Optional) Configure the bundle dump format
add the following to config/packages/dev/soluti_translation.yml :
soluti_translation:
format: xlf # xlf | yml | php
License
This package is available under the MIT license.