Table of Contents | ||
---|---|---|
|
...
To e.g. create a German translation of the IdP's error messages strings, copy the default (US English) messages file, to a file named messages_de.properties (see also error messages configuration) and translate/adapt the strings in the new properties file. For example, translate the string idp.title.suffix = Error
to idp.title.suffix = Fehler
The IdP will select the correct a language file based on the locale of the browser without additional configuration. Note that Spring (and by extension the IdP) does not support a precedence of languages to fall back to, so the support for full i18n is constrained by that limitation. Also, note that if the browser does not specify a locale to use, the OS default will generally dictate what is selected, so this may or may not be the right answer.
In addition to the default use of the filenames noted above, you can freely change the message files used in conf/services.xml if you prefer that.
...
Language Code | Language | File Download | Last Update |
cs | Czech | 2020-02-13 | |
de | German | 2020-02-13 | |
de_CH | German (Switzerland) | 2020-02-13 | |
el | Greek | 2022-07-12 | |
es | Spanish | 2018-10-25 | |
es_ES | Spanish (Spain) | 2018-11-01 | |
fr | French | 2021-05-26 | |
it | Italian | 2020-02-13 | |
ja | Japanese | 2020-02-12 | |
nl | Dutch | 2020-02-13 | |
pl | Polish | 2021-05-26 | |
tr | Turkish | 2021-05-26 | |
zh_CN | Chinese, Simplified | 2020-02-14 |
...