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 5 replies, has 2 voices.

Last updated by Lauren 5 months ago.

Assigned support staff: Lauren.

Author Posts
May 13, 2019 at 1:42 pm #3798907

ronS-15

I'm trying to translate a custom text I added.
please take a look at the attached image. you can find this text in any product page.

May 13, 2019 at 8:14 pm #3801451

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thank you for contacting WPML support. I'll be happy to help you with this.

Can you please tell me how this content was created? If it is created in a plugin settings, it may be that these strings are stored in the admin texts. Please go to WPML -> STring Translation and scroll down to the bottom of the page. Click "Translate strings in admin texts". Here, look for a section for the plugin and see if you are able to locate the strings. If so, check the box and then click Apply at the bottom. Then you should be able to translate the strings via the WPML -> STring Translation table.

To ensure the quickest and most accurate support, please provide your debug information so that I can get a look at some of your configurations. We have an excellent article on how to located here: https://wpml.org/faq/provide-debug-information-faster-support/.

NOTE: Please be sure to check the box to indicate you can provide debug info and paste your debug info in the debug field provided, and NOT in the general response field.

May 14, 2019 at 7:59 am #3804533

ronS-15

perfect. just found it.

I tried to translate the checkout page content and I cant find a few words in the string.
please take a look at the attached image, you can also open the checkout page in Portuguese an you'll see it there.

any idea how can I translate this few words?

May 14, 2019 at 12:20 pm #3806661

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Can you please tell me where those strings are coming from? Are they coming from a payment plugin, a theme, etc?

May 16, 2019 at 11:52 am #3825609

ronS-15

Hi,

from a payment plugin. they said from their side it is not possible to translate this text. any idea if I create a walk around?

May 16, 2019 at 5:51 pm #3828579

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

That most likely means that the strings are not wrapped in a gettext call. You can try editing the plugin files to add the gettext calls to the strings, but keep in mind that any changes you make will be overwritten when the plugin is updated. For more information on how to wrap the strings in gettext calls, please see the following documentation:
https://wpml.org/faq/language-setup/
https://wpml.org/documentation/support/translating-the-theme-you-created/