joda-time
joda-time copied to clipboard
Add localization in more languages
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:
- Download this file: messages.properties.txt
- 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.)
- Rename the file as
messages_<ISO>.properties
, where<ISO>
is the 2-letter code for your language. - 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
- [x] Albanian (sq)
- [x] Basque (eu)
- [x] Bulgarian (bg)
- [x] Catalan (ca)
- [x] Chinese (zh)
- [x] Czech (cs)
- [x] Danish (da)
- [x] Dutch (nl)
- [x] Finnish (fi)
- [x] French (fr)
- [x] German (de)
- [x] Greek (el)
- [x] Hebrew (he / iw)
- [x] Hindi (hi)
- [x] Hungarian (hu)
- [x] Indonesian (id)
- [x] Irish (ga)
- [x] Italian (it)
- [x] Japanese (ja)
- [x] Kazakh (kk)
- [x] Malay (ms)
- [x] Norwegian (no)
- [x] Norwegian Norsk (nn)
- [x] Polish (pl)
- [x] Portuguese (pt)
- [x] Romanian (ro)
- [x] Russian (ru)
- [x] Slovak (sk)
- [x] Spanish (es)
- [x] Swedish (sv)
- [x] Turkish (tr)
- [x] Ukrainian (uk)
Thanks for this - I will merge language update PRs
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