Credit Card Form Labels
-
Hi,
I wrote before about the credit card form labels not being translated as can be seen here
I added a filter according to the documentation: https://woocommerce.com/document/stripe/#how-can-i-translate-the-placeholders-text-inside-the-credit-card-form
The filter added was:
add_filter( 'wc_stripe_elements_options', 'wc_update_locale_in_stripe_element_options' ); function wc_update_locale_in_stripe_element_options( $options ) { return array_merge( $options, array( 'locale' => 'es', ) ); };However, this is only changing the placeholders of the fields, but not the field labels.
I got an answer refering to the locale of the browser being used, but I understand the whole idea of the filter that is being added is to override the locale. Anyway, I checked with browsers with the language and locale set in spanish, and the result is still the same.
I’d be really grateful with anyone that can help with this…
The page I need help with: [log in to see the link]
The topic ‘Credit Card Form Labels’ is closed to new replies.