Import xml file in memoQ with Multilingual XML filter
Thread poster: Julie Pigeon
Julie Pigeon
Julie Pigeon
Canada
Local time: 04:14
English to French
Oct 8, 2019

Hello dear memoQ users!

I'm trying to import a bilingual xml file in memoQ (7.8.175) using the Multilingual XML filter.

In the Import rules tab:
memoQ xml import

I've clicked on 'loc' for the 'XPath for selected row' and I get /Proj[1]/File[1]/TextItem[1]/TranslationSet[1]/base[1]/@loc

In memoQ help (https://help.memoq.com/current/en/Places/xml-import-rules.html), they say to edit the 'Content XPath' box from:
/doc[1]/entry[1]/string[1]
to:
//entry/string[@lang="de"] (where DE is the source text).

Following the same logic, I should edit my Content XPath for //TranslationSet/base/[@loc="en"]

I did the same for FR-CA: //TranslationSet/tran/[@loc="fr-CA"]

But it's not working. MemoQ tells me that I need to set-up at least one source language and one target language.

Any idea on this? The memoQ help doesn't explain how they came to the edit they suggest.

Many thanks!

Julie


 
Fabian Kombeny
Fabian Kombeny
Germany
Languages must fit Nov 29, 2019

Hi Julie,

First, to help you sort things out:
1- If the nodes are marked correctly in your preview, and
2- your preview coincide with the files in your project,
3- then, there are no errors in your xpath expressions.

I recommended to test your expressions on interactive websites like http://xpather.com/

I presume that the error you encounter occurs because the
... See more
Hi Julie,

First, to help you sort things out:
1- If the nodes are marked correctly in your preview, and
2- your preview coincide with the files in your project,
3- then, there are no errors in your xpath expressions.

I recommended to test your expressions on interactive websites like http://xpather.com/

I presume that the error you encounter occurs because the language in the filter does not fit the language in the project. Meaning, if you have French Canada in the filter, FR Canada must be selected in the project. The same goes for English.

Regards,
Fabian
Collapse


 


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


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

Import xml file in memoQ with Multilingual XML filter






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! »
CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

Buy now! »