ZF-11629: Example for translate application resource invalid

Issue Type: Docs: Problem Created: 2011-07-30T15:56:30.000+0000 Last Updated: 2011-09-03T07:49:37.000+0000 Status: Resolved Fix version(s): - Next Major Release ()

Reporter: Rene Roesch (reneroesch) Assignee: Thomas Weidner (thomas) Tags: - Zend_Application_Resource

  • resource
  • translate

Related issues: Attachments:



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


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

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.