ingokegel / jclasslib

jclasslib bytecode editor is a tool that visualizes all aspects of compiled Java class files and the contained bytecode.
Other
2.66k stars 405 forks source link

Localizations wanted #36

Open ingokegel opened 4 years ago

ingokegel commented 4 years ago

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:

lakeslove commented 3 years ago

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

chenghongguo commented 3 years ago

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

ingokegel commented 2 years ago

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

kjarosh commented 2 years ago

Working on it!

BTW congrats on the 6.0, great work :)