I have an application written in C# that I have translated in several different languages. Up until now, it has been correctly detecting the language from the Operating System's UI Culture and displaying all menus (etc) in that language.
Recently, however, I have recompiled the application (after no notable changes in the area of languages/culture) and it always seems to be defaulting in English, despite the CurrentUICulture clearly being something else (for example, fr). I am at a loss to figure what is causing the problem. If I explicitly set the culture like so (in the main form's constructor), everything works:
// Explicitly set UICulture, even though it's already fr-FR
Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-FR");
Does anyone have any idea what is going on? I thought it may have been an issue with Visual Studio, however I have tried to recompile on both VS2013 & 2015 and have the same problem.
Thanks.
EDIT: Additional information: This is a WinForms desktop-application which is currently targeting the .NET v3.5 framework. The behaviour has been observed under Windows 10 (could there have been a recent Win10 update causing this, perhaps?)