When inline patterns protection is used in a .lpu file to protect certain part of translation unit from being translated, such information is not carried over when string lists are exported from .lpu to Passolo XML Export/Import .xml file. This requires additional configuration for all inline patterns in the CAT environment the .xml files are processed in. I was wondering if there is a macro which adds a marker to the inline protected variables in Passolo Export/Import .xml.
For example, you have the following string processed in .lpu:
string.one=You have {numMessage} new messages.
string.two=Total message: %d messages.
The variables marked in colored-background above is inline-pattern-protected in .lpu. When you export the above string to Passolo XML Export/Import .xml file, you have:
<Entry Id="1" Origin="String STRING.ONE in Strings 230">You have {numMessage} new messages.</Entry>
<Entry Id="2" Origin="String STRING.TWO in Strings 230">Total message: %d messages.</Entry>
I was thinking if macro can be a solution to have something like below in Passolo XML Export/Import .xml:
<Entry Id="1" Origin="String NEW_MESSAGE in Strings 230">You have $$${numMessage}$$$ new messages.</Entry>
<Entry Id="2" Origin="String STRING.TWO in Strings 230">Total message: $$$%d$$$ messages.</Entry>
Reviewing Automation online help, it does not seem that this can be done with Passolo macro. Any input here is appreciated.