This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Marcos Vinicios Barreto 9 months, 1 week ago.

Assigned support staff: Marcos Vinicios Barreto.

Author Posts
August 27, 2019 at 3:34 pm #4468121


Tell us what you are trying to do?

Dear WPML Support,

we are currently adding all strings in our theme and the plugins we are using to WPML by using the gettext functions __().
here is an example: echo '<h2>'.__('Shopping cart', 'competence').'</h2>';
A rescan of the theme folder worked and WPML is able to find the string and we can add a translation. However if we deactivate in the localization options: Don't use String Translation to translate themes and plugins. the string is not translated correctly anymore.
What information is needed so the translation is found correctly?
By comparing strings that work while this option is turned off we did not see any difference.

thank your for your help in advance,


What is the link to your site?
our site is:

August 27, 2019 at 6:20 pm #4469013

Marcos Vinicios Barreto

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)


Thank you for contacting WPML Support. When you set the option 'Don't use String Translation to translate themes and plugins' from your WordPress Dashboard > WPML > Theme and plugins localization settings, any translation you made using the WPML String Translation won't show on the frontend as this option was turned off in your localization settings. Instead you will only see a translated text if you have it in your theme languages folder as a po/mo file.


Please, let me know if any additional instructions are clarifications are needed. Have a nice day.