I have a set of standard (en-GB) resource files.
I have translated versions of these files for each language I will implement (French, Japanese).
These are "generic" and all customers will receive them.
Some customers want to override certain resource strings. These will need to be done for each language.
So...
ResourceFile1.resx
ResourceFile2.resx
ResourceFile1.fr-FR.resx
ResourceFile2.fr-FR.resx
ResourceFile1.ja-JP.resx
ResourceFile2.ja-JP.resx
ResourceFile1.Customer1.fr-FR.resx
ResourceFile2.Customer1.fr-FR.resx
ResourceFile1.Customer2.fr-FR.resx
ResourceFile2.Customer2.fr-FR.resx
ResourceFile1.Customer1.ja-JP.resx
ResourceFile2.Customer1.ja-JP.resx
ResourceFile1.Customer2.ja-JP.resx
ResourceFile2.Customer2.ja-JP.resx
The customer and the language will be specified in the web.config.
I can set the globalization to easily use the chosen language...
<globalization culture="ja-JP" enableClientBasedCulture="false" uiCulture="ja-JP" />
...but how can I also specify the customer?
Is there a built in method (I can't find after lots of googling)?
Is my only option a custom resource provider?
Any input is appreciated! Thanks
Edit 1:
The idea is. 1) If the resource exists in the client/language specific file... use that. 2) Otherwise, if the resource exists in the language specific (generic) file... use that. 3) Otherwise, use the resource from the standard (en-GB) file.
Edit 2:
All resource files need to be deployed to all customers. We deploy a single version of code to each customer application and dynamically load the web.config on application start.