User1535942433 posted
Hi ermii10,
As far as I think,you could do like this:
1) Update Resx Files in App_GlobalResources, App_LocalResources
If you use localization based on 'classic' localization using these folders for resources, it's possible to dynamically update these resx files dynamically at runtime. As others have mentioned these folders are monitored by ASP.NET and if there's a change
the application is recylced which can be expensive in terms of performance, but it works.
The real problem here is that if you make many changes there's a big performance impact on the site, but also if there's any sort of input error or XML encoding error in the .resx files ASP.NET will fail compilation and totally lock up your site.
2) Use a custom ASP.NET Resource Provider
ASP.NET supports creation of custom resource providers that can serve resources from alternate sources. Personally I think that if you need to modify resources dynamically at runtime a database is a better way to do this as it allows you to share the data
among developers. It's also easier to update the localization data without forcing a restart of the app for every single change made.
More details,you could refer to below article:
https://docs.microsoft.com/en-us/dotnet/framework/resources/working-with-resx-files-programmatically
https://forums.asp.net/t/1869308.aspx?Update+Resx+file+at+runtime
Best regards,
Yijing Sun