1. login to the UI 2. Click the Settings section 3. Right click on Dictionary click create 4. Enter your new Dictionary Item Id 5. enter the text translation into each language you have added.
The dictionary is stored in the database and runtime cached in a hashtable, when creating a dictionary-item you have to specify a name. That name is the key to retrieve the values with. Both key and value are string.
Although the dictionary looks like a tree, you have to remember that each item must have a unique name even if it is in another branch of the dictionary.
What exactly do you mean? Are you trying to put a different datasource to the standard umbraco dictionary functionality? I think that might be a challenge. If you plan to do so: I am interested in the solution you come up with !
add values to dictionaryItem
hi folks.,
i would like to use dictionaryItem..
how to add user values to dictionaryItem ?
Hi,
1. login to the UI
2. Click the Settings section
3. Right click on Dictionary click create
4. Enter your new Dictionary Item Id
5. enter the text translation into each language you have added.
Tom
thanks.,
what are the values that can be passed?
String only.
The dictionary is stored in the database and runtime cached in a hashtable, when creating a dictionary-item you have to specify a name. That name is the key to retrieve the values with. Both key and value are string.
Although the dictionary looks like a tree, you have to remember that each item must have a unique name even if it is in another branch of the dictionary.
thanks Nico.,i am going get values from xml file instead of sqlserver db..
any idea as how to use dictonary here.
Thanks
What exactly do you mean? Are you trying to put a different datasource to the standard umbraco dictionary functionality? I think that might be a challenge. If you plan to do so: I am interested in the solution you come up with !
Nico
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.