Edit online

Contributing Translations for New Labels and UI Text

You may want your plugin's interaction with the end-user (dialog boxes, pop-up messages, etc.) to be properly translated in all user interface languages supported by Oxygen XML Editor. The API method StandalonePluginWorkspace.getResourceBundle() will allow you to pass message keys that will be resolved by the application to specific language-dependent values by looking at a file called translation.xml, which needs to be placed in a folder called i18n in the plugin installation folder. The structure of the translation.xml file needs to look like this: https://www.oxygenxml.com/doc/ug-editor/topics/contribute-new-languages-extension.html.