How to change label text of entity list in CRM portal multi language scenario

47 views
Skip to first unread message

vijay kumar

unread,
Mar 22, 2019, 4:57:00 AM3/22/19
to Microsoft Dynamics CRM
Hi

I have entity list displayed in CRM Portal. How do I change the labels of the entity list header in a multi language scenario without changing it in translation xml.

I am calling a custom web template to launch the web page that contains entity list. I need to change the label heading based on the language code from the url. I am open to JS or liquid or snippet. 

Vikranth Sinha

unread,
Mar 30, 2019, 3:00:00 AM3/30/19
to Microsoft Dynamics CRM
I would give you two options

1 - through Liquid.. you can verify the language.. and then make a condition to display the correct label

{% assign language_code = website.selected_language.code | downcase %}

2 - content snippets.. (I would recommend this one)

create 2 snippets for each header (one for each language).. in your web template.. all you need to do is call the snippet.. the portal will handle the language in the background

in your liquid/html element for the header

<a class="header-title">{{ snippets["HEADER COLUMN NAME"] }}</a>

If you still need help regarding Microsoft Dynamics CRM Development feel free to contact me.
Reply all
Reply to author
Forward
0 new messages