Hi guys,
can someone tell me why this doesn't work?
bootstrap:
$locale = new Zend_Locale('tr_TR');
Zend_Registry::set('Zend_Locale',$locale);
-----
i also tryed:
$locale = new Zend_Locale();
$locale->setDefault('tr_TR');
$locale->setLocale('tr_TR');
-----
form
$this->_locale = Zend_Registry::get('Zend_Locale');
$this->_locale->getTranslationList('month')
i want to get monts in turkish, but i get it in german?
when i write: $this->_locale->getTranslationList('month','tr') then it works,
i won't add the ssecond parameter to the second line, but when i use the application in another languge/locale i must edit this anywhere this is not nice,
is there any other solution?
regars