Page MenuHomePhabricator

{{GENDER}} Missing on Spanish messages (and probably other gendered languages)
Open, LowPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

{{Gender:}} is missing, it's important for gendered languages, such as Spanish.

What should have happened instead?:

Add {{Gender}}

Event Timeline

JaimeDes renamed this task from {{GENDER}} Missing on Spanish messages (an probably other gendered languages) to {{GENDER}} Missing on Spanish messages (and probably other gendered languages).Apr 24 2025, 5:51 AM

The problem is valid, but I'm not sure that it's possible to do it at the moment because all these messages are in the mobile apps. Gender support is mostly easy in MediaWiki, but the mobile apps' code doesn't run on the MediaWiki platform. But maybe the apps developers will have an idea.

Yes, unfortunately gendered strings are not yet supported very well in the ecosystems of native apps.
In Android, there's a "Grammatical Inflection" API that was introduced fairly recently (Android 14?), so it wouldn't be available on versions earlier than that, and even if it was available, it wouldn't support MediaWiki-style {{gender}} functions. This would require a significant refactor of how strings are converted from TranslateWiki to our native strings.xml syntax. Even the Android OS itself does not yet offer a global setting for the user's grammatical gender. On Android 15 I'm seeing only as a Developer setting.

HNordeenWMF triaged this task as Low priority.EditedApr 29 2025, 5:32 PM
HNordeenWMF subscribed.

iOS thinks it would require us moving to a new format of localized strings. Spike would be required to assess how much work.