Show XLIFF context data in MemoQ
थ्रेड पोस्टर: Samuel Murray
Samuel Murray
Samuel Murray  Identity Verified
Netherlands
Local time: 04:04
सदस्य (2006)
English to Afrikaans
+ ...
Feb 25

Hello everyone

I have a generic XLIFF file with some programmers' context for some segments. In the screenshot below, the black text is the translatable, but I want the blue text to be visible *somewhere* during translation -- either automatically or on-demand, e.g. when right-clicking somewhere.

visible

Is it relatively simple in MemoQ to accomplish that?

(The source file is the XLIFF file, so I have full control over how to tag it.)

Thanks
Samuel


 
Felix Sherrington-Kendall
Felix Sherrington-Kendall  Identity Verified
Germany
Local time: 04:04
German to English
Multilingual XML filter Feb 25

Not sure if this would be possible with the standard XML filter, as you cannot target the specific node you want as a reference, but maybe you could use the multilingual XML filter to achieve what you need. Just as an example, you could set up an import rule set with the following:

Content XPath: /xliff/file/body/trans-unit/source
Context (ID) XPath for content: /xliff/file/body/trans-unit/@id
Comment XPath for content: /xliff/file/body/trans-unit/context-group/context/t
... See more
Not sure if this would be possible with the standard XML filter, as you cannot target the specific node you want as a reference, but maybe you could use the multilingual XML filter to achieve what you need. Just as an example, you could set up an import rule set with the following:

Content XPath: /xliff/file/body/trans-unit/source
Context (ID) XPath for content: /xliff/file/body/trans-unit/@id
Comment XPath for content: /xliff/file/body/trans-unit/context-group/context/text()

That would import the translatable content and add the blue text as a comment to each segment (visible by double-clicking the yellow speech bubbles, or directly in the preview pane by switching to the Active comments tab, for example). You could of course add a cascading filter for tagging the variables etc.
Collapse


 
Tomasz Sienicki
Tomasz Sienicki  Identity Verified
Denmark
Local time: 04:04
सदस्य (2007)
Danish to Polish
+ ...
Vote for the feature Feb 25

The feature is not available in memoQ at this point, but it's been on the official wishlist since 2022. You can vote for it here: XLIFF Preview - HTML preview pane.

Mario Chávez
 
Mario Chávez
Mario Chávez
United States
Local time: 22:04
सदस्य (2024)
English to Spanish
+ ...
I'd use the Enable preview for translations in memoQ Feb 25

Off the top of my head, I'd use the Enable preview for translations setting (right click on the file in Project Home/Translations).

I am not sure if you'll see the blue text as blue, though.

Cheers,

MC

Samuel Murray wrote:

Hello everyone

I have a generic XLIFF file with some programmers' context for some segments. In the screenshot below, the black text is the translatable, but I want the blue text to be visible *somewhere* during translation -- either automatically or on-demand, e.g. when right-clicking somewhere.

visible

Is it relatively simple in MemoQ to accomplish that?

(The source file is the XLIFF file, so I have full control over how to tag it.)

Thanks
Samuel


 


To report site rules violations or get help, contact a site moderator:

यस फोरमको मध्यस्तकर्ता(हरू)
Maya Gorgoshidze[Call to this topic]
Peter Zauner[Call to this topic]
Prachya Mruetusatorn[Call to this topic]

You can also contact site staff by submitting a support request »

Show XLIFF context data in MemoQ






Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »
Trados Studio 2022 Freelance
The leading translation software used by over 270,000 translators.

Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop and cloud solution, empowering you to work in the most efficient and cost-effective way.

More info »