Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add localization in more languages #643

Open
32 of 46 tasks
hb20007 opened this issue Sep 30, 2022 · 2 comments
Open
32 of 46 tasks

Add localization in more languages #643

hb20007 opened this issue Sep 30, 2022 · 2 comments
Labels

Comments

@hb20007
Copy link
Contributor

hb20007 commented Sep 30, 2022

I am opening this issue to track the localization to all locales supported by Java.

To contribute a new translation, you need to do the following:

  1. Download this file: messages.properties.txt
  2. Translate the values of the properties. (If the translation to your language is not straightforward, refer to the documentation for tips on using Regular expressions. If your target language includes non-Latin characters, use Unicode escapes for non-ASCII characters or ask here for help.)
  3. Rename the file as messages_<ISO>.properties, where <ISO> is the 2-letter code for your language.
  4. Add your file to the path /src/main/java/org/joda/time/format/ and create a pull request.

(If you are not sure about how to do step 4, you can upload the file here instead and someone else can do it.)

PS: The motivation for this effort comes from the fact that joda-time is currently used by lichess.org, one of the most popular internet chess servers in the world.

To Do

  • Arabic (ar)
  • Belarusian (be)
  • Croatian (hr)
  • Estonian (et)
  • Icelandic (is)
  • Korean (ko)
  • Latvian (lv)
  • Lithuanian (lt)
  • Macedonian (mk)
  • Maltese (mt)
  • Serbian (sr)
  • Slovenian (sl)
  • Thai (th)
  • Vietnamese (vi)

Translated

  • Albanian (sq)
  • Basque (eu)
  • Bulgarian (bg)
  • Catalan (ca)
  • Chinese (zh)
  • Czech (cs)
  • Danish (da)
  • Dutch (nl)
  • Finnish (fi)
  • French (fr)
  • German (de)
  • Greek (el)
  • Hebrew (he / iw)
  • Hindi (hi)
  • Hungarian (hu)
  • Indonesian (id)
  • Irish (ga)
  • Italian (it)
  • Japanese (ja)
  • Kazakh (kk)
  • Malay (ms)
  • Norwegian (no)
  • Norwegian Norsk (nn)
  • Polish (pl)
  • Portuguese (pt)
  • Romanian (ro)
  • Russian (ru)
  • Slovak (sk)
  • Spanish (es)
  • Swedish (sv)
  • Turkish (tr)
  • Ukrainian (uk)
@jodastephen
Copy link
Member

Thanks for this - I will merge language update PRs

@jodastephen
Copy link
Member

For anyone arriving at this page and not aware, please note that the translation must use Unicode escapes. Here is a typical (correct) file. https://github.com/JodaOrg/joda-time/blob/main/src/main/java/org/joda/time/format/messages_da.properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants