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 Diego Pereira 1 year ago.

Assigned support staff: Diego Pereira.

Author Posts
October 16, 2018 at 2:06 pm

urbanW

I am trying to:
I used unlimited add ons to build some custom elements for WP bakery.
And the strings can't be found

Link to a page where the issue can be seen:
hidden link

I expected to see:
this is a test
if this wpm translation really works

Instead, I got:
nothing

_____________
basically I added e_() to a html text field and it outputs it as a php comment rather than php....

October 17, 2018 at 7:33 pm #2825764

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

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

Hello @urbanw, welcome to the WPML support Forum!

The "_e" should be used directly on PHP code. I think the plugin I think WordPress does not allow you to insert PHP code through the interface.

Please try the steps below:
- Make sure you have the Translation Magagement and String Translator extensions active. If not, you can download here: https://wpml.org/account/downloads/
- Go to WPML > Theme and Plugin Localization > Strings in the plugins
- Select the plugin and click on Scan selected theme for strings
- Go to WPML > String Translation and search for the Strings
- Translate the string, check the Translation is complete field and click on Save.

Ref: https://wpml.org/documentation/getting-started-guide/string-translation/

>>> If you can not find the strings, check it is possible to find it on the Translate texts in admin screen page, like on this link: https://wpml.org/documentation/getting-started-guide/string-translation/#admin_texts

Please let me know if it worked for you.

All the best,
Diego