I’m porting my Windows Phone App to Windows 8 and localizing to support several languages as per MSDN. I just want to clarify a few things before I start with the localization.
-
While localizing for Windows Phone, I had writtern a separate class called
LocalizedStringsand used aResourceManagerto fetch the strings in the code behind and for XAML I used bindings. The MSDN link shows the use ofx:Uidfor each element and this works fine for English. I would like to confirm whether this is the right approach? -
What about adding
SupportedCulturesin the.csprojfile. Anything of that kind here? -
Is there a way to test the different languages in the Simulator? How can I change the language settings in simulator?
Would be really grateful if someone could clarify these.
Yes it is, if you localize in XAML the you must use x:Uid instead of bindings
There is no need, supported laguages are detected automatically from your resource files
The language settings in the Simulator are the same as in your system. You should add all the languages to your system (Control Panel\Clock, Language, and Region\Language) and then change their priority to see different localization in your application