XML files - cannot generate error if 'b' (bold) tag is missing

Hi everyone,

We have recently started to translate XML files in Trados and I've encountered the following problem: the formatting tags for bold, underline and italics are not recognised as formatting tag, which means that I can finalise my files even if they are missing. I have unchecked the Ignore formatting tags box in the Tag Verifier, but this doesn't change anything.

Trados Studio verification settings showing 'Ignore formatting tags' unchecked and 'Tags added' set to Error.

This means that I have to check every segment of my numerous xml files to make sure that the formatting tags are not missing.

For example, in the segment below, if I remove the 'b' tags in the English translation, no error is generated when I run a check and I can finalise the file without the bold formatting.

Translation segment in Trados Studio with 'b' tags indicating bold text in both source and target languages.

Is there a way to get Trados to recognise these tags as proper formatting tags?

Many thanks in advance for your help!



Generated Image Alt-Text
[edited by: Trados AI at 11:55 AM (GMT 0) on 29 Feb 2024]
emoji
  •  

    These are not formatting tags... they are just tags.  I don't know how familiar you are with this, so apologies for this basic explanation, in xml there is no standard for tags so they can be anything!  So you could have these for example, all meaning the same thing when the file is returned to the application using it:

    <b>

    <bold>

    <makemebold>

    <heavyfontandblackincolour>

    <anythingjustmakeitstickout fromtherestofthetext>

    Unless of course the person who created the xml filetype built a rule like this for example and then specified the context which could be some formatting:

    Screeshot showing how xml tags are given formatting context

    Typically most people don't bother to do this as for many translators the nature of the tag isn't important at all and they work in tag ID mode without formatting showing anyway.  This can be cleaner and it's easier to check the tags are correct.

    So for XML if you have not built the parser rules and specified the context for the rules the only check you'll have that could be useful will be these:

    Screenshot showing all the tag verification options checked apart from the "Ignore formatting tags"

    Did you create the XML filetype yourself?

    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

    emoji
  • Hi Paul,

    Thanks for your reply.

    I tried your tag verifier settings and it work fine :-)

    BR

    emoji