zendframework / zend-inputfilter

InputFilter component from Zend Framework
BSD 3-Clause "New" or "Revised" License
64 stars 50 forks source link

'Value is required' message should be localizable #28

Closed tflin closed 9 years ago

tflin commented 9 years ago

We had the issue that 'Value is required' message can not be localized to Chinese as it is hardcoded in the framework code. The custom-message NotEmpty validator cannot override this error message in our case. Please help to make the hardcoded message localizable.

Maks3w commented 9 years ago

@weierophinney said: Does this resolve the issue with the NotEmpty messages that have occurred since 2.4? It seems like we should set it in the same format, using the same key, in order to retain the previous behavior?

From #24

This is an idea for localize the string

weierophinney commented 9 years ago

Fixed with #61

stefanotorresi commented 9 years ago

@weierophinney i'm afraid it actually isn't, see #67