Contribute Additional Languages Plugin Extension
This type of plugin allows you to contribute new translation languages to the Oxygen XML Editor UI.
The AdditionalUITranslation plugin extension provides the ability to contribute new translation languages to the interface in Oxygen XML Editor.
A sample plugin.xml file looks like
this:
<plugin
id="romanian.i18n.provider"
name="Add Romanian as an user interface language"
description="Add Romanian as an user interface language"
version="1.0"
vendor="Syncro Soft"
class="ro.sync.exml.plugin.Plugin">
<extension type="AdditionalUITranslation" href="translation.xml"/>
</plugin>
where the translation.xml has a structure like
this:
<translation>
<languageList>
<language description="Romanian" lang="ro_RO" localeDescription="Romana"/>
</languageList>
<key value="Error">
<val lang="ro_RO">Eroare</val>
</key>
...........................
</translation>
If all error keys are not translated in the custom translation.xml contributed by the plugin, the fallback is the default English translation. Once this plugin is installed, the Languages drop-down menu in the will be updated to include the newly added languages. The end-user will still need to select that language in the drop-down menu to use it.