Adyen / adyen-ios

Adyen iOS Drop-in and Components
https://docs.adyen.com/checkout/ios
MIT License
151 stars 121 forks source link

override content string on iOS #1796

Closed aboyo closed 2 months ago

aboyo commented 2 months ago

Hi,

I am developing and app using flutter and the adyen flutter package, I want to change the title of the submit button. I referred to this doc for Android. it works fine.

howaver, in the iOS, I have followed this guide, and add Localizable.string, but it is not working.

How can I do the in iOS?

descorp commented 2 months ago

Hey @aboyo

You can check our Localization documentation on GitHub


FYI, if you believe something is missing on Flutter SDK - better address it there.

aboyo commented 2 months ago

Hey @aboyo

You can check our Localization documentation on GitHub

FYI, if you believe something is missing on Flutter SDK - better address it there.

yes, I have tried, I created the Localizable.strings file according the doc. Now it is located at ios/Runner/en-US.lproj/Localizable.strings, and I added the "adyen.card.storeDetailsButton" = "test", However it doesn't work. Is there any part that I missed~?

descorp commented 2 months ago

No, nothing is missing from your side. Our Flutter SDK using enforced locale and it is only searching amongst our internal translation files.

We will add to our backlog to also attempt to search in main bundle.

In a meanwhile you can use \payments flow (aka Advanced flow) and avoid sending shopperLocal to SDK.

aboyo commented 2 months ago

No, nothing is missing from your side. Our Flutter SDK using enforced locale and it is only searching amongst our internal translation files.

We will add to our backlog to also attempt to search in main bundle.

In a meanwhile you can use \payments flow (aka Advanced flow) and avoid sending shopperLocal to SDK.

okay, it works if I do not set shopperLocal

descorp commented 2 months ago

Thanks! Closing the issue.

We will keep working on improving "enforced" locale feature