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.
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.
- Use the In domain dropdown menu to determine which strings to display.
- Click the checkboxes next to the strings you want to translate.
- Select the languages you want to translate the strings into and click the Translate button.
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.
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.
- Select the strings you want to automatically translate and the languages you want to translate them into. Then, click Translate.
- Go to WPML → Translations and click Translate next to the translation job with the strings.
- 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.
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.
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.