<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD LIGHTWEIGHT DITA Topic//EN" "topic.dtd">
<topic id="contributing_translations_for_new_labels_and_ui_text">
    <title>Contributing Translations for New Labels and UI Text</title>
    <body>
        <p>You may want your plugin's interaction with the end-user (dialog boxes, pop-up messages,
      etc.) to be properly translated in all <xref
        href="../topics/changing-user-interface-language.dita">user interface languages</xref>
      supported by <ph keyref="product"/>. The API method <xref
        href="https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/exml/workspace/api/standalone/StandalonePluginWorkspace.html#getResourceBundle--"
        format="html" scope="external"><i>StandalonePluginWorkspace.getResourceBundle()</i></xref>
      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 <b>translation.xml</b>, which needs to
      be placed in a folder called <b>i18n</b> in the plugin installation folder. The structure of
      the <b>translation.xml</b> file needs to look like this: <xref
        href="https://www.oxygenxml.com/doc/ug-editor/topics/contribute-new-languages-extension.html"
        format="html" scope="external"/>.</p>
    </body>
</topic>
