checkout/frames-react

Arabic support for Frames

Opened this issue · 0 comments

How can I add Arabic support for Frames?

I know that I can use placeholders for the field names:

localization: {
              cardNumberPlaceholder: 'Arabic string',
              expiryMonthPlaceholder: 'MM',
              expiryYearPlaceholder: 'YY',
              cvvPlaceholder: 'CVV'
            },

But I am not able to change the direction to RTL. Since inside the iFrame the lang is still set to EN-GB (default locale) even though I use Arabic placeholders. So my input fields and their placeholders are not positioned correctly

<html lang="EN-GB">

Screen Shot 2021-05-05 at 4 33 55 AM