Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Not an Issue
-
Affects Version/s: 1.10.2
-
Fix Version/s: 1.10.3
-
Component/s: Zend_Locale
-
Labels:None
Description
Zend_Locale::getTranslation('es_AR', 'language', 'en') returns false;
It should either fall back to this:
Zend_Locale::getTranslation('es', 'language', 'en')
Or (to be clever?) it could translate the language/territory separately
Zend_Locale::getTranslation('es', 'language', 'en').' ('.Zend_Locale::getTranslation('AR', 'territory', 'en').')'
Why should the translation itself fall back ??
This is unlogic.
The locale can fall back, but not the translation.
When you are requesting the translation for "country" why should it then fall back to "city" ?