When there would be a problem when adding the file you would get an exception.

Why do you not simply debug your code ?
Look which files are added, look which locale was found, look what's requested to be translated. All needed methods and functionallities are available. Just call them and you will see what's going wrong.

To note: Without any data, and believe me... it works here but not there is not enough data for reproduction, there is no way to help you.

You could just go to #zftalk... there are always people online who can help you.

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

----- Original Message ----- From: "mbneto" <[EMAIL PROTECTED]>
To: "Zend Framework General" <[email protected]>
Sent: Monday, August 04, 2008 5:27 PM
Subject: [fw-general] Bug or feature in Zend_Translate 1.5.3/1.6RC1


Hi,

Before opening a bug I'd like to know if this is an expected behavior
change.

Until 1.5.2 I could have an empty (zero bytes) file used with Zend_Translate ('csv', $path, $locale). Now with 1.5.3 and 1.6RC1 I can't . it does not
complain when I create the object, it does not complain when I use
addTranslation, but aborts with 'locale X must be added before it is used'
when I call the setLocale(X).

Thanks.


Reply via email to