Forum Stats

  • 3,757,792 Users
  • 2,251,266 Discussions
  • 7,869,916 Comments

Discussions

P-TRACK: Problem with XLIFF translation file import

Joerg
Joerg Member Posts: 26 Blue Ribbon
edited Oct 14, 2020 8:01AM in Packaged Applications

Hello!

Using APEX-Version 19.2.

I am trying to import a xlf file (which has translations to German language) into P-Track packaged application .

Wenn using the wohle 1.5 MB file an error is shown during the "Apply Checked"-step.


When I use a shorter one just a few items seems to work - no errors.

See files attached.(changed extension xlf to txt due to forum restrictions):

File: f111_791_en_de_4Import.txt is the one that gives the error.


The questions:

----------------- 

How can I find out what the error is? In APEX_DEBUG_MESSAGES I could not find an error.

Is it a problem to have also transleted the Englisch text inside the trans-unit?

<trans-unit id="S-5-10-111">

<source>Projektzeitleiste</source>

<target>Projektzeitleiste</target>

</trans-unit>



Details:

---------- 

I translated it with the DeepL.com-Service.

The header and footer-parts where left untouched and the source and target-tags where also translated, but afterwards I replaced the German word for source (=Quelle) back into the Englisch.

The only problem I might see is, that the text in the "source"-tag is also translated into German. But I hope that is not a problem, because each unit has it's own trans-unit id ...



Here is a small version of then xlf-file which shows no error during import.

-------------- 

<?xml version="1.0" encoding="UTF-8"?>

<!-- 

 ****************** 

 ** Source   : 111

 ** Source Lang: en

 ** Target   : 791

 ** Target Lang: de

 ** Filename:   f111_791_en_de.xlf

 ** Generated By: ADMIN

 ** Date:     06-OCT-2020 16:53:45

 ****************** 

 -->

<xliff version="1.0">

<file original="f111_791_en_de.xlf" source-language="en" target-language="de" datatype="html">

<header></header>

<body>

<trans-unit id="S-2-7779873900283276240-111">

<source>Login</source>

<target>Anmelden</target>

</trans-unit>

<trans-unit id="S-5-10-111">

<source>Projektzeitleiste</source>

<target>Projektzeitleiste</target>

</trans-unit>

</body>

</file>

</xliff>


---

Best regards, Joerg

Best Answer

  • vpunis
    vpunis Member Posts: 2 Red Ribbon
    Accepted Answer

    In your case, big file has invalid format.

    For example, it contains:

    1) <<

    2) <source>Beginn>/Quelle>

    3)<source>Anmeldung | &amp;APPLIKATION_TITEL.</source>

    | &amp;APPLICATION_TITLE.</target>Anmelden | &amp;APPLICATION_TITLE.</target>

    4)&stempeln;

    and so on

Answers

  • Joerg
    Joerg Member Posts: 26 Blue Ribbon
    edited Apr 16, 2021 5:41AM

    Hy guys!

    Is there anybody out there who can help translating the packed app "P-Track"?

    Best Regards, joerg


    2021-04-16: I might ask again!? :-j

  • vpunis
    vpunis Member Posts: 2 Red Ribbon

    I had a problem that looked similar. In my case, it was about the date format in the xliff file comment (it was exported with a regional date). Maybe it will be useful for someone:

    Bad:

    <!-- 

     ****************** 

     ** Source   : 102

     ** Source Lang: en

     ** Target   : 1102

     ** Target Lang: ru

     ** Page    : 1

     ** Filename:   f666_777_p1_en_ru.xlf

     ** Generated By: USER

     ** Date:     06-СЕН-2021 01:02:30

     ****************** 

     -->


    Good:

    <!-- 

     ****************** 

     ** Source   : 102

     ** Source Lang: en

     ** Target   : 1102

     ** Target Lang: ru

     ** Page    : 1

     ** Filename:   f666_777_p1_en_ru.xlf

     ** Generated By: USER

     ** Date:     06-SEP-2021 01:02:30

     ****************** 

     -->

  • vpunis
    vpunis Member Posts: 2 Red Ribbon
    Accepted Answer

    In your case, big file has invalid format.

    For example, it contains:

    1) <<

    2) <source>Beginn>/Quelle>

    3)<source>Anmeldung | &amp;APPLIKATION_TITEL.</source>

    | &amp;APPLICATION_TITLE.</target>Anmelden | &amp;APPLICATION_TITLE.</target>

    4)&stempeln;

    and so on

  • Joerg
    Joerg Member Posts: 26 Blue Ribbon

    Good Morning User_88GE4!

    Ooh! Thank you for your suggestions.

    Best regards, Joerg