Page MenuHomePhabricator

Organize `sh` language code
Closed, ResolvedPublic1 Estimated Story Points

Description

Hi Niklas,

As part of our efforts to create an sh transliterator as requested by the sh Wikipedia community, we need to organize the sh language code. As such, we ask that you please make the following changes to translatewiki:

  • Rename sh to sh-latn
  • Create sh-cyrl

This is due to the fact that Serbo-Croatian is written in two different script (Latin and Cyrillic), with neither of them being the "main" one. The current solution is to write strings in both scripts, divided by a slash (so e.g. "srpskohrvatski / српскохрватски"). This would split the string into the two language codes respectively.

Thank you in advance.

Details

Related Changes in Gerrit:

Event Timeline

Winston_Sung changed the task status from Open to In Progress.Jul 17 2023, 10:45 AM
Winston_Sung claimed this task.

(mark as resolved after caching / database table rebuilt issues got resolved, which is: the L10n-bot export them as expected, and (probably) show the correct translation statistics on translatewiki.net .)

Was this discussed anywhere on the sh.wikipedia or other wikis in this language?

Hi Amir,

The community on sh.wiki supports making the desired changes in the switch from sh being a combination of latn and cyrl to these being separate with a Language Converter doing the transliteration. It is the only wiki using the code, as hr, bs, and sr are still individual projects.

Kind regards,
Denis

Can you please link to a discussion about it on the wiki?

Uhh, that predates me. @Aca, are you able to help out here?

Hi @Amire80, Aca has informed me that he is currently on vacation without access to his laptop, but shared this with me out-of-band:
https://sh.wikipedia.org/wiki/Wikipedija:Pijaca/Tehni%C4%8Dko-jezi%C4%8Dka_rje%C5%A1enja

Renaming should already be completed for now.

Change 1006877 had a related patch set uploaded (by Winston Sung; author: Winston Sung):

[translatewiki@master] Disable sh, use sh-cyrl, sh-latn instead

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

Change #1006877 merged by jenkins-bot:

[translatewiki@master] Disable sh, use sh-cyrl, sh-latn instead

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

Nikerabbit set the point value for this task to 1.