I've got an MVC application which does use some custom routing:
{Customer}/{Entity}/{Action}
The {Customer}
route variable could be understood like the localization variable. I'd like to change the labels on the views according to the value in {Customer}
. This means for Customer1
, Field1
is labeled Username
and for Customer2
, Field1
is named LoginName
. (example doesn't make sense, but should show the requirement).
How can I achieve the desired result? I started with creating two resource-files Labels.Customer1.resx
and Labels.Customer2.resx
but don't know how to enable these in the view.
By the way, I'm NOT using the razor-engine.
Thanks!