Hi Tomasz,
sorry, my mistake.
With version 24 of the CLDR (http://cldr.unicode.org/) the locales
"zh_Hans_HK" and "zh_Hant_HK" are no longer part of CLDR. So we introduced
the aliases.
But in the meantime the two locales are back in the CLDR library.
Can you open a bug report for this problem?
(https://github.com/zendframework/zf1/issues)
Thanks and kind regards,
Frank
Am 13.07.2015, 18:52 Uhr, schrieb ts <[email protected]>:
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
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]