Localization of Gluu Server Admin UI#
oxAuth contains the following resource bundles:
- oxauth_en.properties
- oxauth_bg.properties
- oxauth_de.properties
- oxauth_es.properties
- oxauth_fr.properties
- oxauth_it.properties
- oxauth_ru.properties
- oxauth_tr.properties
These properties files store the translatable text of the messages to be displayed. The default properties file, which is called oxauth_en.properties, contains the following lines:
.......
login.login=Login
login.register=Register
.......
.......
login.login=S'identifier
login.register=Registre
.......
How to apply localization in Gluu Server#
- Get your properties file named "oxauth_LANGUAGE.properties" and put it inside
/opt/gluu/jetty/oxauth/custom/i18n
- Add this language in Gluu Server's language setting:
JSON Configuration
>oxAuth Configuration
> Search foruiLocalesSupported
> Add new language as new "Item". - If you want to make this language as default, make sure to move it up at the top of supported language list.