[Mono-list] Error: culture name ur is not supported
Jyoti Seth
jyotiseth2001 at gmail.com
Fri Dec 7 06:04:27 EST 2007
Hi,
I have made a multilingual website in asp.net and deployed it on suse linux
10.1 version. The following code is working fine for all the cultures except
"ur". It gives the following error "HTTP 500. System.ArgumentException:
Culture name ur is not supported. Parameter name: ur"
protected override void InitializeCulture()
{
//System.Threading.Thread.CurrentThread.CurrentCulture =
CultureInfo.CreateSpecificCulture("hi");
//System.Threading.Thread.CurrentThread.CurrentUICulture = new
CultureInfo("hi-IN");
System.Threading.Thread.CurrentThread.CurrentCulture
=CultureInfo.CreateSpecificCulture("ur");
System.Threading.Thread.CurrentThread.CurrentUICulture = new
CultureInfo("ur-PK");
base.InitializeCulture();
}
Please let me know if someone knows how to fix this problem.
Thanks,
Jyoti
More information about the Mono-list
mailing list