dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online Membersbaskar
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Forums » .NET » ASP.NET »

Multilingual website in asp.net


Posted Date: 07 Aug 2012      Posted By:: Mek     Member Level: Silver    Member Rank: 2003     Points: 5   Responses: 2



Hello, Guys,

My question is simple i want create a website where the user can select the type of language. Please ref the link http://24x7onlineshopping.co.in/default.aspx i want to achieve this kind of selection. On selecting the language evey thing just changes the language type. I tried googling & found Resource files can be made for each language & found it lengthy but is it possible to acheive globalization using a access database, want i meant is "when the user changes the type of language the culture type should change corresponding to which the whole site's language" Please help me create a website with multi language using database. i hope my point is being delivered. Thanks in anticipation.

Regards,

Mek




Responses

#683504    Author: saravanakumar      Member Level: Gold      Member Rank: 197     Date: 07/Aug/2012   Rating: 2 out of 52 out of 5     Points: 4

hi friend u use resources files for web pages.it is give more performance compared with getting the value from the database.
please refer this,

this is for getting value from the resource file,

UserNameLabel.Text = myResourceManager.GetString("Username");


this is for set the culture information for the controls,

CultureInfo c = new CultureInfo("en-US");
System.Threading.Thread.CurrentThread.CurrentCulture = c;
System.Threading.Thread.CurrentThread.CurrentUICulture = c;


all codes with in the language dropdown selected index event.

refer this site and u got more information how to do multilanguage website,
http://www.codeproject.com/Articles/7998/Creating-multilingual-websites-Part-1



 
#683508    Author: Mek      Member Level: Silver      Member Rank: 2003     Date: 07/Aug/2012   Rating: 2 out of 52 out of 5     Points: 1

Thanks saravanakumar ,

i am developing a ecommerce website just like http://24x7onlineshopping.co.in/default.aspx, there are several controls like textbox, button, menu, header & these controls are called in usercontrols. How can i make resource files of usercontrols.wont it be a tiring job creating resource file for each language. Please visit the above link can u guess what method they are using.

Regards



 
Post Reply
You must Sign In to post a response.

Next : How to create .rar file of your asp.net project?
Previous : Count the occurrences of each string in every other string?
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.