Skip to main content

Pseudo Translation for software localization

Software localization with XML-files

In software localization, language relevant contents of XML files often have to be translated. The technical translation should only be done for certain parts of the XML file, other parts have to remain unchanged and should therefore be protected by the CAT tool from editing.

This is done via the correct configuration of an import filter for the respective file format. The import filter can be tested effectively using Pseudo Translation.

A correctly configured import filter is important to obtain a valid XML file after successful translation. Detailed information on this topic can be found in the article Pseudolocalization on Wikipedia.

Pseudo Translation in the CAT Tool

Pseudo Translation simulates a translation by generating an easily recognizable altered version of the original text instead of translated text. This garbled text is inserted in the CAT tool instead of the translated text. The file prepared in this way is then exported. In the exported file you can easily see which texts can be edited in the CAT tool and which texts are protected from editing.

Use of Pseudo Translation at PRODOC

We use pseudo-translation for software localization and website translation with WordPress and WPML.

First translation test of the XML file with Pseudo Translation

Software localization with Pseudo Translation

Do you have software in proprietary formats that you want to localize? With Pseudo Translation and memoQ we have been able to translate all customer-specific formats so far!

Request Info
Dipl.-Ing. Stefan Weimar

Dipl.-Ing. Stefan Weimar

Managing Director

Example filter configuration with Pseudo Translation

Original file before Pseudo Translation

You can see an XML file in the following example.

On the left is the original, on the right the part of the text that has to be translated is marked in yellow.

It is very easy to recognize what has to be translated:

  • The content of the name tag
  • Some of the CDATA framed texts within the text tag, but not all of them

XML file “translated” with Pseudo Translation

We exclusively use the CAT tool memoQ from Kilgray to translate XML files. It offers a freely configurable import filter, as well as the option to test filter configurations with the use of Pseudo Translation.

A translation can be simulated using the Pseudo Translation feature of memoQ.

In the first step we have used the standard memoQ XML filter for import. The edited texts were then translated using Pseudo Translation and the file was exported again.

The effect of the Pseudo Translation can be clearly seen in the comparative image above:

Texts, which can be edited in memoQ, are labelled with # at the beginning and $ at the end. There is illegible gibberish with a number of special characters between these.

The text for editing can therefore be easily recognized and in the example we see that the node tags within the CDATA elements are translated with the text.

This is, however, not intentional in this case.

Adaptation of the import filter for optimal results

Process for filter adaptation

Now we have to consider how to adapt the memoQ import filter in such a way that the desired result is attained.

There are three parameters for doing this:

  • Filter options for the XML filter
  • Cascading Filters – several filters connected in series
  • Regex Tagger – protection of certain strings against editing

The effect of these three parameters is more closely examined in a special article on XML filter configuration.

Result of the correct filter configuration

In the example we used a cascading filter to protect the node tags against editing using a downstream HTML filter.

The result looks like this:

Now all parts of the XML file, which must not be edited, are protected by the specially adapted XML import filter from memoQ.

Translate special file formats

We sometimes ask for the translation of XML data with embedded HTML. PRODOC has created its own filter for this purpose. Precisely that what has to be translated is translated and we get valid XML files back!

Marketing employee at Leuze electronic
Request Info

More information on Pseudo Translation

Application examples for the localization of XML files can be found on our homepage under Industry 4.0

The following video shows how to use the Pseudo Translation function for the configuration of the import filter in memoQ:

  • Fields marked with * are mandatory fields and are required for us to process your request.
    Of course your entries are subject to the data protection regulation - see data protection

In order to optimize our website for you and to continuously improve it, we use cookies. By continuing to use the website, you consent to the use of cookies. Further information on cookies can be found in our Privacy Statement