Is it possible in ASP.NET MVC to use 2 different languages on a single page, each with it’s own resource file?
So for example I want the header of the page to be in english and the content in german.
Now there should be two dropdowns to change the language, one for the header and one for the content. If I change the header language to french the content should still stay german and vice versa.
Is this possible or not?
Just an update if anyone is interested.
There is a way to solve this problem.
In the example below the culture initially is set to german, then changed to english for the partial, and in the end, reset to german again.
This results in the partial being rendered with the english language, whereas the rest of the page is rendered in german.
With a custom helper method this would certainly look a bit more elegant.