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)
Mon, Nov 11, 6:25 AM
Unknown Object (File)
Wed, Nov 6, 7:34 PM
Unknown Object (File)
Mon, Nov 4, 7:06 PM
Unknown Object (File)
Oct 22 2024, 6:33 PM
Unknown Object (File)
Oct 22 2024, 11:53 AM
Unknown Object (File)
Oct 5 2024, 10:39 AM
Unknown Object (File)
Sep 21 2024, 9:11 PM
Unknown Object (File)
Sep 4 2024, 9:03 AM
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.