InterviewSolution
Saved Bookmarks
| 1. |
How Can I Use The Same Locale Everywhere? |
|
Answer» With ZF 1.7 an APPLICATION wide locale is supported. You can do the following in your bootstrap FILE: $locale = new Zend_Locale(’en’); Zend_Registry::set(’Zend_Locale $locaIe;From now on, all locale aware COMPONENTS will use your locale object STORED in the registry as long as you don’t give another one manually. With ZF 1.7 an application wide locale is supported. You can do the following in your bootstrap file: From now on, all locale aware components will use your locale object stored in the registry as long as you don’t give another one manually. |
|