I’m using Zend/Translator and gettext, and while jenkins build is running can it update MO files from my transifex account?
I’m using Zend/Translator and gettext, and while jenkins build is running can it update
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can add an extra step in the build process for that.
First, you need to use the transifex client and set it up for
your project. Many projects choose to have the .tx/config file that is
required inside the repository itself. See for instance
https://github.com/django/django/tree/master/.tx/
Given that, you can configure your project to first pull all PO files
from Transifex with
tx pull -aand then run themsgfmtcommand togenerate the MO files from the PO files.