I'm looking to utilize the Windows dialogs, such as the Windows.Storage.Pickers.FileSavePicker() or the print dialog with the language my application has selected, not the language that the OS is currently using.
My application can change the language at run time, and it is working nicely for the most part, by doing the following with all my resources set up and the other language installed:
System.Globalization.CultureInfo.CurrentUICulture = new System.Globalization.CultureInfo(selectedLanguageCode);
System.Globalization.CultureInfo.CurrentCulture = new System.Globalization.CultureInfo(selectedLanguageCode);
Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride = selectedLanguageCode;
However, the only thing that doesn't change is my Windows dialogs, they appear to stay in the language of the OS and not what I've selected in my application.
The methods in question for FileSavePicker do not have any properties or settings that allow me to change the language.
Does anyone have any ideas on how I can change this so if I'm using French on and English computer it will show the Windows dialog box in French?
I'm sorry but Windows dialogs cannot be localized with UWP apps (not sure about WPF projects).