Giter Club home page Giter Club logo

kinde-translations's Introduction

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.

kinde-translations's People

Contributors

5thattemptcode avatar akubima avatar bnhovde avatar boai1 avatar danielrivers avatar daveordead avatar dependabot[bot] avatar evgenyk avatar farshad-nejati avatar hugocl avatar johhorn avatar kirinyoku avatar kk4w4i avatar leo77534 avatar marcomow avatar mininotallarines avatar mohammadsyuhada avatar murbanowicz avatar nip10 avatar onderay avatar paqstd-dev avatar passatgt avatar patsy101 avatar rairaman avatar theplay3r avatar umuthopeyildirim avatar uzumakos avatar viv-kinde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

kinde-translations's Issues

Feature request: PR validator should only run against changed files

Prerequisites

What is the problem you’re trying to solve?

It's inevitable that some files will fall behind as new features are introduced to the app.

At the moment French is lagging behind which is causing all PRs to look like they are failing. We need to update the validator that runs on GH to just run against changed files / those affected by the PR.

It is still worth keeping the check that runs against all files in the codebase for local checking, so adding another script would be awesome

What solution would you like to see?

An additional script that runs validation against changed files only in the GH action

Additional information

No response

Feature request: Support for Korean?

Prerequisites

What is the problem you’re trying to solve?

Can you support Korean for sign in or login? I would be down to translate on your behalf.

What solution would you like to see?

Can you support Korean for sign in or login? I would be down to translate on your behalf.

Additional information

No response

Bug: 'password_input_error_incorrect' not being used in login screen

Prerequisites

Describe the issue

I saw that in the files the password_input_error_incorrect string is translated to Polish, but it looks like it is not actually used.
image
As you can see, I have my login page in Polish, but the invalid password text is still in english.

Library URL

https://github.com/kinde-oss/kinde-auth-nextjs

Library version

2.2.10

Operating system(s)

Windows

Operating system version(s)

Windows 11 Pro 23H2 + WSL Ubuntu 22.04.3 LTS

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

Bug: No translation when users tries to sign in to an organization they don't have access to.

Prerequisites

Describe the issue

When trying to sign in to an organization a user doesn't have access to, you get the following page:
image

It should be translated, but it isn't. What is interesting it that I couldn't find the translation entry even in the english json file in this repository.

Library URL

https://github.com/kinde-oss/kinde-translations

Library version

latest (14.11.2023)

Operating system(s)

macOS

Operating system version(s)

macOS Sonoma

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

Feature request: name order

Prerequisites

What is the problem you’re trying to solve?

Hi! I'm working on the Hungarian translation. In Hungary we use the easter name order, so family name(last name) comes first, and then given name(first name). Source: https://en.wikipedia.org/wiki/Personal_name#Eastern_name_order

Would be nice to support this, because it affects other languages too, for example Japanese.

What solution would you like to see?

Respect the name order based on the language. If there was a way to add custom CSS to the signup page, i could flip the fields using CSS, but this is not ideal due to accessibility reasons(pressing tab goes to wrong field). So ideally it would actually flip the fields in source on language change.

Additional information

Tricky, i know.. sorry

Bug: French is failing schema validation due to missing values

Prerequisites

Describe the issue

Several keys missing from French translation file

Library URL

https://github.com/kinde-oss/kinde-translations

Library version

1

Operating system(s)

macOS

Operating system version(s)

N/A

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.