Fix locale of opened dialogs
* src/w32-gettext.cpp (_nl_locale_name): Check UI language only once.
In some callbacks e.g. if you click the open options button we
can get an error trying to access the LanguageSettings object
so it is better just to cache it. Outlook requires a restart
for language changes to take effect anyway.