Jump to content

Crowdin Translation install


Recommended Posts

Hi PhpMadman,

 

If you need to, you can produce a valid PrestaShop .gzip from files downloaded from crowdin and I can explain how. But that should not be necessary usually: we build the packs ourselves and publish them regularly so that they can be installed from the PrestaShop back-office by doing 'Add or update a language' from "Localization" > "Translations".

 

Re-publication of language packs is not yet done automatically. It will be eventually, and will be done every day, but for now the worst case scenario is that they're re-built and re-published once a week.

 

If you need the .gzip earlier, you can install the translatools module from here: https://docs.google.com/a/prestashop.com/document/d/11yY2P0PpIaAh5XHbr3wpyLTspMercLqdevwBd0_wekc/edit#heading=h.vbqalukj4thd.

 

Then, from it's configuration page, scroll down to "Crowdin Integration" and use the "Install button" to download the translations you're interested in. The language must be installed on you shop to be listed in the list.

 

This will download the translations from Crowdin as they are right now, but still only download approved translations.

 

You can then generate .gzip files if you need to, either using the usual way through "Localization" > "Translations" (export), or by clicking the "Build and Download" link.

 

If you also want to regenerate the e-mails (as you may have noticed, only the raw strings are on Crowdin, not the HTML and TXT files), you should use this module: https://github.com/djfm/emailgenerator

 

Step 1) Download the translations with translatools

Step 2) Generate the emails with emailgenerator

Step 3) Build packs

 

Let me know if you have any questions!

 

François-Marie

Link to comment
Share on other sites

×
×
  • Create New...