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

Is there any point to writing your own validation framework for MVC beta or do you expect one will be released soon? validation

There have been plenty of questions on MVC validation but so far the answer has been pretty much inconclusive.

PHP version of ASP.NET's SqlCacheDependency

php mysql caching sqlcachedependency

I find the SqlCacheDependency very useful when writing C# ASP.NET applications, and would love to use something similar in my PHP applications. Can anyone suggest something?

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.