Hi Dries,

In the "users" table of the Drupal's database, there is a field named "laguage", which type is char(2).

Could you please do me a favor for all Chinese people, to change the database's structure?

1.Add "zh_CN" and "zh_TW" fields to the locales table.

Chinese people use two kinds of characters.In the China mainland, people use Chinese-Simplified (zh_CN), and people in Taiwan and Hongkong of China, use Chinese-Traditional (zh_TW).

2.Change the language field of the users table, from type char(2) to char(5).

Thanks & Best regards,
Hiweed

Comments

gábor hojtsy’s picture

2) should be implemented, 1) is not done for many translations, since you can do it yourself locally. BTW other examples for 2) include zh_HK (Chinese - Hong Kong Cantonese) and pt_BR (Brazilian Portuguese). So 2 chars are not enough for proper language code support.

killes@www.drop.org’s picture

Version: » master
Component: Miscellaneous » Code
Assigned: Unassigned » killes@www.drop.org

Is fixed in my new locale.module.

killes@www.drop.org’s picture

Anonymous’s picture