Jump to content

Can I translate rECLD/LocalNames/LocalNamesEn.php to LocalNamesZh_hans.php?

Can I translate rECLD/LocalNames/LocalNamesEn.php to LocalNamesZh_hans.php?

Well I'm saying this file. Afaik those names are not in official CLDR survey tool, but also shown on Incubator when using zh-hans as interface language.

<?php

$languageNames = [

	/* Not in CLDR 27.0.1. Balochi language
	 * https://www.ethnologue.com/language/bcc
	 * Added 2008-07-02.
	 */
	'bcc' => '南俾路支语',

	/* Not in CLDR 27.0.1. Eastern Balochi language
	 * http://www.ethnologue.com/language/bgp
	 */
	'bgp' => '东俾路支语',

	/* Not in CLDR 27.0.1. Western Cham language
	* https://www.ethnologue.com/language/cja
	*/
	'cja' => '西占语',
	'cja-cham' => '西占语(占文)',
	'cja-latn' => '西占语(拉丁文)',
	'cja-arab' => '西占语(阿拉伯文)',

	/* Not in CLDR 27.0.1. Eastern Cham language
	* https://www.ethnologue.com/language/cjm
	*/
	'cjm' => '东占语',
	'cjm-cham' => '东占语(占文)',
	'cjm-latn' => '东占语(拉丁文)',
	'cjm-arab' => '东占语(阿拉伯文)',

	/* Not in CLDR 27.0.1. Jinyu language
	 * https://www.ethnologue.com/language/cjy
	 */
	'cjy' => '晋语',
	'cjy-hans' => '晋语(简体)',
	'cjy-hant' => '晋语(繁体)',

	/* Not in CLDR 27.0.1. Swedish language
	 * https://www.ethnologue.com/language/dlc
	 * Added 2008-02-16.
	 */
	'dlc' => '达拉纳语',

	/* Not in CLDR 27.0.1. Romance language.
	 * https://www.ethnologue.com/language/eml
	 * Added 2008-01-17.
	 */
	'eml' => '艾米利亚-罗马涅语',

	/* Not in CLDR 27.0.1. Konkani language
	 * https://www.ethnologue.com/language/gom
	 * Added 2008-09-02.
	 */
	'gom-deva' => '果阿孔卡尼语(天成文)',
	'gom-latn' => '果阿孔卡尼语(拉丁文)',

	/* Not in CLDR 27.0.1. Maharashtrian Konkani language
	 * https://www.ethnologue.com/language/knn
	 */
	'knn' => '马哈拉施特拉孔卡尼语',

	/* Not in CLDR 27.0.1. Laki language
	 * https://www.ethnologue.com/language/lki
	 */
	'lki' => '拉科语',

	/* Not in CLDR 27.0.1. Southern Luri language
	 * https://www.ethnologue.com/language/luz
	 */
	'luz' => '南卢尔语',

	/* Not in CLDR 27.0.1. Mari language
	 * https://www.ethnologue.com/language/mhr
	 * Added 2008-05-22.
	 */
	'mhr' => '东马里语',

	/* Not in CLDR 27.0.1. Malay language
	 * https://www.ethnologue.com/language/mui
	 * Added 2010-02-11.
	 */
	'mui' => '巨港马来语',

	/* Not in CLDR 27.0.1. Livvi-Karelian language
	 * https://www.ethnologue.com/language/olo
	 */
	'olo' => '李维-卡累利阿语',

	/* Not in CLDR 27.0.1. Lahnda language.
	 * https://www.ethnologue.com/language/pnb
	 * Added 2008-10-29.
	 */
	'pnb' => '西旁遮普语',

	/* Not in CLDR 27.0.1. Dari language.
	 * https://www.ethnologue.com/language/prs
	 */
	'prs' => '达利语',

	/* Not in CLDR 27.0.1. Eastern Romance language.
	 * https://www.ethnologue.com/language/ruq
	 * Added 2008-02-04.
	 */
	'ruq' => '梅戈来诺-罗马尼亚语',
	'ruq-cyrl' => '梅戈来诺-罗马尼亚语(西里尔文)',
	'ruq-grek' => '梅戈来诺-罗马尼亚语(希腊文)',
	'ruq-latn' => '梅戈来诺-罗马尼亚语(拉丁文)',

	/* Not in CLDR 27.0.1. Shawiya language
	 * https://www.ethnologue.com/language/shy
	 */
	'shy' => '沙维雅语',
	'shy-arab' => '沙维雅语(阿拉伯文)',
	'shy-latn' => '沙维雅语(拉丁文)',
	'shy-tfng' => '沙维雅语(提非纳文)',

	/* Not in CLDR 27.0.1. Used for MediaWiki localisation
	 */
	'bat-smg' => '萨莫吉提亚语',
	'be-tarask' => '白俄罗斯语(传统正写法)',
	'cdo' => '闽东语',
	'crh-cyrl' => '克里米亚鞑靼语(西里尔文)',
	'crh-latn' => '克里米亚鞑靼语(拉丁文)',
	'de-formal' => '德语(正式用法)',
	'gan-hans' => '赣语(简体)',
	'gan-hant' => '赣语(繁体)',
	'hif-latn' => '斐济印地语(拉丁文)',
	'ike-cans' => '东加拿大语(音节文字)',
	'ike-latn' => '东加拿大语(拉丁文)',
	'kk-cn' => '哈萨克语(中国)',
	'kk-kz' => '哈萨克语(哈萨克斯坦)',
	'kk-tr' => '哈萨克语(土耳其)',
	'kk-arab' => '哈萨克语(阿拉伯文)',
	'kk-cyrl' => '哈萨克语(西里尔文)',
	'kk-latn' => '哈萨克语(拉丁文)',
	'ks-arab' => '克什米尔语(阿拉伯文)',
	'ks-deva' => '克什米尔语(天成文)',
	'ku-latn' => '库尔德语(拉丁文)',
	'roa-rup' => '阿罗马尼亚语语',
	'sr-ec' => '塞尔维亚语(西里尔文)',
	'sr-el' => '塞尔维亚语(拉丁文)',
	'tg-cyrl' => '塔吉克语(西里尔文)',
	'tg-latn' => '塔吉克语(拉丁文)',
	'tt-cyrl' => '鞑靼语(西里尔文)',
	'tt-latn' => '鞑靼语(拉丁文)',
	'ug-arab' => '维吾尔语(阿拉伯文)',
	'ug-latn' => '维吾尔语(拉丁文)',
	'ydd' => '东意第绪语',
	'zh-classical' => '文言文',
	'zh-cn' => '中文(中国大陆)',
	'zh-hk' => '中文(香港)',
	'zh-min-nan' => '闽南语',
	'zh-sg' => '中文(新加坡)',
	'zh-tw' => '中文(台湾)',
	'zh-yue' => '粤语', # language redirect

];
Liuxinyu970226 (talk)01:10, 25 July 2017

My thread seems ignored by the entire world...

Liuxinyu970226 (talk)13:40, 7 August 2017

I also want to translate this. It turns out that LocalNamesDe.php etc is not pulled from translatewiki, so let's hop to phab.

Crowley666 (talk)09:06, 16 July 2021