ZF-6132: Chinese Languae using Zend Translate
Description
i'm going to making a website with multi language
Chinese Simple , Chinese Traditional & English
Now i am facing the problem in Detecting the locale
zh_CN Using Chinese Simple
zh_HK & zh_TW Using Chinese Traditional
In Zend Translate it only Detect zh_HK the first Two letter , so any solution for this ?
Comments
Posted by Thomas Weidner (thomas) on 2009-03-26T09:11:29.000+0000
It does not... When a translation for zh_HK is not available THEN it falls back to this translation for zh.
When you don't want this behaviour you have to make your own rerouting within your bootstrap file.
Posted by Thomas Weidner (thomas) on 2009-03-26T13:45:52.000+0000
Closing due to not an issue. Full locales are recognised the same as only languages.
Posted by Yau HAk Mo (tonyhk) on 2009-03-27T04:31:03.000+0000
No, Even all zh translation is available , when i choose my browser to zh-cn it will using zh-hk
Posted by Thomas Weidner (thomas) on 2009-03-27T06:06:45.000+0000
Choosing a locale within your browser has no effect to Zend_Translate when you are doing something wrong. This is no problem is Zend_Translate, this is a handling problem.
And sorry, but with this little information you gave a help is impossible.
Doing:
will NEVER result in the language zh_HK... this is impossible as rerouting is actually not available within ZF.