(OK, this is taken from the forums, as I couldnt get a good answer:)
I am populating dropdownlists in a module using the DNN List. How do you localize (either select the proper list name based on localization, or have two values for each item on a list???)
I was thinking of a temp solution:
create identical lists in the required languages and call the lists by a combination of a name with a suffix of the language.
Then when I use the ctlEntry.GetListEntryInfoCollection(listname, value, parentname)
to call the list, I create the list name by appending the right locale as suffix, so as an example listname = listname + locale might be:
CarTypes + en-US (in American English)
or
CarType +he-IL (in Hebrew)
.
Its not a great idea, but do you think it will do the job??
could someone help with the code to get the locale??
thanks