- Each supported language is represented by a folder in _raw/locales whose name is that language's subtag (example: _raw/locales/es/). (look up a language subtag using the r12a "Find" tool or this wikipedia list).
- Inside that folder there should be a messages.json.
- An easy way to start your translation is to first make a copy of
_raw/locales/en/messages.json
(the English translation), and then translate the message key for each in-app message. - Add the language to the locales index
_raw/locales/index.json
If you use VSCode, i18n Ally extension is suggested to be installed to check for missing content. After enabling, there will be an additional "i18n Ally" option on the left sidebar. Click on "Progress" to view the translation completion of each language
If you want to verify that your translations are displayed correctly in Rabby Wallet, follow the local startup tutorial to start Rabby and switch to your language.