capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
https://capacitor-community-stripe.netlify.app/
MIT License
196 stars 77 forks source link

Have the UI and Words of paymentSheet in French #181

Closed darmoor closed 2 years ago

darmoor commented 2 years ago

Platform

Describe the bug I Test a french devices (iphone, android et computer) and the UI of the stripe payment sheet is always in english. Is there a way to have a french UI? or to translate the words?

To Reproduce Use on french device

Expected behavior The UI and words appear to be in french

Screenshots If applicable, add screenshots to help explain your problem.

Thank you for your answers Quentin

rdlabo commented 2 years ago

@darmoor iOS) Language is submit from device settings or support info.plist settings:

<key>CFBundleAllowMixedLocalizations</key>
<string>true</string>
<key>CFBundleLocalizations</key>
<array>
    <string>en</string>
    <string>es</string>
</array>

Android) Language is submit from device settings: https://developer.android.com/guide/topics/resources/localization

Web: French is not supported yet. Please create pull request to https://github.com/stripe-elements/stripe-elements/blob/main/src/utils/i18n.ts

Thanks.

rdlabo commented 2 years ago

Has this problem been resolved? No action taken, so this Issue is closed. If you continue to have problems, please create a new Issue.