-
Notifications
You must be signed in to change notification settings - Fork 0
Localization
Lorenz Hoffmann edited this page Apr 18, 2023
·
7 revisions
If you want to add translations to a language you know well, you should do the following:
- Look at the issues and pull requests if someone already works on translations for the language. Also take a look at the README, there is a list of languages which already have translations.
- Fork this repo
- Make sure you set your browser to the language for which you want to add translations.
- Get the two-letter code for your language, for example, from Wikipedia.
- Copy one of the json files in src/locales and rename it to your two-letter code. You can also add a flag to the README.
- Translate all values in the json file. You can run the page from the console with
npm run start
. - Make sure you have no warnings or errors on localization in your console or on the page.
- Finally, you can create a pull request! 🎉