ornicar/OrnicarMessageBundle — Issue #25: Cannot override validation
Author: KailZhang
Created: 2011-10-13 09:59:12+00:00
State: open

I wanna override default error messages by creating a validation.xml in my message bundle's Resources/config directory. The bundle's parent is OrnicarMessageBundle.

But I found that validations are done twice, with error messages from my validation.xml and Ornicar's. Though I can achieve this by creating validators.xx.yml, I'm confused that why this cannot work, as it's clearly stated on symfony.com.

Thanks.