Forum: MemoQ support
Topic: How to deal with non-translatable segments?
Poster: Denis Hay
Post title: It is possible to filter on XML attributes for conditional import
[quote]D.D.G. wrote:
Hello,
I am translating a User Interface in XML format, but as some of the segments don't need to be translated I wonder what I can do so as to confirm these segments without committing them to the TM. Should I just press Ctrl+Shit+Enter (Confirm without update) or is there another way, e.g. confirm with empty target? What options does memoQ offer in this regards?
[Edited at 2014-05-14 15:32 GMT]
[Edited at 2014-05-14 15:50 GMT] [/quote]
So.... if these strings have already been imported, yes, CTRL+SHIFT+ENTER would confirm without sending them to the primary TM.
The best still is to NOT import those strings in the first place. We would need to see the XML, but if the entries have any attribute value that marks this translatable/non-translatable state, you can use use "Import with options..." to import the files, "Populate" to populate the list of tags, then, for each tag that has this attribute you want to filter on, you can use the "Non translation" button and indicate what are the conditions that will trigger the import (or non-import if that's easier) of the content of these tags.
Topic: How to deal with non-translatable segments?
Poster: Denis Hay
Post title: It is possible to filter on XML attributes for conditional import
[quote]D.D.G. wrote:
Hello,
I am translating a User Interface in XML format, but as some of the segments don't need to be translated I wonder what I can do so as to confirm these segments without committing them to the TM. Should I just press Ctrl+Shit+Enter (Confirm without update) or is there another way, e.g. confirm with empty target? What options does memoQ offer in this regards?
[Edited at 2014-05-14 15:32 GMT]
[Edited at 2014-05-14 15:50 GMT] [/quote]
So.... if these strings have already been imported, yes, CTRL+SHIFT+ENTER would confirm without sending them to the primary TM.
The best still is to NOT import those strings in the first place. We would need to see the XML, but if the entries have any attribute value that marks this translatable/non-translatable state, you can use use "Import with options..." to import the files, "Populate" to populate the list of tags, then, for each tag that has this attribute you want to filter on, you can use the "Non translation" button and indicate what are the conditions that will trigger the import (or non-import if that's easier) of the content of these tags.