Transifex & CI/CD


!Friendica Developers

This question is mainly addressing @Tobias . I found some nice tools & possibilities to automatically sync between transifex and and git repos. Tbh I found that nextcloud is using such a sync-mechanism and it seems like it works very well, They use the TX client and some bash scripts (I think we just would need one or two scripts to enable a sync, most of the nextcloud syncs are because of their different app structures and branch-version management ...)

BUT I think we do have at least one manual edit inside the different messages.po: the list of translators.

Where does this list come from? Is this really manually edited by @Tobias at each change? Are there any other manually edits inside these files?

in reply to Philipp Holzer

ah ok that's what I thought about php2po. po2php is used more frequently and AFAIK @Hypolite Petovan updated it last year ago.

What were you're troubles with the tx client? And what about the translator list in the comments? Where are you get them from? In the meantime, the TX client and the API switched to a version 3 with a state of the art OpenAPI (see transifex.github.io/openapi/ ). Maybe it now works more reliable :-)

in reply to Philipp Holzer
We can’t use Transifex’s translated PO files directly yet so we’ve been and we’re still converting them to static PHP arrays. I’ve had to update the way we extract the plural rules because the naive way wasn’t working properly.