Localization process using #Github & #Transifex
Hi to all I have been refining the process to upload resources to GitHub and connect the repositories to Transifex
Source… a cookbok repo:
https://github.com/alvarmaciel/recetario
Resource in Transifex page:
https://www.transifex.com/projects/p/cookbook/resources/
The process
- Pull or clone the repositories
- Convert the source to a PO file. I make this with Po4A
-
po4a-gettextize -f Text -M utf-8 -m README.md -p /language/README.pot
- Rename the *.POT file to a XXX.lang.PO file . You should have to edit the header of the file... I don't do it ^_^
-
- Commit and Push the changes to GitHub
- Create the project on Transifex or add a resource to an existing project
- Edit the resources and in the field "URL SOURCE FILE" add the link of the RAW file *.PO in github. In this case https://raw.github.com/alvarmaciel/recetario/master/languajes/README.en.po
I hope this help to other to bring more documents to transifex and have the sources on Github