protected override void InitializeCulture()
if (Request.Form["myDropDownWithLanguageSelection"] != null)
String selectedLanguage = Request.Form["myDropDownWithLanguageSelection"]; // this is gonna be en-CA in your case
UICulture = selectedLanguage ;
Culture = selectedLanguage ;
Thread.CurrentThread.CurrentUICulture = new
Public Class BasePage
Protected Overrides Sub InitializeCulture()
Select Case Session("language")
Me.MasterPageFile = "Master-EN.master"
Me.Culture = "en-us"
Me.UICulture = "en-us"
Me.MasterPageFile = "Master-FR.master"
Me.Culture = "fr-ca"
Me.UICulture = "fr-ca"
Me.MasterPageFile = "Master-CE.master"
Me.Culture = "en-ca"
Me.UICulture = "en-ca"
Me.MasterPageFile = "Master-ES.master"
Me.Culture = "es-us"
Me.UICulture = "es-us"
Now().ToString("d", New Globalization.CultureInfo("en-us", False))
steelcity_ballin wrote:I'm nearly complete save for a little clean up work across languages and pages. One thing the client requested (which makes no sense to me) is that all Currency be displayed in USD. I'm almost positive that I am correct in stating that, for example, when a french user see "500,01 $" that s/he will understand that to be the same as "$500.01" and it's also understood this is USD.
Am I also correct that you can only set 1 culture per page such that it's not possible to have a particular control render in US-EN and everything else as the culture they've chosen?
steelcity_ballin wrote:I'm almost positive that I am correct in stating that, for example, when a french user see "500,01 $" that s/he will understand that to be the same as "$500.01" and it's also understood this is USD.
Users browsing this forum: No registered users and 3 guests