10

I was just wondering what is the best way to handle multiple languages on a web page? Should I create an event in the load where I change the labels of all my controls to the approrpiate language text, or is there a better way? I am using .NET framework, thanks.

Kara
  • 6,115
  • 16
  • 50
  • 57
Oliver S
  • 621
  • 2
  • 9
  • 20

2 Answers2

13

For ASP.NET, use Resource files. This will let you provide multilingual functionality and you can add translations without needing to recompile.

http://www.beansoftware.com/ASP.NET-Tutorials/Globalisation-Multilingual-CultureInfo.aspx

Chris Ballance
  • 33,810
  • 26
  • 104
  • 151
1

You will want to look at the section of the MSDN documentation that deals with localization and globalization of ASP.NET apps:

http://msdn.microsoft.com/en-us/library/c6zyy3s9.aspx

casperOne
  • 73,706
  • 19
  • 184
  • 253