Issue Type: Improvement Created: 2009-08-14T00:23:45.000+0000 Last Updated: 2009-08-14T00:34:54.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)
Reporter: Mukul Das (email@example.com) Assignee: Thomas Weidner (thomas) Tags: - Zend_Translate
Related issues: Attachments:
Zend_Translate_Adapter_Csv is not working perfectly in the below situation :-
It is working for two columns input and output is an array with [first_column]=>second_column. Where first_column is the key and 2nd column is the value.
Now If I have some input file with more than 2 columns and I need all information. It will not work.
In Zend_Translate_Adapter_Csv :: _loadTranslationData() method , we are doing the the below,
$this->_data[$locale][$data] = $data; //hard coding the row number. Instead of that we can do some validation and then
$this->_data[$locale] = $data;
could you please check that and let me know if there is any other solution
Thank you, Mukul
Posted by Thomas Weidner (thomas) on 2009-08-14T00:34:53.000+0000
The described Issue is not reproducable with the actual release.
When there are 2 rows than the value is attached as string, else they are attached as array because then they are plural notations.
You should not that the manual clearly describes that plural translations only work AS WITH ZF 1.9.
Have you found an issue?
See the Overview section for more details.