Hy Xing,

There are some incorrect things about your issue...

First:
Directory scanning was added a few weeks ago and is not avaiable with 1.0.2 !
It will be added with 1.0.3.

Second:
If you want to use directory scanning you must also set the 'scan' option to switch it on.

Activating the directory scanning in general for every adapter introduces several other problems for example with tmx.

The documentation is quite clear about the usage:
See the section "automatic source detection" in the new docu.
Example:
$translate = new Zend_Translate('gettext', '/language', null, array('scan' => Zend_Translate::LOCALE_DIRECTORY));

If you do not activate the "scan" option your directories will not be scanned.

Greetings
Thomas
I18N Team Leader


----- Original Message ----- From: "mikespook" <[EMAIL PROTECTED]>
To: "Zend Framework General" <[email protected]>
Sent: Thursday, November 15, 2007 3:20 AM
Subject: [fw-general] An issue about Zend_Translate_Adapter


Hi all,

I've found an issue about Zend_Translate_Adapter.
It was discribed at : http://framework.zend.com/issues/browse/ZF-2205

The GetText adapter has been tested.
Is there Anyone can help me testing the others?
I'm not sure that my patch would work find with other adapters.


Thanks and Regards

Xing

--
广州市一方信息咨询有限公司
地址:广州市 江南大道中 穗花村 三巷12号204
邮编:510245
电话:020-39738561 020-39738571
传真:020-84476279
网站:www.i-fang.com
[EMAIL PROTECTED]


Reply via email to