Page MenuHomePhabricator

Restore variant name translations
Closed, ResolvedPublicBUG REPORT

Description

What happens?:
The following files has been incorrectly deleted by L10n-bot in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/696351

  • languages/i18n/gan.json
  • languages/i18n/kk.json
  • languages/i18n/zh.json

The following files are deleted with purpose:

  • languages/i18n/ks.json
  • languages/i18n/zh-sg.json

What should have happened instead?:
Restore:

  • languages/i18n/gan.json
  • languages/i18n/zh.json

Restore and clean up (only keep variant name messages):

  • languages/i18n/kk.json

Stay deleted:

  • languages/i18n/ks.json
  • languages/i18n/zh-sg.json

Event Timeline

They were deleted on purpose: gan, kk, ks, zh use multiple scripts, and translations are in a specific script. Please explain what is the issue and not what happened.

The variant label (variantname-* messages) are supposed not being changed when changing the current display variant (?variant=).

I'm not sure how the variant translations are done for Chinese, but I think we can restore zh.json.

Nikerabbit renamed this task from Revert incorrectly deleted files by L10n-bot in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/696351 to Restore Chinese variant name translations.Jun 17 2021, 7:54 AM

I'm not sure how the variant translations are done for zh.

All variantname-* messages should be kept in the base variant/language file to prevent being fallback to specific variant files.

So only variantname-* messages should being kept in those json files.

Winston_Sung renamed this task from Restore Chinese variant name translations to Restore variant name translations.Jun 17 2021, 7:58 AM
Winston_Sung updated the task description. (Show Details)

Also, if possible, please update variantname-zh-tw in languages/i18n/zh.json to "臺灣正體" according to the discussion: https://zh.wikipedia.org/w/index.php?oldid=53225398#「台灣」「正體」?

Change 700626 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):

[mediawiki/core@master] Revert "Localisation updates from https://translatewiki.net."

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

Change 700626 merged by jenkins-bot:

[mediawiki/core@master] Revert "Localisation updates from https://translatewiki.net."

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