Pictorial on how to use Globalisation / localisation in WP7 / Silverlight development.
More comprehensive sample (including appbar and title localisation) has been uploaded to codeplex
http://wp7localization.codeplex.com/
Pictorial below:
Close visual studio and open the csproj file with notepad or textpad etc. Add the supported cultures node or edit it to add your supported locales. Once added, save and close the editor.
Open project using visual studio.
Now lets add resource files
Now add other locales (e.g. german)
there’s some issue with resource constructor being internal and setting the resource as Application wide resource. So lets expose it manually
Now declare app resource in App.xaml file
Now lets consume it in a xaml
Lets start emulator
Now change emulator display language and accept changes
Now lets restart the app
There… all done.. you can do this for just about any language











I liked your article is an interesting technology
thanks to google I found you
glad you found it interesting.
Do you think you can put up a link for the source code on the above example for us to reference?
give me a couple of hours and i will make you a proper sample. Is codeplex hosting okay ?
That would be GREAT! Thanks bro!
here you go. More comprehensive sample (including appbar and title localisation)
http://wp7localization.codeplex.com/
Hi hermitd,
didnt see any file to be downloadable from the link u posted.
http://wp7localization.codeplex.com/SourceControl/list/changesets
its project like a proper opensource project. there’s a link for downloading on the right hand side (Source Code) menu on project page