Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Translate resource bundles #531
These properties files store the translatable text of the messages to be displayed.
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 oxTrust the oxtrust_fr.properties 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 oxTrust fetches the translated text.
To add translation for not yet supported languages, just create new properties file in resource folder and name it oxtrust_[language_code].properties, then make sure that values to the right side of the equal sign have been translated.