Click here to Skip to main content
15,914,905 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have created a web site in asp.net with C#.

In site we have to use a drop down on top the page in which list of languages are present.

When we select language the site should get convert into that language.

Example : If Suppose I select french in the dropdown the text used in site should get convert into french including the gridview items etc.

Please some body help me.
Posted
Updated 29-Nov-10 19:47pm
v2

CodeProject archive for rescue.
I think this is what you are looking for: Globalization and localization demystified in ASP.NET 2.0[^]
 
Share this answer
 
Comments
kapil0411 30-Nov-10 2:14am    
Hi, Sandeep
Thanks for your response.but my requirement is more like how can i convert my gridview data also can you pls help me out on this.
Dalek Dave 30-Nov-10 3:55am    
Good Old Archive!
Sandeep's answer is good one but you should do the customization yourself(I mean you need to do more coding at your end). Anyway This will help you.

Creating multilingual websites - Part 1[^]

Creating multilingual websites - Part 2[^]

Creating Multilingual Websites - Part 3[^]
 
Share this answer
 
Comments
Dalek Dave 30-Nov-10 3:55am    
Useful links.
Hi,

You can use the resource files to get the static text converted into the destination language.

Where as the data that user key into the any controls (like textbox etc) will be a dynamic data that needs to be converted as well, you can use the google translator to do the same.

Refer the following article.

http://www.codeproject.com/KB/cs/translateresx.aspx?msg=3681305#xx3681305xx[^]

I have recently added a post to the same to get the translated text value. you can download the code from the above post and then just modify the code as per my answer.

Hope this will answer your question
 
Share this answer
 
Comments
Dalek Dave 30-Nov-10 3:55am    
Good Answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900