We already had message keys as translator keys previously in ZF1. It was changed to have full messages as keys but I don't know why this was changes. Does anyone know more about ?
Greetings Marc On 11.12.2012 16:07, Ralf Eggert wrote: > Hi, > >> Thoughts? > > Would it be possible to use the constants in the translation files > rather than the text messages? Instead of > > "Invalid type given. String, integer or float expected" => "..." > > use > > Zend\I18n\Validator\Alnum::INVALID => "..." > > So, when a text in the validator class is changed, then the translation > will not automatically be broken again. > > Regards, > > Ralf > -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com