Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client needed to translate the texts of 'PayLater', 'Pay with Google Pay', and 'Pay with ApplePay' buttons from Italian to English, as well as PayPal PayLater messaging, but was unable to find the strings using the usual WPML String Translation method.

Solution:
First, we recommended the following steps:
1. Go to WPML → String Translation.
2. Enable the option "Look for strings while pages are rendered".
3. Navigate to the page where untranslated strings are displayed.
4. Return to WPML → String Translation and check if the string has been registered.
5. Translate the string.

We provided a documentation link for further assistance: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Next, we inquired if the client was using a dedicated plugin for those buttons and suggested updating the WPML plugin and add-ons to the latest version for bug fixes and improvements. We provided instructions for updating WPML and recommended backing up the database before proceeding: http://wpml.org/faq/install-wpml/

If the problem persisted after updating, we requested temporary access to the client's site to troubleshoot the issue further.

Please note that the solution provided might be irrelevant due to being outdated or not applicable to your case. If this is so, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket: https://wpml.org/forums/forum/english-support/

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 Andrey 10 months ago.

Assisted by: Andrey.

Author Posts
April 7, 2024 at 3:12 pm #15491745

emmaA-5

Hi,

I would like to translate the texts of 'PayLater' button, 'Pay with Google Pay' button and 'Pay with ApplePay' button from the main language of my site (Italian) to English, but I have some issues to do that. I want to translate PayPal PayLater messaging also (see the screenshots attached).
I have already tried to the following steps, but I was not able to find the strings:

- Please go to "WPML > String Translation".
- Scroll down to the end and you'll see a link named "Translate texts in admin screens". Click on that.
- Search for the text that you want to translate
- If that text appears in the result, select that text and Add it to String Translation.
- Please go to "WPML > String Translation" and include the translation for that text.

How can I do?
Thanks in advance!

paypal-button-error-translation.png
paypal-button-error-translation 2.png
April 7, 2024 at 6:51 pm #15491944

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for contacting WPML support.

Have you attempted to locate the strings in this manner?

1. Go to WPML → String Translation.
2. Enable the option "Look for strings while pages are rendered".
3. Navigate to the page where untranslated strings are displayed.
4. Return to WPML >> String Translation and verify if the given string has been registered.
5. Translate the string.

https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Please inform me of the outcome.

April 8, 2024 at 9:10 am #15493223

emmaA-5

Hi,

Thanks for your reply. I have tried to do so, but nothing changed. None of the strings is displayed. I have also updated translations and clicked un WPML -> Theme and plugins localization for scanning PayPal plugin, but nothing changed.
Could I give you a private link for temporary login, so that you can see the problem?
Thanks

April 8, 2024 at 7:52 pm #15496039

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Are you using a dedicated plugin for those buttons?

Could you please update your WPML plugin to the latest version 4.6.10 and add-ons to benefit from the latest bug fixes and improvements? This may not necessarily resolve your problem, however, in order to troubleshoot the issue best we need to work on the latest code available.

You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/

Please remember to backup your database first before you proceed. You can use a plugin for this if you like (example: http://wordpress.org/plugins/duplicator/)

If the issue persists after an update has been done, I need to request temporary access (wp-admin and FTP) to your site – preferably to a test site where the problem has been replicated if possible – in order to be of better help. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

April 10, 2024 at 6:05 am #15502123

emmaA-5

Hi,
I have updated WPML to the last version (I don't know why the automatic update didn't work).
Anyway, the button and label issues persists. I have created them with the plugin Woocommerce PayPal Payments.

Currently I am not able to create a staging site: this option is not included in my hosting plan. Could I give you a temporary access to my site with the plugin 'Temporary login without password'? In this case, I need an email.
Thank you very much!

April 10, 2024 at 8:42 pm #15506453

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

I need to request temporary access (wp-admin and FTP) to your site where the problem has been replicated if possible – in order to be of better help. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.