Last post Nov 30, 2010 04:48 AM by ankur.nigam
Nov 29, 2010 08:46 PM|pranav_unde27|LINK
I am developing an application in which there are many langauge options. Depending on selection futhur pages will be displayed. For English,Dutch,French, I have used prescribed culture information. But what about Hindi/Marathi or any Indian language whose
culture is not prescibed in .NET culture list ?
Also how many cultures supported by .NET 2.0 framework? Can anybody give the list please.
Also tell me which culture sholud i used for Hindi / Marathi ?
local resource asp:Localize culture
Nov 29, 2010 11:19 PM|prasadP|LINK
Supported culture is OS dependent. Check
here for default language support per OS.
Check following URL's for creating Hindi or Marathi culture.
Nov 30, 2010 04:48 AM|ankur.nigam|LINK
The language codes for the languages are given below.
Marathi - mr-IN
Hindi - hi-IN
Also, in order to implement all these languages programatically, you can use the code given below.
Protected Overrides Sub InitializeCulture()
System.Threading.Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("hi-IN")
System.Threading.Thread.CurrentThread.CurrentUICulture = New CultureInfo("hi-IN")