Page MenuHomePhabricator

Change the fallback sequence for Konkani
Closed, ResolvedPublic

Description

The fallback sequence for Konkani (gom) was changed in February 2023 to include Hindi (T144045#8647466). This caused Hindi text to appear at several places in the Konkani projects, leading to inconvenience to users. Konkani readers are not adept at reading Hindi, and are more comfortable with English.

The current fallback sequence does not include Konkani in the Latin script (gom-latn), and it should be added, since if a Konkani reader can read English, then they can also read Konkani in the Latin script.

Therefore, the fallback sequence should be changed from
gom --> gom-deva --> hi --> en
to
gom --> gom-deva --> gom-latn --> en

Local discussions in Konkani projects:
https://gom.wikipedia.org/wiki/Topic:Xgcx6om86ne4fxfc
https://gom.wiktionary.org/wiki/Wiktionary:Tintto#Change_in_fallback_sequence_for_Konkani

In languages/messages/MessagesGom.php, change the line

$fallback = 'gom-deva, hi';

to

$fallback = 'gom-deva, gom-latn';

And in languages/messages/MessagesGom_deva.php, change the line

$fallback = 'hi'

to

$fallback = 'gom-latn'

Event Timeline

For the record, I changed this because the fallback flow was previously inconsistent with itself (gom -> gom-deva -> en, but gom-deva -> hi -> en), which confused the Babel extension. The fallback from gom-deva to Hindi appears to have been present since the language was added in 2015. As long as the fallback flow is consistent (which it appears these changes would create), I have no objection.

The Hindi fallback originates from T96468#1231046/T96468#1232717. Oddly @Mjbmr, who confirmed that, has no significant edits to any Konkani projects. Just wanted to get the history clear.

For the record, I changed this because the fallback flow was previously inconsistent with itself (gom -> gom-deva -> en, but gom-deva -> hi -> en), which confused the Babel extension. The fallback from gom-deva to Hindi appears to have been present since the language was added in 2015. As long as the fallback flow is consistent (which it appears these changes would create), I have no objection.

Even though Hindi was defined in the fallback sequence gom-deva -> hi -> en, it never appeared on the wikis, because the fallback was controlled by gom -> gom-deva -> en.

Change 917941 had a related patch set uploaded (by Pppery; author: Pppery):

[mediawiki/core@master] Remove hindi fallback and add gom-latn fallback per request

https://gerrit.wikimedia.org/r/917941

Change 917941 merged by jenkins-bot:

[mediawiki/core@master] Remove hindi fallback and add gom-latn fallback per request

https://gerrit.wikimedia.org/r/917941

Pppery removed a project: Patch-For-Review.