mardi 4 août 2015

ASP.NET c# Customer Resources "branching" system

Last couple of hours I am trying to figure out how I can use CustomerResources like the localization and globalization version of the Resources. I have a multilanguage website which uses Resources.localization-globalization.resx to get the texts for that language, example : Resources.en-EN.resx. Now I have multiple customers who want to have some texts changed to their own way of saying it. But also use Multilanguage on that version so what I wanted to do is create a folder based on the customer GUID, and use that name to select the right Resources file like this :

Google/CustomerResources.resx

the /\ folder is dynamic and could be either Google or Yahoo or Bing.

Is there a way to achieve this or could I change this to CustomerResources.Google.resx?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire