Show XLIFF context data in MemoQ
Аўтар тэмы: Samuel Murray
Samuel Murray
Samuel Murray  Identity Verified
Нідэрланды
Local time: 10:35
Член (ад 2006)
англійская → афрыкаанс
+ ...
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
Германія
Local time: 10:35
нямецкая → англійская
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
Данія
Local time: 10:35
Член (ад 2007)
дацкая → польская
+ ...
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
ЗША
Local time: 04:35
Член (ад 2024)
англійская → іспанская
+ ...
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:


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

Show XLIFF context data in MemoQ






Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

Buy now! »
Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »