Converts your translation files to Xliff

0.1.0 2017-08-20 16:51 UTC

This package is auto-updated.

Last update: 2024-07-16 13:31:56 UTC


Latest Version Build Status Code Coverage Quality Score Total Downloads

Don't you hate all the different translations formats? Are you stuck with JMSTranslatorBundle? If so, this is the tool for you!

This little tool can convert your translation files from one format to the excellent XLIFF 2.0. A perfect use case is when you migrating from JMSTranslatorBundle to PHP-translation.


composer require php-translation/converter


Just run the command like below:

# Example
./vendor/bin/translation-converter translation:convert [input_dir] [output_dir] [format]

# Convert from JMSTranslationBundle
./vendor/bin/translation-converter translation:convert app/Resources/translations app/Resources/translations-new --format=jms

# Convert from Yaml
./vendor/bin/translation-converter translation:convert app/Resources/translations app/Resources/translations-new --format=yml


Read our documentation at


Do you want to make a change? Pull requests are welcome.