Hi, we are in admin generator in filters in field. What is the most clearest way to translate is empty label under form fields?
I've solve it by own setWidgets and setWidgets in BaseFormFilterDoctrine witch extend the parent methods by translating that is empty( empty_label ).
- setWidgets - translate all *empty_label*s in form filter( for base filter class )
- setWidget - translate *empty_label* for one filter field( for the extending filter class )
It works, but i think it's nasty. I am looking for something more clean