I'm trying to localize my UWP app, and everything runs well while debugging in my pc, but when I create the app package, so I can install it on my windows tablet it works differently. Here is the problem. I have in my manifest 3 different languages declared like this:
<Resources>
<Resource Language="x-generate" />
<Resource Language="pt-br" />
<Resource Language="en-us" />
<Resource Language="es-es" />
</Resources>
In the app I try to get these languages so I can pick one to set on the app.
I tried to get them using ApplicationLanguages.ManifestLanguages
or ApplicationLanguages.Languages
, none of them works. Yes I tried to remove the "x-generate" line, still nothing.
I do have all the language packs installed on the tablet and it still doesn't show the languages.
Did anyone face this problem or something similar?