Access child dictionary items loaded with library.GetDictionaryItems function call in razor script
Hi,
I'm working on multilingual
web site using razor scripts. Some razor scripts use strings that are stored in
umbraco dictionary. Dictionary items are organized in such a way, that every
razor script has one dictionary item with childs for every string used in
script:
-Razor script
alias
oString 1
oString 2
I’m looking for a way
to load all strings used by script with one call. I managed to load all
dictionary items using code :
var resources = library.GetDictionaryItems("scriptAlias")
My question
is how can I access child items contained in loaded resources.
Access child dictionary items loaded with library.GetDictionaryItems function call in razor script
Hi,
I'm working on multilingual web site using razor scripts. Some razor scripts use strings that are stored in umbraco dictionary. Dictionary items are organized in such a way, that every razor script has one dictionary item with childs for every string used in script:
- Razor script alias
o String 1
o String 2
I’m looking for a way to load all strings used by script with one call. I managed to load all dictionary items using code :
var resources = library.GetDictionaryItems("scriptAlias")
My question is how can I access child items contained in loaded resources.
Thanks in advance.
is working on a reply...