Inline patterns in XML

Hi,

It's likely that this matter has been queried already, but I couldn't find a good match, if so my apologies.

I have the below XML structure, where I want to treat the variables {} as inline tags in Studio (and ideally also newlines \n). 

  <Term Translate="true">
    <Id>Check36VStatus.FailText</Id>
    <String>{0} - {1} - Have you turned on the Rider with the key?</String>
    <Reference>Text shown when a test step fails for product X</Reference>
    <Added>0001-01-01T00:00:00</Added>
  </Term>
  <Term Translate="true">
    <Id>Check36VStatus.SuccessText</Id>
    <String>{0} - {1}</String>
    <Reference>Text shown when the test step is successfully executed for product X</Reference>
    <Added>0001-01-01T00:00:00</Added>
  </Term>
  <Term Translate="true">
    <Id>Check36VStatusTextDescription</Id>
    <String>Turn on the machine by turning the key.\n\nImportant, if this test fails then all other tests will fail as well.</String>
    <Reference>Description of a UI component for product X</Reference>
    <Added>0001-01-01T00:00:00</Added>
  </Term>

 I've tried to use Embedded content with both of the two below settings, but neither causes the brackets to be rendered as tags.

I don't want to use the TM Variable list as I need a stricter enforcement of the rule. Also, I realise that a workaround would be to tag the source text with something like <DNT>{0}</DNT> but I'd prefer not to have to search and replace in the source/final files.

Is the ECP/Inline tags the correct way to address this, and if so what am I doing wrong?

Thanks!

Simon

Parents Reply
  • Unknown said:
    Oh, this is what exclude stands for. And now I understand, why it does NOT segment here.
    Would it be possible to add that so far to the embedded content? Otherwise we will need to create special TMs for such cases...

    Hi Jerzy,

    I recall asking for this a long time ago and there are technical limitations apparently because of the way the files are converted to sdlxliff.  I think you just need to knock up a set of rules for your TMs when needed, and use them for segmentation only with no read/write capability.  Would be easier if it was possible on the filetype I agree... but it's not :-(

    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
  • Dear Paul

    Hi Jerzy,

    I recall asking for this a long time ago and there are technical limitations apparently because of the way the files are converted to sdlxliff. I think you just need to knock up a set of rules for your TMs when needed, and use them for segmentation only with no read/write capability. Would be easier if it was possible on the filetype I agree... but it's not :-(

    Paul


    What about long overdue enhancement for exporting and importing TM settings? Just a click and all settings are exported, then imported as needed. This would be a great improvement - and is overdue sinde Studio 2009 afair :)

    Best regards & have a nice weekend
    Jerzy

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.