Issue Type: Bug Created: 2008-05-07T04:20:52.000+0000 Last Updated: 2008-09-02T10:39:14.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)
Reporter: Davide Mendolia (idaf_1er) Assignee: Thomas Weidner (thomas) Tags: - Zend_Translate
Related issues: Attachments: - Qt.diff
Qt linguist file with the option array('scan' => Zend_Translate::LOCALE_DIRECTORY)
Only the data of the last file of the same locale is keep in the adapter. Because, at the load of the file the array _translate is reset.
106 case 'ts': 107 $this->_translate[$this->_target] = array(); 108 break;
How to reproduce code :
$translate = new Zend_Translate(Zend_Translate::AN_QT, $this->appDir . '/application/languages', null, array('scan' => Zend_Translate::LOCALE_DIRECTORY));
folder strucuture :
languages/ fr_BE/ application.ts validate.ts nl_BE/ application.ts validate.ts
Posted by Davide Mendolia (idaf_1er) on 2008-05-07T04:27:42.000+0000
Posted by Thomas Weidner (thomas) on 2008-05-07T05:51:04.000+0000
Already fixed with r9394. Patch incomplete and ignored.
Posted by Wil Sinclair (wil) on 2008-09-02T10:39:14.000+0000
Updating for the 1.6.0 release.
Have you found an issue?
See the Overview section for more details.