Currently isEmpty errors throw:
Value is required and can't be empty
I load my translator as follows:
[translation] adapter = array content.english["emailNotUnique"] = "Your user already exists" content.english["Value is required and can't be empty"] = "You must specify your ID" locale = en
In the above configuration, a valid array is created according to the zend translate spec, therefore:
$this -> form -> setTranslator(new Zend_Translate($this -> getConfig() -> translation));
the expected result is that Empty errors should now display as
You must specify your ID
However, I have no love. No errors and no translations. I am on Zend 1.11.1 and PHP5.3.5.
source share