Page MenuHomePhabricator

Provide base "Simplified" and "Traditional" Chinese locales
ClosedPublic

Authored by epriestley on Jul 1 2016, 1:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 28, 6:14 AM
Unknown Object (File)
Mon, Mar 18, 7:34 PM
Unknown Object (File)
Mon, Mar 18, 4:44 PM
Unknown Object (File)
Fri, Mar 15, 4:23 AM
Unknown Object (File)
Tue, Mar 5, 11:18 AM
Unknown Object (File)
Feb 16 2024, 10:50 AM
Unknown Object (File)
Feb 16 2024, 10:30 AM
Unknown Object (File)
Feb 12 2024, 9:05 PM
Subscribers
None

Details

Summary

Fixes T11249. From what I can tell, the locale tree for Chinese looks like this in modern usage (maybe?):

  • zh_Hans Chinese (Simplified)
    • zh_ZH Chinese (Simplified, China)
    • zh_SG Chinese (Simplified, Singapore)
  • zh_Hant Chinese (Traditional)
    • zh_TW Chinese (Traditional, Taiwan)
    • zh_HK Chinese (Traditional, Hong Kong)

Except that everyone disagrees and does different things and various standards define esoteric things like "zh-Hans-SG".

But I think inheriting them like this mostly makes sense, probably.

This just adds the base locales; we can add the child locales later to distinguish regional variance like "color" vs "colour".

Test Plan

Saw both options in the translation menu.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Provide base "Simplified" and "Traditional" Chinese locales.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jul 1 2016, 1:59 PM
This revision was automatically updated to reflect the committed changes.