-
-
Notifications
You must be signed in to change notification settings - Fork 190
Adding Editing a Translation
Puskuruk edited this page Jul 3, 2020
·
2 revisions
We use react-i18next as internalization(i18n) library.
In /src/i18n/locales
there is folders for each language. You need to create a folder with language you will add or you can click to a folder you want to edit.
In our structure there is translation file which is translations.json
for each language. You need to create a new translations.json
file under the folder you created or you can open a translations.json
file you want to edit.
After you finished your translation or edit you need to add your translation to /src/i18n/index.js
like you can see from line 29, 32, 35
Finally you need to add your language to your language to src/components/StartingPage/index.js
like this: