M
micky
i'd like to use localization programatically
at first, i using like this...
protected override void InitializeCulture()
{
String selectedLanguage = "en-US";
UICulture = selectedLanguage;
Culture = selectedLanguage;
Thread.CurrentThread.CurrentCulture =
CultureInfo.CreateSpecificCulture(selectedLanguage);
Thread.CurrentThread.CurrentUICulture = new
CultureInfo(selectedLanguage);
base.InitializeCulture();
}
this code have to write in cs file of aspx page but i already use master
page and usercontrols..
and if i use it i may be write it all of pages that's why i want to use this
only 1 page but not aspx,
i'd like to use this mater page...or usercontrol page
how should i do?
at first, i using like this...
protected override void InitializeCulture()
{
String selectedLanguage = "en-US";
UICulture = selectedLanguage;
Culture = selectedLanguage;
Thread.CurrentThread.CurrentCulture =
CultureInfo.CreateSpecificCulture(selectedLanguage);
Thread.CurrentThread.CurrentUICulture = new
CultureInfo(selectedLanguage);
base.InitializeCulture();
}
this code have to write in cs file of aspx page but i already use master
page and usercontrols..
and if i use it i may be write it all of pages that's why i want to use this
only 1 page but not aspx,
i'd like to use this mater page...or usercontrol page
how should i do?