Issue Type: Bug Created: 2011-08-03T02:13:40.000+0000 Last Updated: 2011-08-03T12:01:25.000+0000 Status: Resolved Fix version(s): - 1.11.10 (04/Aug/11)
Reporter: Bob Brodie (rsbrodie) Assignee: Thomas Weidner (thomas) Tags: - Zend_Translate
Related issues: - ZF-11567
Unless, I'm mistake when fixing bug ZF-11546 in the 1.11.9 release, Zend_Translate lost the ability to create locales from a directory structure as it did in 1.11.8.
I tested a fix which is to change lines 248-253 in Zend_Translate_Adapter.php to:
<pre class="highlight"> $iterator = new RecursiveIteratorIterator( new RecursiveRegexIterator( new RecursiveDirectoryIterator($options['content'], RecursiveDirectoryIterator::KEY_AS_PATHNAME), '/^(?!.*(\.svn|\.cvs)).*$/', RecursiveRegexIterator::MATCH ), RecursiveIteratorIterator::SELF_FIRST );
It's just adding back RecursiveIteratorIterator::SELF_FIRST.
This keeps the same behavior as 1.11.8, without going through .svn and .cvs directories.
Posted by Kim Blomqvist (kblomqvist) on 2011-08-03T07:38:34.000+0000
Thanks for the patch to contribute to ZF, but I notice that you don't appear to have a CLA on file, if you do, you should get in touch with Ralph Schindler and ask him to assign you the correct groups so that you can attach patches as an attachment rather than inline, otherwise, you should sign the cla (http://framework.zend.com/wiki/display/…) and return it before contributing code, otherwise your contributions may go unused!
Posted by Ramon Henrique Ornelas (ramon) on 2011-08-03T10:39:10.000+0000
This already was done in r24267 and is in next mini release.
Posted by Ramon Henrique Ornelas (ramon) on 2011-08-03T10:40:35.000+0000
Posted by Thomas Weidner (thomas) on 2011-08-03T12:01:25.000+0000
This issue is a duplication of ZF-11567 and was already fixed
Have you found an issue?
See the Overview section for more details.