This article explains how to customize the localization of the wiki article pages.
Overview
By default the article pages are localized in English[1]
The localization concerns texts which are automatically generated by the tool, such as in the menus for example. Of course the content of the articles can be in any language
. However it is possible to change the localization in the configuration file.
There are two ways to specify the localization:
By specifying a built-in language name for the "localization" property
By specifying the path to a property file which will contain the texts localization
Supported built-in language names
The built-in supported language names are:
"en": English
"fr": French
"de": German
"es": Spanish
"it": Italian
"ru": Russian
To specify a built-in language, just set the language name for the property in the configuration file. For example:
localization=de
Custom localization
To specify a custom localization, set the path for a properties File containing the texts localizations[2]
This property file will be relative to the configuration property file
. For example:
localization=localization.properties
Custom localization properties
The names of the properties in the custom localization properties file are the identifiers for the texts used in the tool. These tags are:
The "locale" and "language" properties allow to get the locale and the language used by the wiki.
Notes
^ The localization concerns texts which are automatically generated by the tool, such as in the menus for example. Of course the content of the articles can be in any language
^ This property file will be relative to the configuration property file
See also
Configuration file: It is possible to define an optional property / value configuration file when starting the application (using the graphical UI or the command line)