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

Greek Localization Issue - Payment Sheet Not Displaying in Greek for Most Users #8263

Open
Nikolas253 opened this issue Apr 12, 2024 · 1 comment
Labels

Comments

@Nikolas253
Copy link

Users in Greece and Cyprus who have their device language set to Greek do not see the payment sheet in Greek, but in English instead.

This causes the Stripe payment sheet to remain in English because the strings for the general Greek locale are missing.

In Android development, the system selects language resources based on the availability of matching locale directories. For Greek, the lookup follows this order:

res/values-el-rGR/strings.xml (specific for Greece)
res/values-el/strings.xml (general Greek)
res/values/strings.xml (default) (English for my project)

Most devices in Greece and Cyprus are likely configured with the general Greek locale (el) rather than the country-specific Greek locale (el-GR). As a result, when the locale is set to el, Android skips res/values-el-rGR and falls back to the default res/values if res/values-el is not present.

To resolve this issue, I recommend adding a res/values-el/strings.xml resource file that includes all Greek translations. This will ensure that Greek users see the app in their language, regardless of whether their specific locale is el.

@Nikolas253 Nikolas253 added the bug label Apr 12, 2024
@amk-stripe
Copy link
Contributor

Thanks for letting us know! We will look into supporting this locale correctly

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

No branches or pull requests

2 participants