UPCOMING: Magento 2 Bootcamp of four days in The Netherlands (April 29th - May 2nd)

September 27, 2012

Magento localization with Transifex

Yireo Blog Post

Transifex is a popular platform to assist in translations - it is used by Joomla! and numerous other open source projects. But support for Magento CSV-files was still lacking. Yireo is proud to mention that - thanks to a GitHub pull request to add Magento CSV-support to Transifex - it is now possible to use Transifex for Magento translations.

Previous support for Magento in Transifex

Before, it was still possible to put Transifex to work for Magento translations, but only using huge workarounds: A Magento CSV-file needed to be converted to a POT-file, this POT-file could then be imported into Transifex. After translating all content, the Magento strings could then be exported agan to POT-file, to be converted again into CSV-files. Pfff.

Improved support for Magento in Transifex

Needless to say this procedure was difficult and also caused numerous errors - partly because the Magento CSV-rules do not apply to POT-format. Instead, a better approach was to write a Python handler-script, integrated into the Transifex core-system, that would process Magento CSV-lines directly. Yireo has supplied this script to the Transifex team using a GitHub pull-request. And Transifex has now included this pull request into the main project.

So now what?

Practically, this means that you can create new translation-resources based on Magento locale-files, and use Transifex as a means to collaberate in Magento translations. With its past being in the Netherlands, Yireo has seen numerous commercial companies offering so-called official Magento translations - but all requiring a visitor to leave personal details (in general: their email-address) before allowing them to download this.

But translations should not be in the hands of one commercial company, that harvests all the details of innocent Magento users. It should be in the hands of the online community instead. Transifex already offers a great system, so we hope the combined effort of Yireo and Transifex allows Magento users to create non-commercial translations.

Posted on September 27, 2012

About the author

Author Jisse Reitsma

Jisse Reitsma is the founder of Yireo, extension developer, developer trainer and 3x Magento Master. His passion is for technology and open source. And he loves talking as well.

Sponsor Yireo

Looking for a training in-house?

Let's get to it!

We don't write too commercial stuff, we focus on the technology (which we love) and we regularly come up with innovative solutions. Via our newsletter, you can keep yourself up to date on all of this coolness. Subscribing only takes seconds.

Do not miss out on what we say

This will be the most interesting spam you have ever read

We don't write too commercial stuff, we focus on the technology (which we love) and we regularly come up with innovative solutions. Via our newsletter, you can keep yourself up to date on all of this coolness. Subscribing only takes seconds.