[Mono-list] Error: culture name ur is not supported

Daniel Nauck dna at informatik.uni-kiel.de
Fri Dec 7 06:16:40 EST 2007


Hallo,

please have a look at this thread:
http://lists.ximian.com/pipermail/mono-devel-list/2007-December/thread.html#25940

Daniel

Jyoti Seth schrieb:
> 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
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list


More information about the Mono-list mailing list