I would like to know if it is possible to config the payment method name (in adyen-checkout__payment-method__header) based on the locale.
eg: Instead of "credit card", payment method name shows "carte bancaire" if locale is "fr_FR". Thanks!
I would like to know if it is possible to config the payment method name (in adyen-checkout__payment-method__header) based on the locale.
eg: Instead of "credit card", payment method name shows "carte bancaire" if locale is "fr_FR". Thanks!
The Adyen Drop-In and components do support localization, [as described here].1.
You would have to pass the locale in the configuration object when initializing the Drop-in.
This is how it looks like for French :
const configuration = {
locale: "fr-FR",
...
};
Finding out which locale to use may depend on your implementation, user choices or browser settings. Here is an answer with more information about this.
If needed, you can also decide to customize a given localization, the procedure is described here.