I am creating a form which should be sent to an email and the form should be localizable in multiple languages. The email subject and body should also be translatable. The email from field value should be different for different languages too.
How localization should be set up in this case for Episerver Forms? Is there any way to achieve it?
Hi, You can go to admin mode then change the property [SendEmailAfterSubmisionActor] to be culture specific. Then enter the fields for each language version. Forms should send email with different template for submission from diferent culture (since I have tested).
But if I deploy a new version, isn't Episerver going to override that property back to a single culture?
I guess no. But you could try a test.
As I recall, manual changes take priority over code-first changes so any changes you make in admin should remain. That said, when we hit that same issue, I created an initialisation module to make the change so that:a) we could be sure the change remains even if a content type sync tries to override itb) the change could be rolled out to the various environments without having to manually update anything
In an ideal world I'd prefer it if the SendEmailAfterSubmisionActor was culture specific though.