none
Customize Resources files not only by culture RRS feed

  • Question

  • Hi, I wanna customize my resources files, this is because we want to use the same app for 2 different company and these need to be in english and spanish, now we have the resorcs files like:
     
    Resource.es-MX.resx
    Resource.en-US.resx

    but we want to implmente something like:

    Resource.es-MX.resx
    Resource.es-MX.Company1.resx
    Resource.es-MX.Company2.resx
    Resource.en-US.resx
    Resource.en-US.Company1.resx
    Resource.en-US.Company2.resx

    And I don't know if this is possible, if this is posible you know how I can do it? I think I need to override some class but I don't know  which class and if is posible. this is because we want made this:

    try to found the key on the company resource if not exists search on the resource file of the culture, for example if we wanted the value for 'key1'  the app need to search on Resource.en-US.Company2.resx if not exists we need to search on Resource.en-US.resx, please let me know if you know how I can made this.

    Friday, October 26, 2018 3:52 AM

All replies