Hi!
Can anyone explain what the significance of the Language field is when setting up a marketing email? Beyond what was described here https://docs.microsoft.com/en-us/dynamics365/marketing/email-properties which I understand to mean that it displays option set values localized to the language selected, does it mean anything more than that?
Hi Alfredo,
> Other purpose of the Language field(How does the field actually work.):
We can enable additional language packages (in Advanced settings > System > Administration > Languages) to show entities and fields in different language, and text/label of some OOB optionset fields will also be translated.
If we enable French language package, then the OOB "Preferred Method of Contact" field will has its French version label:
when we set Language field of marketing email to French, then "Preferred Method of Contact" will display as Téléphone;
when Language field is set English, then the preferred contact method will display as Phone again.
when Language field is set to other languages, the preferred contact method will display number value directly.
In a word, Language field will work if we enable corresponding language package, the more packages we enable, the more languages of label are supported.
However, to add multiple language support to our own custom optionset field, we need to:
1. Enable the corresponding language package in system settings.
2. Create a solution, then add the optionset field into the solution, then export translation xml file.
3. Edit the xml file to add label in other languages.
The translation process is a bit complicated and not easy to describe it in short words, you could refer to any of following articles for more details about how to do translation:
https://www.inogic.com/blog/2016/07/multi-language-support-for-custom-solutions-in-dynamics-crm-2/
https://dynamics.mittermair.pro/2018/02/11/translations-in-dynamics-crm-part-i/
> For the requirement of your client:
Content of marketing email is supported to be shown in different languages with conditional statements of advanced dynamic expression.
As the sample code shows, you could create a custom field to save language preference of contact, then display different languages based on this field.
Regards,
Clofly
Hi Clofly,
Thanks! So unless I have translated the option set labels to the language I've selected, it will display the index value rather than the label.
Do you know of any other purpose for it? I'm asking because Im trying to find out if a client's user story about a bi-lingual email composition capability is even possible out-of-the-box (i.e they wanted to compose email in both Mandarin and English, as I understand it).
Hi Alfredo ,
Here is an example for Language field:
If language of your Dynamics is English, and the field is set to English, then if you add any option set field to marketing email
({{contact.preferredcontactmethodcode}} Preferred contact method), it will display the text "Email".
If the field is changed to other options, then it will display the index value "2" directly.
Regards,
Clofly
André Arnaud de Cal...
292,031
Super User 2025 Season 1
Martin Dráb
230,868
Most Valuable Professional
nmaenpaa
101,156