We currently have a WebForms control with an update panel. The code-behind contains logic to show/hide fields based on the selected country. This is fine for WebForms, but we ware moving to MVC, and I'm having a hard time sorting this out. I also need this to be localized, both in terms of localizable resource strings as well as displaying different form fields for different countries.

We currently store the resource strings in a .resx file in a Resources folder. Our address fields per country is stored in an XML doc that we load and parse when the country changes. This is then used to locate the respective controls and show/hide those necessary. The last bit I'm trying to work out is validation messages. ~~Reflection doesn't work on Resource classes, and I don't know of any utilities to allow variables in an attribute definition.~~

I've thought of using an XSL transform to create the address bit from our persisted address fields. Is that a valid approach?