Hi,
I have a problem: Zend_Translate loads by default the browser's default
language (in my case nl) Then through a navigation I can alter the language
in which I want to see the website but it doesn't change it a closer look
showed that Zend_Translate indeed retrieves the translation source as it
outputs at some point:
'en' => array
'About us' => 'About us'
'nl' => array
'About us' => 'Over ons'
But changes it later on to:
'en' => array
'About us' => 'Over ons'
'nl' => array
'About us' => 'Over ons'
This process occurs in Zend_Translate_Adapter at lines 499 - 501 in version
1.10.0dev The lines in question are:
if (array_key_exists($key, $temp) && is_array($temp[$key])) {
$this->_translate[$key] = $temp[$key] +
$this->_translate[$key];
}
--
View this message in context:
http://www.nabble.com/Zend_Translate---addTranslation-tp25791169p25791169.html
Sent from the Zend Framework mailing list archive at Nabble.com.