Selecting User Language: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Fixed the new workaround)
Line 20: Line 20:
* Run MapTool via java on the command line to set the locale/language to English or another supported language:
* Run MapTool via java on the command line to set the locale/language to English or another supported language:
: <code>java -Duser.country=US -Duser.language=en -jar MapTool-1.5.6.jar </code>
: <code>java -Duser.country=US -Duser.language=en -jar MapTool-1.5.6.jar </code>
* An alternate way to force the language at startup is to add a line to the jvmuserargs.cfg file.  
* An alternate way to force the language at startup is to add a line to the jvmuserargs.cfg file. On windows, this file is located at <code>C:\Users\username\AppData\Roaming\net.rptools.maptool.client\packager\jvmuserargs.cfg</code>. Once open in your editor, add on a new line:
: On windows, this file is located at <code>C:\Users\username\AppData\Roaming\net.rptools.maptool.client\packager\jvmuserargs.cfg</code>
: <code>-Duser.language\==en</code>


==See Also==
==See Also==

Revision as of 00:57, 12 November 2019

MapTool attempts to detect the local OS's locale and select the appropriate language upon installation. To change the default language on your installation, there is a Language Override setting in the MapTool Preferences.

The MapTool community has translated the user interface into the following languages:

  • English
  • Italian
  • Polish
  • French
  • Russian
  • Chinese
  • German
  • Spanish
  • Japanese

Adding Languages

MapTool is open source and depends on its community of users to make it available in more languages. If you are interested in translation for MapTool (or TokenTool) or the RPTools Wiki, reach out on the RPTools Forum and the #internationalization-and-localization channel on the MapTool Discord.

Known Language-related MapTool Errors

If your computer's locale/language settings don't correspond to a supported language, you may experience an error when running MapTool. To bypass this issue, you can try one of these workarounds:

  • Set your OS's locale and language to one of the supported languages before running MapTool.
  • Run MapTool via java on the command line to set the locale/language to English or another supported language:
java -Duser.country=US -Duser.language=en -jar MapTool-1.5.6.jar
  • An alternate way to force the language at startup is to add a line to the jvmuserargs.cfg file. On windows, this file is located at C:\Users\username\AppData\Roaming\net.rptools.maptool.client\packager\jvmuserargs.cfg. Once open in your editor, add on a new line:
-Duser.language\==en

See Also