Localizations wanted
ingokegel opened this issue · 4 comments
ingokegel commented
Currently, jclasslib is localized into German, Simplified Chinese and Polish.
I'm looking for further localizations. If you are interested, please comment on this issue.
The localization process is as follows:
- Copy the file
Browser.properties
toBrowser_zh_CN.properties
, with the appropriate locale code in the file name. - Translate all messages in the copied file. The following rules apply:
- Placeholders like
{0}
must be preserved. - Directives in placeholders like
{0,number,integer}
must not be translated. - For choice formats like
{0,choice,1#class was|1<classes were}
, the numbers describe limits for the associated numerical placeholder and the text after the#
characters must be translated to form grammatically correct sentences. - Messages starting with
key.
include technical terms that may not have to be fully translated. - Line break characters
\n
should be included in the same place and frequency in the translated message. - Messages that end with a colon
:
are located before a UI element. In the translation, add an appropriate character (or none) for all messages consistently.
- Placeholders like
- Add an enum constant in the
SupportedLocale
class for the new locale. - Test by running the
bytecode viewer
run configuration in IntelliJ IDEA. - Send me a pull request
Thank you! 💚
lakeslove commented
Make a drop-down list of languages for users to choose
chenghongguo commented
Make a drop-down list of languages for users to choose
ingokegel commented
kjarosh commented
Working on it!
BTW congrats on the 6.0, great work :)