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

Localizations wanted #36

Open
ingokegel opened this issue Apr 20, 2020 · 4 comments
Open

Localizations wanted #36

ingokegel opened this issue Apr 20, 2020 · 4 comments

Comments

@ingokegel
Copy link
Owner

ingokegel commented Apr 20, 2020

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! 💚

@ingokegel ingokegel pinned this issue Apr 24, 2020
enihsyou added a commit to enihsyou/jclasslib that referenced this issue Jul 21, 2020
Technical term mainly refers to
- Java虚拟机规范(Java SE 8版)[ISBN: 9787111501596]
- 深入理解Java虚拟机(第3版)[ISBN: 9787111641247]
enihsyou added a commit to enihsyou/jclasslib that referenced this issue Jul 21, 2020
Technical term mainly refers to these books:
- Java虚拟机规范(Java SE 8版)[ISBN: 9787111501596]
- 深入理解Java虚拟机(第3版)[ISBN: 9787111641247]
kjarosh added a commit to kjarosh/jclasslib that referenced this issue Jan 27, 2021
kjarosh added a commit to kjarosh/jclasslib that referenced this issue Jan 27, 2021
@lakeslove
Copy link

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

1 similar comment
@chenghongguo
Copy link

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

@ingokegel
Copy link
Owner Author

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

@kjarosh
Copy link
Contributor

kjarosh commented Jul 9, 2021

Working on it!

BTW congrats on the 6.0, great work :)

kjarosh added a commit to kjarosh/jclasslib that referenced this issue Jul 9, 2021
* Add Polish translations for missing strings
* Rename `since.0` to `access.flag.since.0` because in Polish this translation depends on the gender of the subject (feminine in this case)
* Add `no.compatible.opcode` translation
* Add `access.flag.historical` translation
kjarosh added a commit to kjarosh/jclasslib that referenced this issue Jul 9, 2021
* Add Polish translations for missing strings
* Rename `since.0` to `access.flag.since.0` because in Polish this translation depends on the gender of the subject (feminine in this case)
* Add `no.compatible.opcode` translation
* Add `access.flag.historical` translation
kjarosh added a commit to kjarosh/jclasslib that referenced this issue Jul 9, 2021
* Add Polish translations for missing strings
* Rename `since.0` to `access.flag.since.0` because in Polish this translation depends on the gender of the subject (feminine in this case)
* Add `no.compatible.opcode` translation
* Add `access.flag.historical` translation
* Add `historical` param to `AccessFlag`
kjarosh added a commit to kjarosh/jclasslib that referenced this issue Jul 10, 2021
* Add Polish translations for missing strings
* Rename `since.0` to `access.flag.since.0` because in Polish this translation depends on the gender of the subject (feminine in this case)
* Add `no.compatible.opcode` translation
* Add `access.flag.historical` translation
* Add `historical` param to `AccessFlag`
enihsyou added a commit to enihsyou/jclasslib that referenced this issue Jul 17, 2021
ingokegel pushed a commit that referenced this issue Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants