redhat-developer / vscode-java

Java Language Support for Visual Studio Code
Eclipse Public License 2.0
2.07k stars 427 forks source link

Chinese Language Support #716

Open akaroml opened 5 years ago

akaroml commented 5 years ago

We have lots of Chinese developers. It would be great if we can provide a localized interface. This issue is to track the effort of building the localization story. Supporting Chinese is a start. Once the solution is working, we can expand the support to other languages.

rgrunber commented 2 years ago

https://github.com/redhat-developer/vscode-java/pull/2027 is a step in the right direction, although there's plenty of instances of messages displayed to a user in typescript files that could be internationalized.

For strings on the JDT-LS side, we would just need take any "*.properties" and produce one for Chinese. If the file lives under 'corext' and came from JDT, there's a good chance we could use an existing one from https://download.eclipse.org/technology/babel/babel_language_packs/latest/index.php#zh . We'd have to package those plugins as part of JDT-LS though.

From there, simply passing -Dosgi.nl=zh to vmargs should work.