Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, if i want to set a label value to a dictionary item , and it changes according to the website if it's english or another language, is there a way to do that out of xslt
this is what i do in my template file
<label >
<xsl:value-of select="umbraco.library:GetDictionaryItem('Name')"></xsl:value-of>
</label>
it's not working, can somebody help :) ?
Hi,
Yes - if I recall you can use the <umbraco:Item tag and replace the field attribute with your dictionary key, ex:
<umbraco:itemfield="#Name"runat="server"/>
-Tom
wow it did work :))) thanks a lot :)
It works, but Tom has Typo mestake -missing space between "Item" and "field" keywords-
<umbraco:Item field="#Name"runat="server"/>
you can also do it from the "insert umbraco dictionary item" in edit template window.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Using Dictionary item in template
Hi, if i want to set a label value to a dictionary item , and it changes according to the website if it's english or another language, is there a way to do that out of xslt
this is what i do in my template file
<label >
<xsl:value-of select="umbraco.library:GetDictionaryItem('Name')"></xsl:value-of>
</label>
it's not working, can somebody help :) ?
Hi,
Yes - if I recall you can use the <umbraco:Item tag and replace the field attribute with your dictionary key, ex:
-Tom
wow it did work :))) thanks a lot :)
It works, but Tom has Typo mestake -missing space between "Item" and "field" keywords-
you can also do it from the "insert umbraco dictionary item" in edit template window.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.