malaba
malaba

Reputation: 654

How to localise the title for CreditCard Component in Adyen?

How to localise the big title "Credit Card" at top?

Here we are in Russian, and I localised all the little fields titles. You just have to overwrite something like adyen.card.numberItem.title. But none are defined for the big title. So it will always be in English. Customers is complaining and he is right. Any idea someone?

I'm using a CardComponent.

CC CardComponent

Upvotes: 1

Views: 270

Answers (1)

Beppe C
Beppe C

Reputation: 13993

A better way to support Localization is to define shopperLocale where ru_RU is already supported (you shouldn't need then to override every field - however you can still do that if you prefer).

The payment name can be localized setting paymentMethodObject.name, after fetching the response from the payment methods request.

Upvotes: 1

Related Questions