Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load RTL layout #19

Open
aakash29 opened this issue Feb 3, 2021 · 5 comments
Open

Unable to load RTL layout #19

aakash29 opened this issue Feb 3, 2021 · 5 comments

Comments

@aakash29
Copy link

aakash29 commented Feb 3, 2021

{
amount=13000,
sdk_token=************,
merchant_reference=***********,
customer_email=e
gmail.com,
currency=QAR,
language=ar,
command=PURCHASE
}

Arabic layout is not getting load even though I am passing ar in language key in payfort request. kindly help with this.

@PayFortIntegration
Copy link

Hello Aakash29,

Thanks for contacting us, please contact us directly on [email protected] in order to assist you better.

Best regards,
Integration Team.

@rajanbhavsar
Copy link

Yes @aakash29

I am also facing the Same Issue Currently I am following the below SDK Version:

SDK 1.8 for Android

I also setup the two layout folders as below:

  1. layout
  2. layout-ar

have two versions and passing the language as 'ar' in Integration with Payfort SDK.

But Still facing the Same English Language Ui Page is displaying with Arabic One.

I am too much confused and facing this issue with 2 days to identify now i think there is an issue from SDK Support.

@PayFortIntegration
Copy link

Hello @rajanbhavsar,

Please note that the device language will be considered and prioritized to set the Localization not the Global Localization for the app , so the activities / any model integrated with the application will not see the global app's Localization , it will see the device language only. For example if the device language is English and the Global Localization for the app is Arabic , plus the language set in the SDK Operations request is Arabic , the Localization for the SDK payment pages will be in English without considering the language set in the Mobile SDK.

Please don't hesitate to contact us directly on [email protected] for further support.

Best regards,
Integration Team.

@ansshkki
Copy link

ansshkki commented Jun 8, 2021

@PayFortIntegration I have device language set to ar but the Arabic UI is not shown, only layout direction becomes RTL but the strings are not affected.
I have tried with the standard layout and customized one, but I have no result.

@maunishWisdomlogix
Copy link

if you get Device language so what is mining to pass language parameters to APIs Please give a solution for changing language without changing device language

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants