No, this is no bug.
When you change this line you will disallow empty source files, which is problematic when you use directory search.

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

----- Original Message ----- From: "Taco Jung" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, September 06, 2008 5:21 PM
Subject: Re: [fw-general] Zend_Translate TMX doesn't downgrade?


I do think there's a bug at line 298 in adapter.php:

if (!isset($this->_translate[$locale])) {

should be:

if (empty($this->_translate[$locale])) {

Then it works. I already notified Thomas about this.

Regards, TJ.



On Sat, Sep 6, 2008 at 5:12 PM, Giuliano Riccio <[EMAIL PROTECTED]>wrote:


The documentation says that since 1.6 Zend_Locale can be stored in the
registry and
Zend_Translate will use it and it continues saying that if the browser
accepts 'nl_NL' then
Zend_Translate will automatically use the 'nl' translation if disponible
since it's the most fitting language
(
http://framework.zend.com/manual/en/zend.translate.using.html#zend.translate.using.languages.automatic
).

Why Codiac isn't able to get it working then?
--
View this message in context:
http://www.nabble.com/Zend_Translate-TMX-doesn%27t-downgrade--tp19333160p19347608.html
Sent from the Zend Framework mailing list archive at Nabble.com.




Reply via email to