Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel3

...

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

messages_cs.properties

2020-02-13

de

German

messages_de.properties

2020-02-13

de_CH

German (Switzerland)

messages_de_CH.properties

2020-02-13

el

Greek

messages_el.properties

2022-07-12

es

Spanish

messages_es.properties

2018-10-25

es_ES

Spanish (Spain)

messages_es_ES.properties

2018-11-01

fr

French

messages_fr.properties

2021-05-26

it

Italian

messages_it.properties

2020-02-13

ja

Japanese

messages_ja.properties

2020-02-12

nl

Dutch

messages_nl.properties

2020-02-13

pl

Polish

messages_pl.properties

2021-05-26

tr

Turkish

messages_tr.properties

2021-05-26

zh_CN

Chinese, Simplified

messages_zh_CN.properties

2020-02-14

...