Skip to content

Internationalization

Daniel Siwek edited this page Nov 30, 2018 · 1 revision

Jolocomwallet uses i18n-js and react-native-languages libraries for internationalization and poeditor to manage translations.

Flow

When you are adding a new text to the application, you have to add this text to the translation's template (template.pot) like so:

msgid "Mobile Phone"
msgstr ""

After that, you will be able to import terms to the poeditor. It will compare the uploaded file with existing translations and adds missing terms. When translations are ready, just export terms and translations from poeditor in a json (key-value) format, put that file to the /locales folder in an application and remake json format to the javascript object.

The new translations should be visible in the application.

Clone this wiki locally