1. Home
  2. Docs
  3. For administrators (WP plugin)
  4. How to add new language?

How to add new language?

  1. Download en.json https://raw.githubusercontent.com/swaponline/MultiCurrencyWallet/master/src/front/shared/localisation/en.json (click on this link by right mouse button -> save link as..)
  2. Open en.json in some editor, for example notepad++ (https://notepad-plus-plus.org/downloads/)
  3. Copy text which you want to translate:

4. Find this string in en.json:

5. Replace to string on your language:

6. Repeat steps 5-7 with other strings you find in the app (don’t replace strings one by one directly in the en.js, because too many strings are no more use in the app)

7. Click “File > Save as new file” and save as LN.json where LN is code of your language (see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes )

8. Send send the resulting file via Telegram: https://t.me/swaponlinebot OR create new Github issue named “Add new LN (Language name) locale” using this form https://github.com/swaponline/MultiCurrencyWallet/issues/new

Was this article helpful to you? Yes 1 No 3

How can we help?