I have localization working in Silverlight Patterns 4.0 by following:
http://timheuer.com/blog/archive/2009/08/26/silverlight-string-localization.aspx The link is well written except for the following bold text before Step 5: Testing it out. It states: UPDATE: Forgot one critical step – oops. You have to manually edit your **proj (csproj/vbproj) file for your Silverlight project to add the locales in the SupportedCultures node of the proj file. This is a manual step (and sucks), but don’t forget it or nothing will work as you suspect. To do this: 1) Right click Silverlight Patterns in Action project and select UnLoad Project context menu item. 2) Right click Silverlight Patterns in Action project and select Edit Silverlight Patterns in Action.csproj context menu item. 3) Add the new cultural name to <SupportedCultures>en-US;ru-RU</SupportedCultures>. I have en-US and ru-RU. Ensure you have a semi colon ';' sperating the two.
4) Right click Silverlight Patterns in Action project and select Reload Project context menu item.
5) Click 'Yes' if a dialog displays asking to close Silverlight Patterns in Action.csproj.
I verified by changing my display language of the windows environment to Russian:
Select Region and Language from the Control Panel,
Select the Keyboards and Languages tab.
Select a language from Choose a display language: combo box.
If the language is not listed, install the language by clicking Install/uninstall languages... button.
After selecting you need to restart your computer and run the Silverlight Patterns in Action project.
Remember that upon restarting some window text will be in the language that it was changed to so you may or may not have problems finding your way around.
I'm using VS2010 on a Windows 7 Ultimate 64-bit
M S, Sep 01, 2010
Hello M S:
The Design Patterns Framework does not demonstrate localization. The emphasis in the Design Pattern Framework is on when and how to use Design Patterns. Our feeling was that if we had included localization it would have 'muddied the waters' and made the learning experience more complicated.
That said, the Design Pattern Framework is like any other .NET application and supports localization.
Hope this helps.
Dan McMillan, Aug 31, 2010