[fw-general] Zend_Translate & addTranslation

2009-10-07 Thread ignace
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 i

Re: [fw-general] Zend_Translate & addTranslation

2009-10-07 Thread Thomas Weidner
hen the directory or filename does not reflect this. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "ignace" To: Sent: Wednesday, October 07, 2009 7:42 PM Subject: [fw-general] Zend_Translate & addTra

Re: [fw-general] Zend_Translate & addTranslation

2009-10-07 Thread ignace
gt; > Greetings > Thomas Weidner, I18N Team Leader, Zend Framework > http://www.thomasweidner.com > > - Original Message - > From: "ignace" > To: > Sent: Wednesday, October 07, 2009 7:42 PM > Subject: [fw-general] Zend_Translate & addTranslation &

Re: [fw-general] Zend_Translate & addTranslation

2009-10-07 Thread Саша Стаменковић
t; > "nl" files are read as "en". > > Because Zend_Translate has no way to detect for which language the > content > > of a file is when the directory or filename does not reflect this. > > > > Greetings > > Thomas Weidner, I18N Team Leader, Zend

Re: [fw-general] Zend_Translate & addTranslation

2009-10-08 Thread ignace
;> > You should give some reproducable code from your side instead of code >> from >> > ZF. >> > Looking at your result you should ask yourself what you are doing that >> the >> > "nl" files are read as "en". >> > Because Zend_Translate

Re: [fw-general] Zend_Translate & addTranslation

2009-10-09 Thread Thomas Weidner
Friday, October 09, 2009 1:55 PM Subject: Re: [fw-general] Zend_Translate & addTranslation Hi, I have managed to get it working instead of just doing: $translate->setOptions(array('clear' => true)); $translate->addTranslation('path/to/language/directory',

Re: [fw-general] Zend_Translate & addTranslation

2009-10-09 Thread ignace
quot; > does. > > Greetings > Thomas Weidner, I18N Team Leader, Zend Framework > http://www.thomasweidner.com > > - Original Message - > From: "Ignace Knops" > To: "Thomas Weidner" > Sent: Friday, October 09, 2009 1:55 PM > Subject:

Re: [fw-general] Zend_Translate & addTranslation

2009-10-09 Thread ignace
;en.csv" > does. > > Greetings > Thomas Weidner, I18N Team Leader, Zend Framework > http://www.thomasweidner.com > > - Original Message ----- > From: "Ignace Knops" > To: "Thomas Weidner" > Sent: Friday, October 09, 2009 1:5

Re: [fw-general] Zend_Translate & addTranslation

2009-10-09 Thread Thomas Weidner
ce" To: Sent: Friday, October 09, 2009 2:38 PM Subject: Re: [fw-general] Zend_Translate & addTranslation I modified my paths to absolute and it cleared a notice I kept getting (when I loaded en it was complaining it couldn't find my (browser) default language: nl -> No trans