jclasslib icon indicating copy to clipboard operation
jclasslib copied to clipboard

Localizations wanted

Open ingokegel opened this issue 4 years ago • 4 comments

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:

  1. Copy the file Browser.properties to Browser_zh_CN.properties, with the appropriate locale code in the file name.
  2. 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.
  3. Add an enum constant in the SupportedLocale class for the new locale.
  4. Test by running the bytecode viewer run configuration in IntelliJ IDEA.
  5. Send me a pull request

Thank you! :green_heart:

ingokegel avatar Apr 20 '20 15:04 ingokegel

Make a drop-down list of languages for users to choose

lakeslove avatar Mar 21 '21 18:03 lakeslove

Make a drop-down list of languages for users to choose

chenghongguo avatar May 16 '21 02:05 chenghongguo

@enihsyou @kjarosh 6.0 is out now and has quite a few new messages. It would be great if you could update them.

ingokegel avatar Jul 09 '21 15:07 ingokegel

Working on it!

BTW congrats on the 6.0, great work :)

kjarosh avatar Jul 09 '21 21:07 kjarosh