Page MenuHomePhabricator

Change the localised and local names of languages on Names.php and others (autonym for zh-cn, zh-hans, zh-hant, zh-hk, zh-min-nan, zh-mo, zh-my, zh-sg, zh-tw)
Open, Needs TriagePublic

Description

Hello. I would like to request the following from the developers:

  1. Currently, lines 497 to 505 of https://gerrit.wikimedia.org/g/mediawiki/core/+/HEAD/languages/data/Names.php has the following:
		'zh-cn' => "中文(中国大陆)", # Chinese (PRC)
		'zh-hans' => "中文(简体)", # Mandarin Chinese (Simplified Chinese script) (cmn-hans)
		'zh-hant' => "中文(繁體)", # Mandarin Chinese (Traditional Chinese script) (cmn-hant)
		'zh-hk' => "中文(香港)", # Chinese (Hong Kong)
		'zh-min-nan' => 'Bân-lâm-gú', # Min-nan -- (see T10217)
		'zh-mo' => "中文(澳門)", # Chinese (Macau)
		'zh-my' => "中文(马来西亚)", # Chinese (Malaysia)
		'zh-sg' => "中文(新加坡)", # Chinese (Singapore)
		'zh-tw' => "中文(台灣)", # Chinese (Taiwan)

I think that they should be changed as:

		'zh-cn' => "简体中文(中国大陆)", # Chinese (PRC)
		'zh-hans' => "简体中文", # Mandarin Chinese (Simplified Chinese script) (cmn-hans)
		'zh-hant' => "繁體中文", # Mandarin Chinese (Traditional Chinese script) (cmn-hant)
		'zh-hk' => "繁體中文(香港)", # Chinese (Hong Kong)
		'zh-min-nan' => 'Bân-lâm-gú', # Min-nan -- (see T10217)
		'zh-mo' => "繁體中文(澳門)", # Chinese (Macau)
		'zh-my' => "简体中文(马来西亚)", # Chinese (Malaysia)
		'zh-sg' => "简体中文(新加坡)", # Chinese (Singapore)
		'zh-tw' => "正體中文(臺灣)", # Chinese (Taiwan)

   or

		'zh-cn' => "中文(中国大陆)", # Chinese (PRC)
		'zh-hans' => "简体中文", # Mandarin Chinese (Simplified Chinese script) (cmn-hans)
		'zh-hant' => "繁體中文", # Mandarin Chinese (Traditional Chinese script) (cmn-hant)
		'zh-hk' => "中文(香港)", # Chinese (Hong Kong)
		'zh-min-nan' => 'Bân-lâm-gú', # Min-nan -- (see T10217)
		'zh-mo' => "中文(澳門)", # Chinese (Macau)
		'zh-my' => "中文(马来西亚)", # Chinese (Malaysia)
		'zh-sg' => "中文(新加坡)", # Chinese (Singapore)
		'zh-tw' => "中文(臺灣)", # Chinese (Taiwan)

I think that the first idea is better.

Could you change that? Thank you.

Event Timeline

2 comments:

  1. For names.php: Why do you think that your translations would be better? Any source?
  2. For CLDR: Changes must be done upstream at http://cldr.unicode.org/ We import from this source.

I'll answer you.

1.【About the change "中文(简体)" and "中文(繁體)" to "简体中文" and "繁體中文"】In many operating systems or websites, the language name is like my suggested. For example: Android, macOS, iOS, Google, and others. You can see it by visiting the language settings of your operating system or website. To see your Google language setting: https://myaccount.google.com/language
 【About the change "台灣" to "臺灣"】Please see https://zh.wikipedia.org/wiki/臺灣#「-{臺}-」與「-{台}-」 .
  It says: 臺灣的漢字正式書寫為「臺灣」,而「臺」為正體字,但與異體字「台」通用,現今民間與媒體多用「台灣」,在中華民國的官方國書、文件中則使用正式的「臺灣」。
  Translate: Taiwan's Chinese characters are officially written as "臺灣", while "臺" is a formal character, but it is common with variant character "台". Nowadays, the folk and media use "台灣" more often than not, and the official documents of the Republic of China use "臺灣".
  Because of the above, I suggested.

  1. Sorry, but I don't know much about CLDR. If you know about this, I would like to know.
  1. Sorry, but I don't know much about CLDR. If you know about this, I would like to know.

You have to file a ticket at CLDR directly, see http://cldr.unicode.org/index/bug-reports . After your request was fulfilled the change will be part of the next CLDR release (twice a year) and then imported to MediaWiki CLDR extension.

You have to file a ticket at CLDR directly, see http://cldr.unicode.org/index/bug-reports . After your request was fulfilled the change will be part of the next CLDR release (twice a year) and then imported to MediaWiki CLDR extension.

Thank you for telling me.

Aklapper changed the task status from Open to Stalled.Jun 5 2021, 1:58 PM
Aklapper added a project: Upstream.
Aklapper updated the task description. (Show Details)

Stalling as this needs upstream changes; please link to the CLDR.unicode.org ticket once created

Raymond changed the task status from Stalled to Open.Jun 5 2021, 2:00 PM

Stalling as this needs upstream changes; please link to the CLDR.unicode.org ticket once created

Please allow me a fix of the status: The first part is about MediaWiki core. The 2nd part, you have removed, needs an upstream patch

Esc3300 renamed this task from Change the localised and local names of languages on Names.php and others to Change the localised and local names of languages on Names.php and others (autonym for zh-cn, zh-hans, zh-hant, zh-hk, zh-min-nan, zh-mo, zh-my, zh-sg, zh-tw).Jul 4 2021, 12:05 PM
Esc3300 added a project: Language codes.
Esc3300 moved this task from Backlog to MediaWiki core on the Language codes board.