MonoTouch CurrentUICulture

When I change the Language of the emulator or the device this change is not reflected in neither Thread.CurrentUICulture nor CultureInfo.CurrentUICulture. Is this by design?


Presently there is not glue between CultureInfo and NSLocale. I'm not sure we can have an exact match between the two (different lists) and, even on match, there would be small subtle differences that could cause trouble when porting code.

However it could be worth investigating adding a MonoTouch-specific CultureInfo that would use the current NSLocale settings. If you think this would solve your problem then please fill a bug report (priority Enhancement) to so it can be priorized for future releases.

I had to make a similar fix to allow .NET TimeZoneInfo to work properly on devices (that will be available in MonoTouch 5.2 and 5.1 betas).

Need Your Help

Static block variable in Objective-C

objective-c objective-c-blocks static-variables

Is it possible to have a static variable of a "block type"?

Steal/borrow Visual Studio 2010 tabcontrol-template?

visual-studio-2010 templates tabs tabcontrol

I want/would like a TabControl with TabItem's I can close (with an x) and move around. If I also could move the tabitems to other screens it would be great. In fact I want it exactly as in VS2010 w...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.