I have to localize an W8 C# application. The user must be able to change the language in runtime.
I tried to used :
Windows.Globalization.ApplicationLanguages.PromaryLanguageOverride = "de-DE";
and reload the Frame with :
var _Frame = Windo.Current.Content as Frame;
_Frame.Navigate(_Frame.Content.GetType());
_Frame.GoBack();
It had no effect in runtime but it works when I restart the application.
What can I do to make it works in runtime ?
My app had only images in folders like "en-US"; "de-DE"; "fr-FR"...
The Package.appxmanifest has this property :
<Ressource Language="x-generate" />
I already tried to specify each languages :
<Resources>
<Resource Language="en-US" />
<Resource Language="fr-FR" />
<Resource Language="de-DE" />
</Resources>
but it changed nothing.
Thank's for you help.