How does Universal Email handle multi-lingual websites?
I have a multi-lingual website. When a visitor chooses a language and places an order, I would like the visitor to receive the confirmation email in the chosen language.
Is there a solution how to do that with Universal Email?
If not, here is what I thought might work, but I need some help with it.
I have set up the table orders with a field "language_id" which returns 1 for German, 2 for English and so forth.
My idea was to create one Universal Email behavior for each language on the checkout-success page, and set a trigger that checks for the chosen language in the table orders. So, a German visitor would trigger only the German Universal Email behavior. If that works, how would I have to set the trigger?
The other idea was to use validation toolkit to validate the value in the field language_id and redirect to one of four (four languages) checkout-success pages, each with its own Universal Email behavior. Would that work, and how?
Is there maybe a filter that can be applied to the Universal Email behavior?
I would very much appreciate any help to work this out.