Author Topic: Graphene-ui Internationalization on Transifex  (Read 933 times)

0 Members and 1 Guest are viewing this topic.

Offline rnglab

  • Full Member
  • ***
  • Posts: 171
    • View Profile
  • BitShares: rnglab
https://www.transifex.com/bitshares/graphene-ui/

Transifex checks locale-en.js once a day and updates it's translation source file if there's any change. Users can be notified on changes by clicking "Watch Project".

We are using plain text source file from raw.github to avoid the conversion from Counterpart locale file format (used by React Translate Component) to JSON every time that source file changes on github, and then reformatting for commits.

That's why we have to use the Copy Source String button on every string and translate only the text between double quotes.  The resulting locale file is ready to download and push without any change.

Non translatable strings have been locked so there's no risk to break file format if the translatable strings are copied from source language and only the text between double quotes  is translated. In any case I'll review every translation before pushing a commit.

I am at your disposal for questions and suggestions.