Topics

New Oxygen add-on to help translators


Radu Coravu
 

Hi everyone,

Over the course of this summer one of our interns, Mircea Badoi, worked on a free Oxygen XML add-on designed to help translating XML content.

Starting from yesterday, the add-on is available for Oxygen vesions 21.1 or newer in our default add-on repository. If you want to install it, you can use the Oxygen main menu "Help->Install new add-ons", choose the default Oxygen add-on update site and you will find an add-on named "Translator Helper (Experimental)" in the list.

The add-on has two main features:

  1. You can translate content using Google Translate to various languages:
    • Select the content to translate in the Author visual editing mode. You can also select the entire document contents. DITA topics are small so you can select the entire topic contents.
    • Right click. Select "Google Translate into" and choose the target language.
    • Copy the translated content from the opened web page.
    • Click Replace in the Oxygen Translate using Google Translate dialog that showed up. The original content should now be replaced with the translated content, the original element structure and attributes should remain unchanged.
    • In addition you can choose to show the original document content in the Translator Helper side view. This will allow you to correct the translation further by looking at the original text and the translated text side by side.
  2. You can see the original content side by side with the content that you are translating, so you can translate correctly and easy by right clicking in the Author visual editing mode and invoking the Show current content in side view action.

So I hope you will enjoy the add-on, if you have questions or improvement requests, they are as usual welcomed. One area in which the plugin may be useful is for example if you want to quickly demo to a customer how a topic written in English would look like in other languages like Japanese Chinese, French, German, Russian, etc.

Regards,

Radu

Radu Coravu
Oxygen XML Editor


Jonathan Hanna
 

Hi Radu,

Thank you for bringing this great feature to our attention! I just tried using it and was able to get it to work when selecting all the content in a topic or all the content in a section. However, theĀ Translation using Google Translate dialog does not show up when I select only a single block of text (such as all the text in a <p> element). Is that the intended behavior or is there a bug?

Regards,
Jonathan


Radu Coravu
 

Hi Jonathan,

Thanks for the feedback, we considered that if the end user selects plain text, without any XML tags, and translates it there would be no need to show the extra dialog with the "Replace" button, they can just paste the translated text over the selection. That dialog allowing you to replace the translated content is handy if the initial content contains various XML elements so the translated content needs to be massaged back in the original XML structure.

Regards,
Radu
Radu Coravu
Oxygen XML Editor
On 9/3/20 6:37 PM, Jonathan Hanna wrote:

Hi Radu,

Thank you for bringing this great feature to our attention! I just tried using it and was able to get it to work when selecting all the content in a topic or all the content in a section. However, theĀ Translation using Google Translate dialog does not show up when I select only a single block of text (such as all the text in a <p> element). Is that the intended behavior or is there a bug?

Regards,
Jonathan