0

Hello,
I am working on a project and I'm having a bit of trouble trying to localize my resources outside my MVC application.
I currently have a MVC Application where i've defined my Resources in App_Global_Resources, and I have a C# Project where I've defined my Models with all the Validation Messages in it.

What I want to do is to localize the Resources in my MVC application and use them in the C# Project for the Validation Messages, otherwise I will only be able to display them in one language.

How can I do this?

Thanks in advanced

Edited by __avd: Change forum type

2
Contributors
1
Reply
14
Views
4 Years
Discussion Span
Last Post by Ketsuekiame
0

The built in mechanism actually uses the country codes to select the correct resource file, with the default one having no country code.

If you don't want to rely on built in (which doesn't always work) This is probably the best resource on the subject.

Along with the official resource material :)

Edited by Ketsuekiame

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.