I am not sure about restarting the website, but at least using .NET MVC is very convenient, and I did not notice this restart problem, and if this happens, how often do you need to update the resx files? For large projects, I use to create a solution with several projects, one for localization, something like this:
- Myapp.localization
- Myapp.core
- Myapp.web
Then in the web project, I add a link to the Localization project and use it as
@ MyApp.Localization.Model.Customer.CustomerName
@ MyApp.Localization.Page.About.PageTitle
@ MyApp.Localization.File1.Paragraph1
Each time I change the translated text, I either download the updated .dll or copy the .resx files.
NOTE. You need to install resx files in PUBLIC, so you can get them as strongly typed.
Nestor
source share