Skip to content

Ch1nzo/kinde-translations

 
 

Repository files navigation

Kinde Translations

This repo contains all the translation files for Kinde public facing screens e.g auth flows

PRs Welcome Kinde Docs Kinde Community

Contributing new languages

We love contributions, if you're keen to get your language supported by Kinde, here are the steps to do so:

  1. Fork this repo.

  2. Please create a new directory named the languages code ( codes can be found in the table below).

For example, if you were adding Amharic you would do so in a new directory called am.

  1. Copy our base auth.json from en into your new directory and update translations for all relevant values.

Where you see ${some_text} this is variable text our system automatically generates, you do not need to translate it, but need to include the variable in the correct order in your translation.

  1. Validate your file(s) using the following steps:

    1. Run npm run validate which will check all files against our json schema to make sure all keys are accounted for.
    2. Run npm run validate --file=en/auth.json to check a single file.
  2. Once you have completed translating the preferred language (e.g.en/auth.json) and passed validation checks, please mark it as done by copying this checkmark (✅) and placing it in the "Status" column of the table for your translated language in the README.md file.

  3. Make a PR from your fork back to this repo. In the PR comment, under Explain your changes, describe what language you added, changed, or fixed. Additionally, please describe briefly your experiences with translation (e.g. links to previous work).

  4. When in doubt, please refer to Kinde’s contributing guidelines.

Language codes

Language tag (BCP 47) English name Status
af Afrikaans
am Amharic
ar Arabic
ar-001 Modern Standard Arabic
az Azerbaijani
bg Bulgarian
bn Bangla
bs Bosnian
ca Catalan
cs Czech
cy Welsh
da Danish
de German
el Greek
en English
en-AU Australian English
en-GB British English
en-US American English
es Spanish
es-419 Latin American Spanish
es-ES European Spanish
et Estonian
eu-ES Basque
fa Persian
fi Finnish
fil Filipino
fr French
fr-CA Canadian French
gl-ES Galician
gu Gujarati
he Hebrew
hi Hindi
hr Croatian
ht Haitian Creole
hu Hungarian
hy Armenian
id Indonesian
is Icelandic
it Italian
ja Japanese
ka Georgian
kk Kazakh
km Khmer
kn Kannada
ko Korean
ky Kyrgyz
lo Lao
lt Lithuanian
lv Latvian
mk Macedonian
ml Malayalam
mn Mongolian
mr Marathi
ms Malay
my Burmese
ne Nepali
nl Dutch
nl-BE Dutch Belgium
nl-BR Flemish
nn Norwegian Nynorsk
no Norwegian Bokmål
pa Punjabi
pl Polish
pt Portuguese
pt-BR Brazilian Portuguese
pt-PT European Portuguese
ro Romanian
ru Russian
si Sinhala
sk Slovak
sl Slovenian
sq Albanian
sr Serbian
sv Swedish
sw Swahili
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
zh Chinese
zh-Hans Simplified Chinese
zh-Hant Traditional Chinese
zu Zulu

Validating JSON Files

You can validate your auth.json file(s) locally using npm run validate-json in terminal. Please follow these steps to ensure your files are correctly validated:

Prerequisites:

  • Ensure you have Python 3 installed on your system. You can download it from python.org.

Installing Dependencies:

  1. Open your terminal.
  2. Use pip3 to install the jsonschema package by running the following command:
    pip3 install jsonschema

Publishing

The core team handles publishing.

License

By contributing to Kinde, you agree that your contributions will be licensed under its MIT License.

About

Translations for Kinde public facing screens

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.5%
  • Shell 2.5%