1
votes

I'm trying to add dynamic localization to the existing silverlight app following this guide: Localization Guide, unfortunately it doesn't seem to work even though I did the exact things. The guide was inspired from tim heuer's localization article on his blog which is also based from MSDN documentation.

The project uses Silverlight 4 and .NET 3.5. The guide does work on a new application, no problem about that. Since it kinda doesn't work for me, are there other ways to implement localization? (put all translations in an xml perhaps? load via database? other ways of loading from RESX files?)

WCF RIA isn't an option I guess since I'm only using .NET 3.5. Do correct me if I'm wrong on this fact.

1

1 Answers

0
votes

There are a number of useful options/answers here: Is there a tool for helping the extraction of localizable text from Xaml?

Our own answer there will direct you to this rather novel approach: Localisation of Silverlight projects after completion

My personal preference is to pull the required language from a database down at app startup and cache it in ISO storage. For a large app you are still only talking a couple of hundred Kb of data to download, per language, so quite manageable on the fly. Central databases are much more convenient for updates (and we allow for dynamic submission of corrections from the client apps).

PS. WCF RIA services works fine with .Net 3.5 (unless there was some late breaking change).