Skip Navigation
Updated
August 18, 2023

With WPML, you can automatically translate the texts found in String Translation, such as those coming from your theme, plugins, and widgets.

WPML String Translation acts as a central hub for translating static texts that are not part of posts, pages, or other standard WordPress content. 

From the String Translation page, you can translate these texts by yourself or send them to a translator. Or, you can opt for WPML automatic translation

How you send strings for automatic translation depends on your translation mode and the number of translators on your site. You can translate strings automatically:

Below, we’ll show you how to use WPML automatic translation to translate texts from a theme. You can follow the same steps to automatically translate widgets, header and footer texts, and other texts found in String Translation.

Important: Some strings in String Translation are grouped as a package, like those from the footer widget area. To automatically translate these, you need to send the entire package for translation.

Sending strings in a package for translation

Translate Everything Automatically 

In the Translate Everything Automatically mode, WPML translates your posts and pages in the background as you publish new content or edit existing content. However, it doesn’t automatically pick up strings. You need to send them for automatic translation from the String Translation page.

  1. Use the In domain dropdown menu to determine which strings to display.
  2. Click the checkboxes next to the strings you want to translate.
  3. Select the languages you want to translate the strings into and click the Translate button.
Sending strings for automatic translation in the Translate Everything Automatically mode

WPML immediately translates the strings you sent for automatic translation. You’ll see a pencil icon next to the strings once the automatic translation finishes. You can click the pencil icon next to each string to review the translations. 

Translating Strings Automatically by Yourself

If you’re using the Translate What You Choose mode and the only translator on your site, you can send strings for automatic translation from WPML → String Translation.

  1. Select the strings you want to automatically translate and the languages you want to translate them into. Then, click Translate.
  2. Go to WPML → Translations and click Translate next to the translation job with the strings. 
Clicking the Translate button next to the translation job with the strings
  1. This takes you to the Advanced Translation Editor. Click the Translate automatically button. WPML automatically fills in the translations, which you can review and approve.
Clicking the Translate automatically button in the Advanced Translation Editor

Translating Strings Automatically on a Site with Multiple Translators

You can also send strings to your translators, who can translate them automatically using WPML Advanced Translation Editor. 

From WPML → String Translation, click the checkboxes next to strings and select the languages from the list. Then, add the strings to the translation basket.

In the Translation Basket, assign the job to a translator and click the button to Send all items for translation.

Sending strings to translators from the Translation Basket

When your translators log in, they can take the job from the WPML → Translations page. This will take them to the Advanced Translation Editor, where they can translate the strings automatically by clicking the Translate automatically button.