Regarding 
http://thomasweidner.com/flatpress/2010/01/17/translating-validation-messages/
http://thomasweidner.com/flatpress/2010/01/17/translating-validation-messages/
, I took a look at the translation files located in /resources/languages/**,
f.e.:


return array(
    // Zend_Validate_Alnum
    "'%value%' is an empty string" => "'%value%' ist ein leerer String"
);


Is there a reason the language file can or does not use the class constants?

return array(
    // Zend_Validate_Alnum
    "'alnumStringEmpty" => "'%value%' ist ein leerer String"
);



return array(
    // Zend_Validate_Alnum
    Zend_Validate_Alnum::STRING_EMPTY => "'%value%' ist ein leerer String"
);




--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-Validate-now-translatable-tp648192p3393088.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to