Open xiaohutai opened 6 years ago
I don't know how to translate some form stuff as well. E.g. is it possible to translate default Symfony Form's "This value is not valid."
message?
I think it could be done through app/resources/translations/pl_PL/messages.pl_PL.yml
Currently AnimalDesign/bolt-translate ships with a hacky form template to do some of this (via labels), but it is clearly not the right solution. I think this would be good to have as a larger discussion in bolt/bolt as how to handle frontend translations properly for both extensions and themes, neither AnimalDesign/bolt-translate or bolt/labels are integrated enough or good enough to handle it.
Any news/possibility of an integration with Symfony Translate ?
Sometimes we make simple sites with a contact form in Dutch (and
bolt/translate
is not really needed I feel). It would be nice to have these constraint messages translated automatically.