1 Language files
GeorgH93 edited this page 2019-05-09 02:13:37 +02:00

All messages shown by the plugin to the user can be configured via the language file.

Setting the language:

To define the language used by the plugin (set the language file that should be used) open the config.yml in the plugins data directory and search for the Language block.

Language:
  # Defines the used language and the corresponding file used. The corresponding language file will be placed in the lang folder next to the config.yml named: <Language>.yml
  Language: en
  # Options:
  #     Overwrite (deletes all changes from the file and extracts a new language file)
  #     Upgrade (extracts a new language file and copy's all settings from the old language file)
  #     Update (adds the default (english) text values for all missing values, just some basic formatting)
  UpdateMode: Upgrade

Editing a language file:

You can edit the language file a text editor (Notepad++ recommended for Windows user). The file encoding should be kept at UTF-8 for best compatibility.

Alternative we provide a tool that helps you modify the language file easier and also supports all the JSON message features of the plugin. It is a JavaScript app running in your browser, no install required. Plugin Translation Page