ZF-11629: Example for translate application resource invalid



On the page for all available resoure plugins:…

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


For details on the options for Zend_Translate you should look at Zend_Translate's documentation

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

According to Line 84:86 of Zend_Application_Resource_Translate it looks like either one will work.

Fixed in ZF2 with GH-369