coderifous / jquery-localize

a jQuery plugin that makes it easy to internationalize your web site.
465 stars 142 forks source link

fall back logic for zh-xx #22

Open SongChen opened 11 years ago

SongChen commented 11 years ago

"zh-SG", "zh-CN" should fall back to "zh-HANS" (or "zh-CHS") "zh-TW", "zh-HK", "zh-MO" should fall back to "zh-HANT" (or "zh-CHT") "zh" is not a valid generic culture.

coderifous commented 9 years ago

Is there an authoritative resource you can point me to that would show the relationships you describe in your comment - potentially for this and other languages? I could potentially add support for other specifically-handled fallbacks as well, assuming these are not the only ones.