Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksLocalization of DNN ListsLocalization of DNN Lists
Previous
 
Next
New Post
2/3/2006 10:46 PM
 

(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

 
New Post
2/4/2006 7:16 PM
 
the temp solution is working well with

System.Threading.Thread.CurrentThread.CurrentUICulture

I've created two identical lists in two different languages naming them as the listname + locale name. Now I get the locale and append it to the list name and use that to call the list.

 
New Post
2/4/2006 10:42 PM
 
the temp solution is working well with

System.Threading.Thread.CurrentThread.CurrentUICulture

I've created two identical lists in two different languages naming them as the listname + locale name. Now I get the locale and append it to the list name and use that to call the list.

 
New Post
3/8/2007 8:31 AM
 

I am looking for another solution. Does it exists ??
I would like to have the list localized. Is it possible ??

 

DV

 
New Post
3/20/2007 2:00 PM
 

Do you want to store your list in a table or in an xml file? Both solutions are possible with a bit of development...

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksLocalization of DNN ListsLocalization of DNN Lists


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out