soluti/translation-bundle

A bundle that allows dumping messages right from the SymfonyProfiler

v2.0.0 2017-12-18 16:43 UTC

This package is auto-updated.

Last update: 2021-09-21 13:34:10 UTC


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.