Not sure I understand localization in Asp.Net MVC?

I find it hard to believe this is really the way you have to do it. So I feel like I'm probably missing something basic? Have I misunderstood the process of localizing an Asp.Net MVC site completely?

No, you are not missing anything. That's the process involved in localizing an ASP.NET MVC application.

1 Wow... Ok, I'll take your word for it. It just seems like the developers of MVC have done a hell of a job making web development structured, clean and simple, and then this seems to mess all that up! But ok, thanks for the answer, then I know what I have to do... – Anders Svensson May 22 at 12:37 Sadly, MVC has just inherited the standard ASP.NET way of doing it.

To be honest I'd be happy with it if the RESX editor GUI wasn't so horrible to use. – James McCormack May 23 at 13:53.

You can always use the approach of providing a separate routing and views for different languages. Some people do that and some CMS implementations favor this approach. That way you don't have to use the resource files.

The downside is that if you want to change anything, you have to do it in several places. An example given by Darin presumes "best practices" suggested by most of the experts, which may not suit you best. There is a heated discussion on this subject.

I would recommend to study offered solutions and choose what suits you the best for specific project. For more information on the subject I can suggest the following stack overflow posts: no 1 no 2 no 3 I had a link on a great blog post where a Russian guy explained approach of separate views for English and Russian (same principle applies to any combination) but I can't find it right now. Will post it if I find it later.

Also go to this link for a small tool to make it easier to edit and compare different language resource files side by side.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions