Я хочу изменить места просмотра во время выполнения на основе текущей культуры пользовательского интерфейса. Как я могу добиться этого с помощью механизма просмотра веб-форм по умолчанию?
В принципе, я хочу знать, как реализовать с WebFormViewEngine
что-то, что custom IDescriptorFilter в Spark.
Есть ли другой механизм просмотра, который дает мне контроль над просмотром местоположений?
Изменить: Мои URL-адреса должны выглядеть следующим образом {lang}/{controller}/{action}/{id}
. Мне не нужны языковые контроллеры, и представления локализованы с помощью ресурсов. Однако некоторые из них будут отличаться на некоторых языках. Поэтому мне нужно сказать, что движок просмотра сначала смотрит на папку с конкретным языком.