From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D83243858C2C; Sat, 26 Aug 2023 13:42:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D83243858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693057379; bh=a9qKReNZMx1k7RcmTheRPlq2cQcpjG6qJ5jNSpj9NiA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ysNdzIZCKsst5KUED0CO7hy8tPQkZe29xpub8GjsFzBP+cHrpg80a+YmRKdnveB// cTsMxmgykYypTopIV/19KNBtV4lJBb2N1IS/Gq42bZNhPCeiAK7MgGYSWub+Ab1sWc /VL+C6iZze3v/yNnHFhdHKu2i8fsH+6s/sTYDTxw= From: "taozuhong at hotmail dot com" To: libc-locales@sourceware.org Subject: [Bug localedata/30761] zh-Hans: new locale Date: Sat, 26 Aug 2023 13:42:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: taozuhong at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30761 --- Comment #15 from taozuhong --- (In reply to taozuhong from comment #14) > > What's the difference to the existing zh_CN and zh_HK locales? Just the= name? >=20 >=20 > Let's make it simple ASAP: > zh_CN =3D Simplified Chinese + China mainland > zh_HK =3D Traditional Chinese + China Hong Kong > zh_TW =3D Traditional Chinese + Chinese Taiwan > zh_MO =3D Traditional Chinese + China Macau >=20 > zh_Hans =3D (zh_CN + zh_HK + zh_TW + zh_MO + zh_SG + Simplified Chinese + > Others if want Simplified Chinese) > zh_Hant =3D (zh_CN + zh_HK + zh_TW + zh_MO + zh_SG + Traditional Chinese + > Others if want Traditional Chinese) >=20 > the current locale could map to zh_Hans/zh_Hant: > zh_CN =3D zh_Hans_CN > cmn_CN =3D zh_Hans_CN > wuu_CN =3D zh_Hans_CN > zh_HK =3D zh_Hant_HK > cmn_HK =3D zh_Hant_HK > yue_HK =3D zh_Hant_HK > zh_TW =3D zh_Hant_TW > cmn-TW =3D zh_Hant_TW > cmn_TW =3D zh_Hant_TW > nan_TW =3D zh_Hant_TW > hak_TW =3D zh_Hant_TW > lzh_TW =3D zh_Hant_TW > yue_TW =3D zh_Hant_TW >=20 > So if we keep use zh_CN/zh_HK locale names scheme, then we must add the > follow locale names: > Simplified Chinese > cmn: zh_CN(China mainland), zh-SG (Singapore), zh-MY (Malaysia), zh-ID > (Indonesia), ...... > wuu: wuu_CN(China mainland) > yue: maybe exist > nan: maybe exist > hak: maybe exist > lzh: maybe exist >=20=20=20 > Traditional Chinese > cmn: zh_TW (Chinese Taiwan), zh_HK (China Hong Kong), zh_MO (China Maca= u), > ...... > yue: yue_HK(China Hong Kong) > nan: nan_TW(Chinese Taiwan) > hak: hak_TW(Chinese Taiwan) > lzh: lzh_TW(Chinese Taiwan) > yue: yue_TW(Chinese Taiwan) >=20 > While you are facing the choices, which one will be chosen? > zh_Hans/zh_Hant VS > zh_CN/zh_HK/zh_TW/zh_SG/zh_MY/zh_ID/zh_MO/yue_HK/nan_TW/hzk_TW/wuu_CN/.... https://learn.microsoft.com/en-us/windows/win32/intl/locale-names https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual= /BPInternational/LanguageandLocaleIDs/LanguageandLocaleIDs.html [language designator]_[region designator] [language designator]-[script designator] [language designator]-[script designator]_[region designator] the LOCALE_SNAME value of Windows and macOS follows the pattern -