Hi Frank

Thanks for the quick answer. I am currently using ZF 1.12.13 (the newest
available ZF1 version). While instantiating a Zend_Locale (with locale
string "zh_Hans_HK") object it changes it to "zh_HK". It does that in it's
constructor already (method _prepareLocale, lines 1938-1942). From this
point on the application is working with "zh_HK" (which is not what I want).

Like I wrote in the beginning I need to have different translations for
zh_Hans_HK and zh_Hant_HK (translator gets the current locale from a
Zend_Locale instance). If Zend_Locale treats both of the locales as zh_HK
then it is impossible to distinguish the translations.
Am I missing something here? If so I would be grateful for any advice.

Regards
Tomasz



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF1-Zend-Locale-and-locales-like-zh-Hans-HK-tp4662621p4662624.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to