Exporting WordPress sites for professional translation: Here’s how to do it
Extensible markup language: Exporting and importing XML files
In WordPress, you can export and import either individual pages or an entire site as an XML file. This function is included in the standard version, so you don’t need to add any WordPress export plugins.
Step-by-step instructions: Exporting WordPress content as an XML file
- Log into the WordPress backend.
- From the left sidebar, navigate to the menu item Tools and select Export data.
- Select the content to be exported from WordPress. You can only export blog posts, landing pages or the entire website.
- Click Download export file.
Video tutorial on exporting XML files
This video demonstrates how to export all pages in WordPress in XML format:
Importing your translated XML document
- In the left toolbar, navigate to Tools and click on Import.
- If you haven’t already, install the WordPress import plugin.
- If you’ve already installed this free plugin, select Run importer.
- Then use the Select file section to upload the translated XML file.
- Confirm your selection by clicking Upload file and import.
Et voilà! Your translation is now imported and the target language texts are now available under Pages and/or Posts.
After importing and publishing the translated URLs, it’s best to have the front end proofread or copy edited. Seeing the text in context makes it easier to identify small tweaks and final improvements.
Benefits and drawbacks of XML exports: Key things to bear in mind
- No additional plugins required
- Function included in the standard version of WordPress and does not entail additional costs
- Widgets are not always exported, which means that some text modules may be missing in the exported file
- Depending on how a page is structured, it can take longer to prepare a file for translation using CAT tools, which can affect the turnaround time and price
XLIFF exports for efficient website translation
There are numerous benefits of this method. For one, exporting content as an XLIFF file ensures that the page is exported in full, with all content in the exported file. In addition, all commonly used CAT tools can process XLIFF files, which drastically reduces the preparation and processing time. Texts are filtered so that only the text to be translated is left – all the coding is hidden without having to spend time on extensive configuration. At the price of $79.00, WPML is decidedly affordable if you consider that it can take many hours to prepare XML files for translation.
CAT (computer-assisted translation) tools
Almost all translation agencies use CAT tools to translate texts. Kolibri Online is no exception. The tools we use include memoQ and Trados Studio.
XLIFF exports with WPML: How it works
- Log into the WordPress back end.
- In the Translation Management submenu, set a check in the checkboxes beside the content to be translated.
- In the translation options further down the page, select the target languages for the pages/posts to be translated.
Note: You define source and target languages when you install the plugin. However, you can change these at any time under the menu item WPML > Languages.
- Click Add selected content to translation basket to confirm your selection.
- Navigate to the Translation Basket tab and click Send all items for translation.
Note: Before you can check out items for translation, you need to assign translation roles. You can do this in the tab of the same name.
- By navigating to WPML > Translations you can now extract content as XLIFF 1.2 files.
Video tutorial on exporting XLIFF files
Here’s an example of how to export XLIFF files for a single landing page for translation into English:
The route back: Reimporting XLIFF files
- Call up the submenu WPML > Translations
- In the lower part of the export and import section, click Select file
- Select the XLIFF document you want to import
- Click Upload
Benefits and drawbacks of XLIFF exports
- Export tailored to CAT tools saves time and money
- Pages are exported in full (incl. widgets/modules etc.)
- Fee-based (one-off payment of $79.00, plus a further $59.00 per subsequent year)
- Additional plugin that must be installed in advance
No matter which format you choose, before you embark on having your site content translated by a specialist, the translation agency should always send back a pseudo-translation so you can run a trial import to make sure that the target file can be imported into WordPress without any issues.