Alignment of XLIFF files fails without error message

Passolo 2016 with .NET
Cascaded project:
-- LPU1, (en-us1 -> en-us2)
-- LPU 2 (en-us2 -> 12 targets, including German)

My project wants to from PO files to XLIFF in the hope of easier updates, thanks to IDs.

Steps so far:

  1. I have successfully added the XLIFF en-us>1 source to LPU1, validated the translation (identical, for now) and saved LPU1.
  2. Opened LPU2 updated/created source and 1 of the targets, namely German, just to test.
  3. Now trying to align LPU2/German with the existing translations in an identically structured German XLIFF file.
    1. Opened the German target string list (there is only one)
    2. Selected from menu: Scan Target File  (Alignment)
      Now in popup:
    3. Apply to --> Translation list myResource German (Germany)
    4. Align > this file > I selected the German.XLF file
    5. Language to extract shows grey [Select a language]  Note: German is not offered, although the XLIFF file specifies target language = de
    6. Options set:
      1. Align all
      2. Overwrite existing translations
      3. All strings in the target file are translated
    7. Click OK
  4. Nothing happens. No error message.

Any ideas what is happening. I enclose the En and the DE  XLIFF files.

Parents Reply
  • Many years ago, Microsoft had a quite nasty bug in their MSXML components that are used in the background by Passolo to read and write XML files. This bug was related using XML namespaces like this:

    Screenshot of an XML file with XLIFF version and encoding details, displaying an error symbol next to the namespace declaration.

    Result of this bug is that the content of some XML elements can’t be imported into the Passolo projects. The development team has overcome this problem by defining and implementing a special namespace indicator called pdns. More information see here.

    When this additional keyword is used in XPATH expressions the Microsoft bug be fixed. Unfortunately this has to be done for each and every rule. As an example the XLIFF meta data for <context-group> XPATH expression must be changed from

    parent::*/context-group/context/attribute::context-type | parent::*/context-group/context,valueid

    to

    parent::*/pdns:context-group/pdns:context/attribute::context-type | parent::*/pdns:context-group/pdns:context,valueid

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 5:46 AM (GMT 0) on 5 Mar 2024]
Children