PHPackages                             php-translation/converter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. php-translation/converter

ActiveLibrary[Localization &amp; i18n](/categories/localization)

php-translation/converter
=========================

Converts your translation files to Xliff

0.1.0(8y ago)171.7k4[1 issues](https://github.com/php-translation/converter/issues)MITPHPPHP ^5.5 || ^7.0

Since Aug 20Pushed 7y ago4 watchersCompare

[ Source](https://github.com/php-translation/converter)[ Packagist](https://packagist.org/packages/php-translation/converter)[ RSS](/packages/php-translation-converter/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Convert your translation files
==============================

[](#convert-your-translation-files)

[![Latest Version](https://camo.githubusercontent.com/694bebfbf385a56b77531e1bad09ae0be4728b39e4a03fb58d6bb86bc7eb2cbe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7068702d7472616e736c6174696f6e2f636f6e7665727465722e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-translation/converter/releases)[![Build Status](https://camo.githubusercontent.com/7fe2ed92a1c9f14e4225783f440ef169039b4744f22bed5ed24151cf88fca2b7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d7472616e736c6174696f6e2f636f6e7665727465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/php-translation/converter)[![Code Coverage](https://camo.githubusercontent.com/945ad6b916eb246653e8d9dcbbf18aa637745873f44247a33a1732711c544fc5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7068702d7472616e736c6174696f6e2f636f6e7665727465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/php-translation/converter)[![Quality Score](https://camo.githubusercontent.com/c253a207fd733d4af25bdfff565c501c43c453f7d24a73449e0081fe36e9cd96/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7068702d7472616e736c6174696f6e2f636f6e7665727465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/php-translation/converter)[![Total Downloads](https://camo.githubusercontent.com/016370bf87e03e1d411e3eca8f3847b9d4328d9398d05cee106b614ea04a69ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d7472616e736c6174696f6e2f636f6e7665727465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/php-translation/converter)

**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](http://php-translation.readthedocs.io/).

### Install

[](#install)

```
composer require php-translation/converter
```

### Use

[](#use)

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
```

### Documentation

[](#documentation)

Read our documentation at [http://php-translation.readthedocs.io](http://php-translation.readthedocs.io/en/latest/).

### Contribute

[](#contribute)

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

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3192d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/401ccc5eea13c60cf807ae982af00e368e2166e2f26d8eb541dcd881a57385bc?d=identicon)[Nyholm](/maintainers/Nyholm)

---

Top Contributors

[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (11 commits)")[![emri99](https://avatars.githubusercontent.com/u/6652177?v=4)](https://github.com/emri99 "emri99 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-translation-converter/health.svg)

```
[![Health](https://phpackages.com/badges/php-translation-converter/health.svg)](https://phpackages.com/packages/php-translation-converter)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
