NewSupertext SDKs for TypeScript, PHP, Python, .NET and Java, with an integration guide built from 30+ pluginsGet the SDK →
LoginGet your API key
Integrations
Content managementProduct informationE-commerceEmail marketingDesign filesRoadmap
Pricing
SDK
Support
News
Resources
SDKs and integration guideAPI documentationGitHub
Get your API key

← Supertext for WordPress (WPML)

XLIFF and HTML export and import for WordPress (WPML)

Export WordPress posts and pages, with title, content, excerpt, the custom fields WPML translates and YOOtheme texts, as XLIFF or HTML, translate them with your agency or CAT tool, and import them as linked draft translations in WPML.

XLIFF 1.2HTML

1. Export

In Posts or Pages, hover a post and click Export for translation, which opens Supertext → Translation files. Choose the format and the target languages and download the file. Several languages fit into one XLIFF file; HTML holds one language.

2. Translate with your own tool

Open the file in your CAT tool or send it to your translation agency. XLIFF 1.2 works with tools such as Trados Studio, memoQ, Phrase, Crowdin and OmegaT. Translate the texts and leave tags and IDs as they are. HTML suits translators and tools without XLIFF support.

3. Import

On Supertext → Translation files → Import translation, upload the translated file (up to 10 MB). The translation is created or updated as a draft, and the result lists what was imported and what was skipped: texts changed in WordPress since the export (unless Also import texts whose source changed is ticked), texts without a translation and translations whose formatting doesn't match the source.

What stays intact

In XLIFF, formatting travels as protected tags that translators can move but not break. In HTML files, leave the header (supertext: lines) and the data-st-id attributes unchanged.

Good to know

  • Requires WPML Multilingual CMS.
  • Files from other systems, files over 10 MB and translations that add markup the source doesn't have are refused.
  • Uploaded files aren't stored.
  • This is separate from WPML's own XLIFF export in Translation Management.