2 min. read
Categories:
Translating Sylius with Crowdin
We introduced new translation format and tools. Check them out at [**translate.sylius.org**](http://translate.sylius.org)!
Translating Sylius with Crowdin

A few months ago we have been granted the open-source license for Translation management service, called Crowdin.

Unfortunately, because of the format we have been using at the time (XLIFF), the synchronization process between Crowdin and GitHub would be fairly complex and time-consuming.
We decided to switch to the YAML files instead and thanks to the awesome work of Julien Janvier, we are able to work on translations through translate.sylius.org.

Big “thank you” to the Akeneo team for their Crowdin API implementation in PHP.

Adding new translations

If you work on a patch for Sylius, adding new phrases is really simple and works like with any Symfony application.
You add the new translation keys to the YAML formatted files in bundle’s Resources/translations directory.

Translating

When new phrases are added in English, you have to create an account on translate.sylius.org.
The UI is very intuitive and all you need is to navigate to correct language and start translating the files!

You can suggest translations for new and existing phrases. Our proofreaders will pick the best proposals and approve them.

Synchronization

Currently, the synchronization needs to be performed manually, but in the near future we want to automate the whole process.
Sylius team will use the sync commands and add new translations to the GitHub repository.

Enjoy!

Tags:
Share:
Paweł Jędrzejewski
Self-taught developer and entrepreneur, who has built an entire career and business through Open Source technology. Speaker at international conferences. PHPers meetups co-organizer. Keen on helping other young entrepreneurs and companies who may want to follow a similar path.
More from our blog
Cloud 2 min read 17.06.2024
We are thrilled to announce that we just signed a strategic partnership with Platform.sh, and as a result, we are extending our offer with Sylius Cloud powered by Platform.sh. Platform.sh is a modern Platform-as-a-Service (PaaS) solution that allows businesses to leverage the cloud environment without losing access to the code… Read More
Technical 2 min read 11.06.2024
Abstract 1.12 released in Q4 2022 1.13 on Apr 23rd, 2024 (a year later than we anticipated while releasing 1.12) 3859 commits 23 contributors A stabilized Sylius API powered by API Platform It’s been a long and bumpy road. Having it behind our backs was a highway that led Sylius… Read More
Business Ecosystem News 2 min read 06.06.2024
Welcome to the May summary! As an open-source eCommerce framework, Sylius continues to evolve with significant contributions from our vibrant community and valuable product updates. Apart from describing the technical changes, we will also quickly summarize the Sylius Technical Fundamentals & Sylius Polish Community Meetup and eCommerce Day Kaunas, as… Read More
Comments