Using WPML String Translation to translate theme options

In this article I will show you how to use WPML String Translation to translate those strings from the theme that can’t be translated with Poedit.

So, all strings that are used throughout theme options can be found in the String Translation module of WPML. These strings are dynamic and could not be translated through a language file. Thanks to the WPML String Translation module, we are now able to translate any dynamic strings from the theme.

In this example, I am going to translate the Blog Archive title:

theme-blog-options

This is the WPML String Translation screen where you can see those two strings that are available for update:

wpml-str-trans-1

All you need to do at this point is to click the “Translations” link and translate the selected string into the languages you have installed on your website:

wpml-str-trans-2

When you are done, tick the “Translation is ready” checkbox and click the “Save” button to finish editing.

Verifying the results:

The French version of the blog page:

blog-page-fr

And the Spanish version:

blog-page-es