A very challenging topic, System Locale for Applications

  • Thread starter Thread starter Andy Broto
  • Start date Start date
A

Andy Broto

Hi Guys,

I am in the midst of a project that requires an intelligent way to feed
my application a modifiable System Locale without restarting. That way -
the application is smart enough to work virtually everywhere in the
world geographically without affecting many other applications sits on
the same machine.

I look forward to receiving your inputs....

My kind regards,
ABroto
 
You can change the current Thread's CurrentCulture and CurrentUICulture.
This will make all string conversions (numbers, dates, etc) use the cultural
rules (unless you override the rules/formatters), as well use use the
resource strings for that particular culture (assuming you created the
appropriate resources).

-Rob Teixeira [MVP]
 
Back
Top