Date translation on the Checkout card in WooCommerce (STRIPE) –

On some occasions, the Forum receives queries such as: How to translate the date displayed on the card with Stripe and WooCommerce.

Hosting Mautic QuickStart -50% with support in Spanish
24 hours and free training

Send up to 1,000,000 emails/year. Mautic Support in Spanish 24 hours, 365 days

This field is usually not easily translated with WordPress translations.

One way to solve it and have the translations taken according to the language you want is by adding the following code in the function.php of the theme being used or use a plugin What

add_filter(“wc_stripe_elements_options”, “customize_stripe_options”); function customize_stripe_options($options) { $options = “en”; return $options; }

With this code you can modify the language of the place holder for the Stripe plugin.

Help us improve our content by sharing your opinion

WordPress and Woocommerce support team at .

See also  Comments
Loading Facebook Comments ...
Loading Disqus Comments ...