Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.10.3
-
Fix Version/s: 1.10.4
-
Component/s: Zend_Locale, Zend_Translate
-
Labels:None
Description
It would be so nice if there would be any way of limiting the Locales considered by Zend_Locale 'auto'-detection setting.
List of Ideas:
- Introduce Zend_Locale::$_available as array containing locales supported by the application.
- Find a way to communicate with Zend_Translate (Zend_Locale setting 'translated') and ask for available locals
Limiting Zend_Locale based on a class which itself is based on Zend_Locale is nothing which should be implemented.
Other classes like Zend_Currency could be in need of informations which would then not be possible to provide when there are limitations based on a non Locale class.
When you need limitations then simply use the application resource or extend it to your own needs.