Hi

I have seen some similar questions and answers how to set Zend_Form or
Zend_Validate to work with Zend_Translate gettext. Thing I did not find is
how to use gettext tools to extract strings which should be translated? Can
somebody please explain in small example gettext tool usage in this
situations?

Log time ago I have question about custom error messages for Zend_Validate
end how to set them easier (
http://www.nabble.com/Zend_Input_Filter-%28Zend_Validate%29-custom-error-messages-tp12394734p12394734.html
) In that context it would be nice to have possibility to set one simple
error message which will be displayed to end user. So why not implement
Zend_Validate_Abstract member setUserMessage/getUserMessage. This looks
quite easy to do and will not break back compatibility or in any other way
influence on class performance. It will be easier to program such messages
and translate them. Zend_Form and similar classes could also benefit from it
as Zend_Validator error messages were not meant for end user (ZF people told
me that before).

Boris
-- 
View this message in context: 
http://www.nabble.com/Zend_Validate---Zend_Form-Zend_Translate-gettext---custom-error-messages-tp19594576p19594576.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to