Skip to main content
Known Participant
Oct 5, 2021 2:16 PM UTC
Answered

Translation Feature doesn't work normally

I am using the latest version of RH. I tried to use the built-in functionality for documentation localization and, without surprise, once again made sure that it did not work properly.

При импорте xliff файлов большая часть переведенного текста пропадает и не может быть найдена в переведенных документах.

This topic is closed to new replies. Start a new post to keep the conversation going.
Stefan GentzCorrect answer
Legend
Oct 5, 2021 6:59 PM UTC

Exactly. See the answer I just posted here. (Our posts crossed.)

42 replies

Jeff_Coatsworth
Community Expert
Community Expert
Oct 5, 2021 2:33 PM UTC

Have you confirmed that you're doing this process correctly? I don't deal with localization, but don't recall anyone reporting that something wasn't working with it.

Translate
AndreyGlAuthor
Known Participant
Oct 5, 2021 3:12 PM UTC

There are more things in heaven and earth, Horatio,

Than are dreamt of in your philosophy.

 

 

Translate
AndreyGlAuthor
Known Participant
Oct 5, 2021 2:20 PM UTC

When importing xliff files, most of the translated text disappears and cannot be found in translated documents.

Translate
Legend
Oct 5, 2021 3:16 PM UTC

To exlude that the XLIFF file was not completely or not correctly translated, you can open the translated XLIFF file in a simple text editor like Notepadd++ and scroll to the end. There you will find the translation units.

If the CAT tool the translator is using works correctly (or is configured correctly), than all <trans-units> should have a source element, the <seg-source> element with all the source language segments (<mrk> elements), and the <target> element with all the corresponding <mrk> elements with the translations.

It looks like this (simplified for better readability):

<trans-unit id= "1">
    <source>This is the first sentence. This is the second sentence.</source>
    <seg-source>
        <mrk mtype="seg" mid="1">This is the first sentence.</mrk>
        <mrk mtype="seg" mid="2">This is the second sentence.</mrk>
    </seg-source>
    <target>
        <mrk mtype="seg" mid="1">Это первое предложение.</mrk>
        <mrk mtype="seg" mid="2">Это второе предложение.</mrk>
    </target>
</trans-unit> 

 

Can you please check this and post a screenshot or te code from your translated XLIFF file?

Translate
AndreyGlAuthor
Known Participant
Oct 5, 2021 4:42 PM UTC

 

Translate