ZF-11629: Example for translate application resource invalid
Description
Hi.
On the page for all available resoure plugins: http://framework.zend.com/manual/en/…
The example for "Translate" application resource.
It says data : path to translation.
whereas it should be content : path to translation.
Otherwise it's not clear which option to use. Also, the option "scan" is never explained.
Greetings, Rene
Comments
Posted by Thomas Weidner (thomas) on 2011-07-30T16:56:24.000+0000
For details on the options for Zend_Translate you should look at Zend_Translate's documentation
Posted by Rene Roesch (reneroesch) on 2011-07-31T10:29:20.000+0000
Hi Thomas,
I know, I just think it'd be helpful for beginners. Though, I think the data/content issue should be addressed.
Greetings, Rene
Posted by John Kelly (postalservice14) on 2011-08-18T22:54:42.000+0000
According to Line 84:86 of Zend_Application_Resource_Translate it looks like either one will work.
Posted by Thomas Weidner (thomas) on 2011-09-03T07:49:37.000+0000
Fixed in ZF2 with GH-369