I'm working on a multilingual site written in asp.net using mvc 1.0. I was asked to switch from resources files to a database to allow my client to change the translation strings without need of restarting the service.
I wonder if it is possible to swap the translation at runtime with standard resource file.
Question:
How can I allow my client to replace the translations at runtime without need of downtime?
Here are the raw ideas howto solve the problem. Any thoughts are welcome:
- Using IIS to graceful restart the app after resource satellite assembly was switched. Gracefully means that all new request use the updated assemblies. (Aren't the assembly files locked?)
- Finally roiling my own resource provider (that reads xml file) and plug it in to the resource manager. (I've never done that so any help is welcome)