Saturday, May 28, 2011

ASP.NET Localization

  • Resource File particular to a page such as Default.aspx.resx within App_LocalResources
    • Label1.Text = "Hello"
  • Another Resource File Default.aspx.fr.resx (French)
    • Label1.Text = "Bonjour"
  • control property meta:resourceKey="Button1"
  • page declaration Culture="auto:en-US" UICulture="auto"
  • Internet Options : New Languages
  • App_GlobalResources
  • Properties > Expression then indicate ClassKey and ResourceKey
  • System.Threading
  • System.Globalization
Reference: http://www.asp.net/general/videos/how-do-i-create-a-multi-lingual-site-with-localization

No comments:

Post a Comment