Extending the Windows Japanese Calendar Era information.

Some people have asked whether Windows supports new Japanese Calendar Emperor eras if that becomes necessary.  FWIW That information is stored in the registry on Win7/Win8/.Net4.0+:   HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlNlsCalendarsJapaneseEras There are string values for each of the supported eras.  Each value is named with the start date of the era in yyyy MM dd format, such…


User Locale, System Locale, UI Language, Language Profile & All That

“Anonymous” asked a good question in a previous post “http://blogs.msdn.com/b/shawnste/archive/2006/02/17/klingon-in-piqad-windows-vista-custom-locale.aspx#10235416”, basically leading to “what’s the difference between a user locale and a system locale”? Windows has a few locale/language concepts, and first I should probably mention the distinction between “locale” and “language”.  Locales have information about a user’s language and region, like whether a preferred…


Dumping Custom Culture LDML for all built-in files

Sometimes you want to see what’s in a built-in culture, or maybe you want to figure out what data’s in an uplevel culture so that you can make a similar custom culture for an older OS.  Here’s an easy way to dump the LDML files for all of the cultures on the system, copy this…


Rupee update for Windows 7 and Server 2008 R2

India changed it’s currency symbol, and so now we have an update http://support.microsoft.com/kb/2496898 to support the new rupee symbol.


Dump the LDML for ALL the locales on the box

So, for whatever reason, you want to know what the LDML that the CultureAndRegionInfoBuilder needs is for all the locales for the box.  It’s pretty trivial, but:   using System; using System.Globalization; class DumpAllLocales { static void Main() { foreach (CultureInfo culture in CultureInfo.GetCultures(CultureTypes.AllCultures)) { try { // Skip invariant if (String.IsNullOrEmpty(culture.ToString())) continue; // Get…


Some user account changes are coming

“For those of you who sign-in to comment on the MSDN Blogs, there is a change coming on January 27th 1:00 pm (PST) regarding user accounts and profiles. Please click here to read about this change.    If you have questions please leave a comment on the linked blog post so that the MSDN Blogs platform…