Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2
-
Fix Version/s: 1.8.4
-
Component/s: Zend_Application
-
Labels:None
Description
You can not define one particular local variable with application.ini and Zend_Application_Resource_Locale. The default value had no impact with the standard search order.
Issue Links
| This issue is related to: | ||||
| ZF-8435 | Zend_Application_Resource_Locale uses default locale instead of auto-discovery |
|
|
|
In the locale resource there is a default locale set (Zend_Locale::setDefault(....) ).
After that, the locale is created using: $this->_locale = new Zend_Locale();
This will not take the given locale to be used! When creating a new locale this way, it will follow the rules for 'auto detection' and not used the previously setted default.
So, wasn't it meant to be:
(line 66
$this->_locale = new Zend_Locale($options['default']);
in this case the used locale in the application.ini is used.
But maybe I'm totally wrong
(well, the actual locale in the application.ini isn;t use for now....)