-
Notifications
You must be signed in to change notification settings - Fork 27
Add translation
Anthony Law edited this page Jun 9, 2020
·
1 revision
-
Create an json file
<language name>.json
inside i18n folder. -
Copy all translation key from here en-us.json into your new created
<language name>.json
-
Start changing your language in
<language name>.json
. -
Append
<language name>.json
into this file Here.
const languages = {
'en-us': require('./en-us.json'),
...
'new-language': require('./`<language name>.json')
}