How to: define new specific culture (i18n)

  • Thread starter Thread starter Mountain Bikn' Guy
  • Start date Start date
M

Mountain Bikn' Guy

Is it possible to define a culture that Microsoft has not already defined?
If so, how would I do this? I'm using .NET/C#. I'm also a newbie. TIA.
 
Sure, you can extend (specialize) the System.CultureInfo
avaiable in the namespace System.Globalization

Have a good look at the .NET API (open Visual
Studio .NET, press View -> Object Browser and locate the
classes belonging to the referred namespace).

I suggest you analyse the enumeration: CultureTypes and
categorize your intended culture appropriately.

You can see all sorts of information about .NET types
using this useful browser.

Regards.

Ted
 
I know I can inherit from that class, but as I said it looks like a deadend.
There is no way to add items to the CultureTypes enum, etc.

Has anyone ever added their own culture? If so, how was it accomplished?

Thanks!
 
Back
Top