Skip to content

Add translation

Anthony Law edited this page Jun 9, 2020 · 1 revision

Add Translation in Explorer

  1. Create an json file <language name>.json inside i18n folder.

  2. Copy all translation key from here en-us.json into your new created <language name>.json

  3. Start changing your language in <language name>.json.

  4. Append <language name>.json into this file Here.

Example

const languages = {
  'en-us': require('./en-us.json'),
  ...
  'new-language': require('./`<language name>.json')
}