You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: