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…