Skip to content

Localization of Gluu Server Admin UI#

oxAuth contains the following resource bundles:

These properties files store the translatable text of the messages to be displayed. The default properties file, which is called, contains the following lines:

Now that the messages are in a properties file, they can be translated into various languages. No changes to the source code are required. For example to use the French version of the oxAuth the should contains these lines:
Notice that the values to the right side of the equal sign have been translated but that the keys on the left side have not been changed. These keys must not change, because they will be referenced when oxAuth fetches the translated text.

To add translation for not yet supported languages, just create new properties file in resource folder and name it messages_[language_code].properties, then add language code as supported-locale to the faces-config.xml.