Reputation: 1073
I have developed a form using form builder in Kentico Xperience. I am using localized strings for the titles and texts of my form components.
For example for a radio button component, I have
which consists of the following localized strings:
It works fine until the form is submitted and sent by email. The email template is built as follow:
$$label:Participation$$: $$value:Participation$$
But I receive email like:
Participation in meeting: {$Form.Participation.Virtual$}
While I would like to receive the localized text in my email as follow:
Participation in meeting: Virtually
How can I do that? Is there a specific syntax in the email template?
Upvotes: 0
Views: 190
Reputation: 995
The behavior is by design. If you use a compoment with list of options and you add just a localization macro there, there is a risk that chaning the string will cause wrong values. The recommended and supported format is:
value;{$ResourceStringKey$}
Upvotes: 0
Reputation: 1073
The correct syntax in my email template to obtain what I am looking for is:
$$label:Participation$$: {%Participation%}
Upvotes: 3