Paypal button locale/language not working, paypal button is not translated
-
Hello, I’m writing to report issue we are having with paypal not receiving proper locale from Braintree for WooCommerce Payment Gateway plugin.
We are using Braintree account for multiple domains and sites with different country domain. We are using only one account for this.
So for example on checkout for french site your plugin finds proper locale fr_FR as you can see from the screenshot https://imgur.com/a/AHKYLdq. But the problem is paypal is not receiving that locale and is forcing it to en_GB which is not the way as it should be. I saw function in your plugin get_safe_locale but the problem is I don’t know if you are sending proper locale to paypal. I also try to force locale with this function as you told me wc_braintree_paypal_locale but without any success. So maybe I’m wrong but it seems like the issue is on you side. For example on slovenian pages it’s forcing en_GB, in your function safe_locale there is no option for slovenian language locale.
I found out that if I change src url in iframe (locale.x=en_GB to locale.x=fr_FR) it loads the correct locale for paypal button –> screenshot https://imgur.com/a/dpIusqePlease help us solve the problem ??
Regards,
Janez
The page I need help with: [log in to see the link]
- The topic ‘Paypal button locale/language not working, paypal button is not translated’ is closed to new replies.