You can export HTML and XLIFF directly from the Drupal Translation Management Tool (TMGMT) without installing any additional plugins. Of course we recommend that you actually use our plugin that connects you directly to our Supertex API and gives you a quote without any copy&paste hassles:
But if you sit behind a firewall you can also just export your content. We currently recommend HTML. The XLIFF export is not 100% implemented yet.
- Go to Node Sources
- Select all pages you want to export
- Click on Request translations
- Make sure “File translator” is selected
- Choose HTML
- Submit to translator
You can download the file now from the “here” link. If it opens directly inside the browser. Just do a “Save as” in the window.
That’s it for the export.
Once the file is translated, you can import it again fairly simple:
- Select Jobs
- Click “manage” on the job you just created.
And import the translated file again.
2 Kommentare zu “Export/Import HMTL with the Drupal Translation Management Tool (TMGMT)”
It is not immediately clear to me how to work with an HTML export. Does one just replace the text that is there and re-upload? As opposed to XLIFF, where there is a separate element to put the translated text.
Yes, exactly. Just replace the text inside the HTML.
The XLIFF export is rather weak, so HTML actually works better, especially if you use SDL Trados or another CAT tool.