Multilingual XML filter
Description:
Setting up a multilingual translation project and importing all files can become cumbersome when you have to repeat all the file import and setup operation for all your target languages. Importing a multilingual XML file in your project in one go can be much easier. You can import content to translate into German and leave other target languages in the XML file untouched (getting not imported). Specify content in other languages by individual XPath expressions. The XML needs to be well-formed.
- The Multilingual XML filter is very similar on the basic level to the multilingual Excel/CSV filter.The source file can contain more than one language, and you can define rules using Xpath to import a piece of content as source language text, or any of the target languages, or comment etc.
- Xpath is very flexible, you can define much more complex conditions, compared to the original XML filter. See the memoQ Help for the import rules: http://kilgray.com/memoq/2013R2/help-full-en/index.html?xml_import_rules.html
You need to edit the rules manually. The result of the Xpath rules is reflected as preview.
Set up your project with several target languages. In the Translations pane of Project home, click Import with options... below the document list, and in the Open dialog, locate and select a multilingual XML file. Then, click the Change filter and configuration command link. You can also get to this dialog if you go to the Filter configurations pane in the Resource console, select a multilingual XML filter, and click the Edit link below the list.
You need to assign each language code in the XML file to a target language in your project. If the XML contains languages which are not in your project, then these languages are not imported.
- Current limitations of the filter:
The original file must contain all the languages. You can’t have a source file that only contains English:
<document>
<content_en>Translate this</content_en>
</document>
… and import it as multilingual file, and export the target language element which was not present in the original:
<document>
<content_en>Translate this</content_en>
<content_de>Übersetzung</content_en>
</document>
- The multilingual XML filter cannot handle monolingual files, It cannot do what the original XML filter can do: import and export to the same location.
Comments
0 comments
Please sign in to leave a comment.