Originally Posted by
Thannaree
In files includes/languages/schinese.php and admin/includes/languages/schinese.php
Could you try adding locales for traditional?
I am pulling these from Google:
Hong Kong: 'zh_HK', 'zh_HK.utf8',
Traditional: 'zh_HANT', 'zh_HANT.utf8',
Taiwan: 'zh_TW', 'zh_TW.utf8',
Thank you Thannaree! I'm in Hong Kong so I guess I should use zh_HK.
Here is the original code:
Code:
$locales = array('zh_CN', 'zh_CN.utf8', 'zh');
@setlocale(LC_TIME, $locales);
I changed to :
Code:
$locales = array('zh_HK', 'zh_HK.utf8', 'zh');
@setlocale(LC_TIME, $locales);
The gibberish still exists.
I'm not familiar with programming. I tried to remove the definition of $locales, i.e.
Code:
$locales = array('zh_HK', 'zh_HK.utf8', 'zh');
@setlocale(LC_TIME, 'zh_HK.utf8');
The month gibberish problem seems solved!
Homepage
Admin page
But I wonder it will drive other problems in somewhere, won't it?
Could you please also telling me whether I have to change all table collations to utf8_generic_ci in database?
Thank you!
Bookmarks