Re: [fw-general] FlashMessenger and i18n

2010-04-30 Thread Guillaume ORIOL
I'll do it and if somebody else think it could be usefull in Zend Framework I'll provide the class. -- Guillaume Le 30/04/10 19:00, Hector Virgen a écrit : I don't know if there's a plan for supporting this, but you should be able to extend the flash messenger to support translations. Since act

[fw-general] Zend_Validate_File_Upload strange behavior

2010-04-30 Thread George Secrieru
I'm having a peculiar problem with the above component. I'd apreciate any help. The following element is being added inside my form class (extending Zend_Form): $file = new Zend_Form_Element_File('file_new'); $fileUploadErrorMessages = array('fileUploadErrorIniSize' => 'O arquivo excede o limite

Re: [fw-general] FlashMessenger and i18n

2010-04-30 Thread Hector Virgen
I don't know if there's a plan for supporting this, but you should be able to extend the flash messenger to support translations. Since action controllers use the plugin loader and a LIFO stack for helper paths, you can transparently add support by introducing your own flash messenger. -- Hector

Re: [fw-general] FlashMessenger and i18n

2010-04-30 Thread Guillaume ORIOL
I know it but I was looking for a transparent way to do it. The way it has been done in Zend_Form for instance: $element->setLabel('label'); will get a translated label if a Zend_Translate object is available. -- Guillaume Le 30/04/10 18:03, Hector Virgen a écrit : You can manually translate y

Re: [fw-general] FlashMessenger and i18n

2010-04-30 Thread Hector Virgen
You can manually translate your messages after pulling them out of the flash messenger. -- Hector On Fri, Apr 30, 2010 at 8:53 AM, Guillaume ORIOL wrote: > Hi, > > Is there any plan to make the FlashMessenger action helper compatible with > Zend_Translate? > > Best regards > -- > Guillaume ORIO

[fw-general] FlashMessenger and i18n

2010-04-30 Thread Guillaume ORIOL
Hi, Is there any plan to make the FlashMessenger action helper compatible with Zend_Translate? Best regards -- Guillaume ORIOL Software engineer Technema

Re: [fw-general] unable to setup REST route in application.ini

2010-04-30 Thread Guillaume ORIOL
Just found the post below regarding this topic. Does anyone know if the bug was fixed ? -- Hector Virgen <[hidden email]> wrote (on Thursday, 14 January 2010, 10:57 AM -0800): > How do I add a Zend_Rest_Route route to my application.ini? I want it to only > match one controller in the default mod