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.
Tagged: Not WPML issue
This topic contains 7 replies, has 2 voices.
Last updated by Andreas W. 1 year, 8 months ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
August 9, 2023 at 6:00 pm #14177797 | |
frankR-32 |
Tell us what you are trying to do? Is there any documentation that you are following? Is there a similar example that we can see? What is the link to your site? |
August 9, 2023 at 6:01 pm #14177801 | |
frankR-32 |
i can share logins for test enviroment as well. |
August 9, 2023 at 6:12 pm #14177807 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, According to this comment, those strings seem not to be translatable, as they are controlled by browser language: https://wpml.org/forums/topic/paypal-button-translation/#post-11640349 This would mean that this text is not coded in PHP and is not translatable with WPML. Instead, it uses JavaScript and pre-defined translations coming from the PayPal plugin or PayPal's API. Do you see different results if you switch the browser language? Best regards |
August 9, 2023 at 6:16 pm #14177879 | |
frankR-32 |
Do you see different results if you switch the browser language? Same results |
August 9, 2023 at 6:36 pm #14177963 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, This further depends on which plugin you are using. To help you faster, I've enabled a private message for submitting the debug information for this support ticket. Please see this link for how to get this information from your site and give it to us: Make sure to only use the private reply form in order to provide this information. Please do not paste the debug information directly into a comment on this ticket. I am about to set up a test site for testing this and will get back to you later. Further, I can send you a link for a WPML Test Site on which you can set up PayPal and we test the issue there if you agree. Best regards |
August 9, 2023 at 6:44 pm #14177993 | |
frankR-32 |
. |
August 9, 2023 at 6:53 pm #14178049 | |
frankR-32 |
talking about these buttons |
August 9, 2023 at 8:25 pm #14178263 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, In my screenshot, you see an English WooCommerce Website with the browser language set to Spanish. As I explained earlier, it is the case here that those buttons are controlled by PayPal - there is sadly no way to translate them, as WPML only can translate strings that are based on PHP Code and that are able to be localized inside WordPress Themes or Plugins. Pay Pal is using JavaScript in order to update those strings and control them based on the language set by the user of the web browser. These buttons are sadly not translatable and also not controlled by the WordPress/WPML language settings. This test site uses the "WooCommerce PayPal Payments" similar to your website. Best regards |
August 14, 2023 at 1:41 pm #14197541 | |
frankR-32 |
okay thanks I got |