Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Language Packs ...  Localization of DNN Lists
Previous Previous
 
Next Next
New Post 2/3/2006 6:46 PM
User is offline eyal mayroz
10 posts
10th Ranked


Localization of DNN Lists 

(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 3:16 PM
User is offline eyal mayroz
10 posts
10th Ranked


Re: Localization of DNN Lists 
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 6:42 PM
User is offline eyal mayroz
10 posts
10th Ranked


Re: Localization of DNN Lists 
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 4:31 AM
User is offline Declic Video
903 posts
declic-video-fx.com
7th Ranked


Re: Localization of DNN Lists 

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 11:00 AM
User is offline none
30 posts
www.a.com
10th Ranked


Re: Localization of DNN Lists 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Language Packs ...  Localization of DNN Lists
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Expressnet - DotNetNuke Hosting
Expressnet provide premium quality ASP.NET Web Hosting. We specialise in Windows based products including ASP.NET and Microsoft SQL Server. We offer fantastic value packages for DotNetNuke hosting. We also offer free asp.net web hosting
www.expressnet.com.au
Softech Development, Inc.
We help your business work smarter with DotNetNuke. Whether you need a new implementation, a custom module or skin for an existing implementation, or integration with your business processes, Softech has the experience and expertise to make it happen.
www.softechdevelopment.com
Module Development by Engage Software
Specializing in custom module development, training and skinning.
www.engagesoftware.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP