Page MenuHomePhabricator

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

Authored by epriestley on Jul 1 2016, 1:30 PM.
Tags
None
Referenced Files
F19819324: D16212.id.diff
Fri, Mar 6, 5:30 AM
F19775800: D16212.id38999.diff
Feb 22 2026, 2:43 AM
F19576964: D16212.id.diff
Feb 1 2026, 10:13 AM
F19573368: D16212.id39001.diff
Feb 1 2026, 5:09 AM
F19568840: D16212.id39001.diff
Jan 31 2026, 10:17 PM
F19556598: D16212.id.diff
Jan 30 2026, 8:22 PM
F19544106: D16212.diff
Jan 23 2026, 3:36 AM
F19544103: D16212.diff
Jan 23 2026, 3:31 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.