boltforms icon indicating copy to clipboard operation
boltforms copied to clipboard

Translation integration

Open xiaohutai opened this issue 7 years ago • 2 comments

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.

xiaohutai avatar Sep 12 '17 12:09 xiaohutai

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

mefjuu avatar Sep 20 '17 08:09 mefjuu

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.

SvanteRichter avatar Sep 20 '17 21:09 SvanteRichter