Thanks, I see it. But is there the reverse process? somebody uploads the po files from github to transifex.
Because I afraid to upload (as pull request) the changes into po file to github and the changes maybe will lost in the next time that BrettDong will upload the files from transifex to github.
Yes, it is good. I am spanish translator for CataclysmDDA more or less from two years ago. And I help in the translation with web UI.
But now I want to fill the spanish po file with some translated strings from argentinian po file and I cannot do this action with web UI. Then this is the reason for ask about:
Can I upload the spanish po file (with some new translated strings) to github…and somebody or something sincronize this new tranlated strings in the web UI?
Or the main source is the DB transifex and the only direction is Transifex -> github.
GitHub is just a mirror of translation data on Transifex. Translation work should be done on Transifex. If you want to upload a .po file to Transifex, you may mail me your .po file and I can push it to Transifex for you, but that will overwrite the entire Spanish translation on Transifex. So please ensure that you are working on a latest copy of Spanish translation from Transifex, or other translators’ contribution could be lost after the push.
get spanish and argentinian translations (as json data)
loop empty strings of spanish and
– check if it exists in argentinian
– show the argentinian strings
– the human press enter or Y to upload the same translation to spanish (with Transifex api)
Well, the source code it is hardcoded for this case, but it can be generic for other uses.
And at the moment (this two days) I fill more or less 350 strings from argentinian to spanish .