-
-
Notifications
You must be signed in to change notification settings - Fork 338
Open
Labels
dontclosePrevents the stale bot from closing this issue/prPrevents the stale bot from closing this issue/prenhancementIndicates new feature requestsIndicates new feature requests
Description
Problem description
- Google play only accepts a specific list of languages, many of which with region indications: https://support.google.com/googleplay/android-developer/answer/9844778?visit_id=638668750577796187-2587717613&rd=1#zippy=%2Cview-list-of-available-languages
- Android prefers resources without region indications
- We have two different sets of languages in our translation management tool (Weblate); one for website & app, one for play store listings (full & short descriptions; screenshots)
Because of the above, we have to manually maintain the languages for all components (website has 4, play store listing 3, and the app itself 1). That's a bit of a pain.
Potential solutions/workarounds
Allow to provide a language mapping, or have such mapping built in. For example:
- if language source file exists without region indication, and Google Play expects one with region
- Example 1: we have resources in
bn
(may be used both in Bangladesh & India). Gradle play publisher takes this content and provides it to Google with the codebn_BD
. - Example 2: one might have translations in
pt
(again, without region). Gradle play publisher takes this and provides it to Google both with the codespt_PT
andpt_BR
- Example 1: we have resources in
- exact matches (with/without region) are taken as such
- if language source file exists with region indication, and Google Play expects without region, then it strips the region code
- Example: source material in
lt_LT
, Grade play publisher takes this and provides it aslt
to Google
- Example: source material in
- for cases with multiple matches, the user can indicate a mapping via some setting.
- Example:
ro_RO
andro_BG
exist, and Google expectsro
, then the user must indicate which resource is used to provided asro
or an error will be returned. (Bad example, just to show the point. Not sure if needed, given it's probably an unlikely scenario)
- Example:
- for languages (& regions) that Google doesn't support, nothing is submitted (e.g.
eo
)
Additional context
I realise that this would be Triple-T covering for Googles weird stuff. But it would be dam handy :-)
Metadata
Metadata
Assignees
Labels
dontclosePrevents the stale bot from closing this issue/prPrevents the stale bot from closing this issue/prenhancementIndicates new feature requestsIndicates new feature requests