Language

The language section is used for all internal strings. It is possible to add any language.

[Language]
Active=auto
Current=auto
Default=en_US
:Map=
:ShowStringID=0
[Language en_US]
[Language sv_SE]

Active

The Active parameter is a semicolon-separated list of the supported languages. It is necessary to add the corresponding section for each language, see Language sections.

[Language]
Active=en_US;sv_SE;nb_NO;fi_FI

Values

<language tags>

Language tags are written with ISO 3166-1 alpha-2 and ISO 639-1 alpha-2 codes. For example en_US, sv_SE, nb_NO, or fi_FI. Separate the values by a semicolon.

Current

The Current parameter sets the current language. It can be set to auto to enable the current operating system language.

[Language]
Current=en_US

Default

The default language to use if it is not possible to automatically detect the language.

[Language]
Default=en_US

Map

ShowStringID

The ShowStringID parameter shows both the text string and its string ID in the UI.

String output

Different string types are displayed differently.

General strings, error and info message strings

For string type descriptions, see String ID format.

000229
Figure 1. General text string
000228
Figure 2. Error message string
String IDs below 1000, see Text string sections, only shows the text string and no string ID.

Multi-strings

Multi-strings are also shown in a different way since they must take the first non-empty part after variables are expanded. Multi-string is a semi-colon separated list, for example:

1239={upn};{issuer:2.5.4.10};{subject:2.5.4.10};{issuer:2.5.4.3};{token-number-string};{empty}

Language sections

[Language]
...
...
[Language en_US] (1)
[Language sv_SE] (2)
1 Section for the first language in the list.
2 Section for the second language in the list.

For more information about the language settings and the included text strings, see the specific language page in the navigation menu to the left.