- Checkout to a new branch for your locale say
git checkout -b hi
- Make a copy of folder
en
and rename it as new locale e.ghi
- Translate all or keys which are required in file
translation.json
which should be insideYOUR_LOCALE/translation.json
- Once done, commit you changes push to the branch and make a PR to
main
branch.
- Keys should be always lowercase and snake cased
- Keys should atmost have 4 words
- You can take help and name folder as country code link
- In case country is present in above link, use respective country code from any other source.
- English (en)
- French (fr)
- Korean (ko)
- Spanish (es)