I have an asp.net mvc application which uses Resx files for different languages. The files are existing in Web project and another one service layer.
I want now to customize some labels for specific customer (they have accounts and login to our web app). Is it possible to to archive with less code change?
Have reached some articles like below but switch to use database seems require much work.
It seems using a custom resource provider to load customer based resx files could help but the difficulty I am thinking of is:
So well I have a solution working ! (based on the post from Afana), code change should be very less (create xml files, run ResourceBuilder.exe).
What I did customize is just little:
ResourceBuilder to generate all keys in a partial classXmlResourceProvider for individual customer or accepts default xml resource
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With