Skip to content

Localization

sk89q edited this page Feb 21, 2015 · 2 revisions

If you wish to localize the launcher, simply edit the launcher files.

The launcher uses Java's localization system, which does permit multiple languages. If you only plan to support one language, you can just edit the existing language file.

If you plan on supporting multiple languages, this is untested, but theoretically you can affix the language code after the filename (i.e. Launcher_de.properties or Launcher_fr.properties) and Java should detect the correct one, falling back to the existing file if there is no language file for the user's language.

Times, dates, and other numbers should automatically be localized based on the user's system language.

Encoding

Be aware that, at the moment, the launcher loads language files using the ISO-8859-1 encoding, which covers only a subset of world languages.

If your language is covered, remember to save the file as ISO-8859-1 and not UTF-8.

If yours is not, please request a feature to set the encoding.

Clone this wiki locally