Last post Feb 08, 2009 11:27 PM by Nai-Dong Jin - MSFT
Feb 03, 2009 07:00 AM|eim|LINK
I have viewed the following tutorial
http://asp.net/learn/videos/view.aspx?tabid=63&id=40 which shows how to use change the language by using the following code
Partial Class _Default
Protected Overrides Sub InitializeCulture()
Dim lang As String = Request("Language1")
If lang IsNot Nothing Or lang <> "" Then
Thread.CurrentThread.CurrentUICulture = New CultureInfo(lang)
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(lang)
I am new to asp. I wanted to know how I can change the culture for all subsequent pages, because this video show how to change the culture for one website. So the user will come in and select either english or french from the
main page and all subsequent pages should be changed in that language. How can i made multi language site with session in VB?
Thank you, for your answers.
Feb 08, 2009 11:27 PM|Nai-Dong Jin - MSFT|LINK
From your description, it seems that you want to change the globalization culture settings in application level, not the page level, right?
If so, you may try the following article which shares some information on how to set the Culture information in an ASP.NET application, Application Level, Page Level, and Thread Level.
You may use ConfigurationManager to access the section value programmatcially.