Page MenuHomePhabricator

Use language converter for converting system messages as fallback messages like Wikibase item labels
Open, LowPublicFeature

Description

In Wikibase, multilanguage labels can be "fallback'd" with language conversion from language converters.

For example, zh-hans can be fallback'd from zh, zh-hans, etc. with converted result.

We should consider make this functionality avalible for system messages.


An idea that I have had for some time.. Now making a bugzilla entry :)

Some languages have a LanguageConverter implementation. Often these languages have a localisation for each script. Sometimes (not always) these conversions are exact mappings without any or only a few ambiguities. In such cases (not when there is ambiguity!) it should be possible to let LanguageConverter convert the interface message, so translator efforts are not duplicated.

Take e.g.

  • ike-latn
  • ike-cans

Both are localised, and their messages are identical. If you transliterate ike-latn to Syllabics (and vice versa) you have the exact same message.

So it would be useful to localise to only one of them, and then let MediaWiki convert it to the other script when generating localisation caches.


Version: unspecified
Severity: enhancement

Details

Reference
bz32971

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:01 AM
bzimport set Reference to bz32971.
bzimport added a subscriber: Unknown Object (MLST).
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:00 AM
Aklapper removed a subscriber: wikibugs-l-list.
Winston_Sung renamed this task from Possibility to use language converter for converting interface messages to Use language converter for converting system messages as fallback messages like Wikibase item labels.Dec 24 2023, 5:33 AM
Winston_Sung updated the task description. (Show Details)
Winston_Sung added a project: Chinese-Sites.
Winston_Sung moved this task from Backlog to MediaWiki core on the Chinese-Sites board.
Winston_Sung added subscribers: Nikerabbit, jhsoby.