Apple Pay Button Locale SK
-
Greetings,
I would like to ask about specific problem. I use this plugin on various pages, every one in different language, but I have problem with one language – Slovak.
I noticed that part of attribute
src
iniframe
islocale=sk
, which is correct.
But html of the button is<button class="ApplePayButton ApplePayButton--buy ApplePayButton--dark" lang="en" aria-label="Buy with Apple Pay" role="button" type="submit"></button>
As you can see, value of attributelang
staysen
.
When I try to change it in developer tools tosk
, the language normally changes to Slovak language, so it looks like Slovak translation exists.I’ve even tried to change it with hook
add_filter( 'wc_stripe_payment_request_button_locale', function() { return 'sk'; });
, but that only changes src attribute in iframe, which is correct even without this code.Hope there is some solution.
Thank you and have a good day.
Daniel
- The topic ‘Apple Pay Button Locale SK’ is closed to new replies.