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
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
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
&
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
;> > 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
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',
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:
;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
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