ZF-4067: addTranslation is recursively adding version control folders to current translations
The function addTranslation() in Zend_Translate_Adapter recursively walks through all files (and folders) in the given folder. Immagine a structure like:
translation/lang_de.csv translation/lang_it.csv translation/.svn/text-base/lang_de.csv.svn-base translation/.svn/text-base/lang_it.csv.svn-base
You will keep struggling with your translation without realizing that the problem is not the code / translation you are working on. Happened to one of our developers, drove him crazy ;-)
IMO Zend_Translate should either ignore well-known version management folders (like .svn) - or at least allow to pass some kind of regex for custom filters.
Kind regards, Thomas Gelf