Initial protected placeholders in xliff lost in Trados

If I open an xlf in Trados and if this xlf has protection tags around placeholders and this happens to be in an initial position, Trados just drops the placeholder altogether, which means I need to post-edit the xlf elsewhere to re-insert them.

I can't post the file but the header is

<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns:tilt="urn:logoport:xliffeditor:tilt-non-translatables:1.0" xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">

and a sample string is

<trans-unit xml:space="preserve" id="123456">
          <source><ph equiv-text="%1" tilt:type="do-not-translate" id="1">%1</ph> wants to send you notifications.</source>

which results in this:

Parents Reply
  • It's because it's not formatting that Studio does this.  If it was formatting Studio would know exactly what to do with it.  There are often many tags (placeholder tags like this... formatting tags are not placeholders unless it's a legacy TTX for example) that sit at the start or end of the segment and when this happens they are assumed to be external.  Most of the time this is probably correct, but sometimes it's not as you have experienced.  This is why it should be an option.  If these tags were always brought into the segment then you would find your documents a lot more taggy than they are now and you wouldn't be happy about that.

    I believe we added something into the TTX fileytpe to deal with this possibility, but it's clearly not there for XLIFF.  So maybe need the same or similar solution there.


    So I think it should be optional, particularly because I think your usecase happen less than not needing to so this.

    Regards

    Paul

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Children