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 oxauth_en.properties, 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 oxauth_fr.properties should contains these lines:
....... login.login=Login login.register=Register .......
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.
....... login.login=S'identifier login.register=Registre .......
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.