All i need is quite simple: Show the "Welcome" text inside 'toplogin' element translated to selected domain language. I think i could use umbraco.cms.businesslogic.Dictionary.DictionaryItem but don't know how?
Make sure that your site has a domain name and language configured (right click on the root node for that site and choose Host Names. In the Developer section you can define dictionary items.
Multilingual domain based site: How to access dictionary using umbraco.cms.businesslogic
Hi.
I have a multilingual domain based site and i want to show a welcome message depending on selected domain language. My template code read as follows:
All i need is quite simple: Show the "Welcome" text inside 'toplogin' element translated to selected domain language. I think i could use umbraco.cms.businesslogic.Dictionary.DictionaryItem but don't know how?
Thanks in advance for your help!!
Cheers - Ivan
Try umbraco.library.GetDictionaryItem("DictionaryKey");
Make sure that your site has a domain name and language configured (right click on the root node for that site and choose Host Names. In the Developer section you can define dictionary items.
Works perfectly ;-)
Thanks a lot Sebastiaan!!!
is working on a reply...