Search code examples
c#.netlocalizationglobalization

TimeZoneInfo -- translated standard name based on culture


TimeZoneInfo.StandardName returns value only in English, is there a way I can get the translated name based on set culture?

Thx.


Solution

  • TimeZoneInfo are pulled from the registry...

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Time Zones

    So its OS Language Dependent.

    Changing the culture will have no effect in the Time Zone DisplayName. Of course, you can leverage resource files to achieve the desired affect.