Help Translate Compiler Diagnostic Messages

If you want to contribute to the OpenJDK compiler by translating diagnostic messages to your native language, please contact the persons listed below. If your language is not included below, please send an email to the compiler-dev mailing list. Please provide the XML code for writing the name of your language in that language using only US ASCII, and XML character references (&#nnnn; or &#xnnnn; notation). Also let us know if we can include your email address below.

French — Français
Rémi Forax
Persian — فارسی
Pooyan Mahdavi
Polish — Polski
Oskar Świda
Russian — Русский
Victor Rudometov
Spanish(Latin America) — Español(América Latina)
Alejandro Narancio
Alejandro Montenegro
Spanish(Spain) — Español(España)
Alexander Hristov

The following translations are provided by Sun Microsystems, Inc.:

Japanese
compiler_ja.properties
javac_ja.properties.
Simplified Chinese (Mandarin) — 简体字
compiler_zh_CN.properties
javac_zh_CN.properties.

What to Translate

The compiler is internationalized and all its diagnostic messages are in one of two files:

compiler.properties
This file contains all the warning and error messages.
javac.properties
This file contains the messages that are used to for usage information (errors in the command line or the output of -help and -X).

API documentation (javadoc) is translated by a community effort on doc.java.sun.com. We are investigating if it is possible to include resource files in that effort as well.

We are currently not able to accept translations of guides.

How to translate

Make a copy of the files compiler.properties and javac.properties following the conventions described in the on-line article Java Internationalization: Localization with ResourceBundles.

When translating, make sure to use an editor that supports saving in an encoding that is supported by native2ascii. Once the translation is complete, run it through native2ascii and submit the result as described below.

If you are updating an existing translation, you can use the -reverse option of native2ascii.

How to Submit your Translations

Mostly, you need to follow the general guidelines for how to contribute to the OpenJDK project. You do not have to worry about a bug ID for translations. You will also need to provide the name of a reviewer who is fluent in both the English language and the language you have translated to. We also need to know the version number of the file you translated (use the build number).