I'm using the .net TimeZoneInfo FindSystemTimeZoneById method which I understand queries the registry. Are the values for Time Zone ID strings stored in the registry at "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Time Zone" dependent on the language of the Windows installation of the machine?
The registry key contains a value called "Display Name" so it would make sense for this to be the language specific one, but I can't find out if this is the case (short of installing a different language version of Windows). Can anybody let me know?
I have since come to understand that the answer to this question is:
The Time Zone ID's are the same for all Windows languages. The data within these keys may be different for different language installations. The set of ID's installed will differ for different language installations.
It is badly documented and I can't find a reference for this, but I have compared several different version of windows (japanese, chinese, french, german, english) and these were my findings.
"Note The following time zone registry file is for use only on English builds of Windows. Several of the values in the registry keys have been localized. Therefore, these steps will work only on English builds of Windows. To create a registry file for non-English builds of Windows, go to the "How to create a registry file for non-English builds of Windows” section"
http://support.microsoft.com/kb/914387
Hope that helps mate
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With