Windows Develop Bookmark and Share   
 index > Windows Forms General > Globalization and Cultures
 

Globalization and Cultures

We got all Windows cultures with the Command:
CultureInfo[] allCultures = CultureInfo.GetCultures(CultureTypes.SpecificCultures);     
The same list is in the
Language Property of the System.Windows.Forms.Form.
Is it possible to add own elements into this list?
Maye be, wee need "customer1-DE", "customer2-DE"...
Martin Elevador Lacerda  Tuesday, October 06, 2009 1:54 PM
There isn't a way to add it to "CultureInfo.GetCultures", but there also shouldn't be a need.

This returns the operating system defined cultures.  If you're adding your own, specific culture, just create the CultureInfo (or modify the existing german culture), and save the CultureInfo in your application.  You don't need to add it to "CultureInfo.GetCultures", just make your CultureInfo and use it.



Reed Copsey, Jr. - http://reedcopsey.com
Reed Copsey, Jr.  Tuesday, October 06, 2009 4:54 PM

You can use google to search for other answers

Custom Search

More Threads

• "working" progress bar
• Only prints one page...
• how to prevent the user to open the application more than once
• Using SendKeys causes my application to error during exit.
• Getting a TableLayoutPanel to Scroll in "real-time", not delayed after scroll thumb de-clicked
• Fill the Combobox
• Custom Control Library
• Text Rendering on 1600x1200 resolution - Windows 2000
• customize the common file dialog of an existing program
• How to control this program with the Space key?