[dba-VB] Localizing Silverlight Business Application

Gustav Brock gustav at cactus.dk
Sun Jan 30 09:59:50 CST 2011


Hi all

I had a lot of trouble adding dynamic culture selection to a Silverlight Business Application.
But by combining info from these links I finally succeeded:

http://johnlivingstontech.blogspot.com/2010/02/localizing-resources-in-silverlight.html 
http://msdn.microsoft.com/en-us/library/dd941931(v=vs.95).aspx
http://blogs.msdn.com/b/brada/archive/2010/03/22/silverlight-4-ria-services-ready-for-business-localizing-business-application.aspx 

The missing task which left the login labels untouched, was to add the localized resx files from the web project "as link" to the Web\Resources folder of the main project. 
This way all text for labels, error messages, tool tips, etc. are kept in separate resx files.
Further, select a language in the combobox and the language changes instantaneously. Great! 

/gustav





More information about the dba-VB mailing list