Reputation: 39
I am using ASP.NET MVC 5. I am trying to get the message of the ValidationMessageFor
in French.
"The xxx field is required" -> "Le champ xxx est manquant".
I have deployed my website in 2 servers
I added in my web.config this following line:
<globalization culture="fr-FR" uiCulture="fr" />
Finally, I succeed in doing the "translation" for the WS 2012. But not with WS 2008, when I submit a form, I still have "The xxx field is required" in English.
I conclude that it's a problem of server configuration. But which one?
I have tried to:
If anyone has a solution for me...
Upvotes: 2
Views: 1870
Reputation: 2362
You need to install language pack on the server on which you are hosting your site. Go to Microsoft's official site and you can download them.
http://www.microsoft.com/en-us/download/details.aspx?id=1246
Then click on download button.
Then save file on your disk and install it.
Please let me know if you have any problem.
Upvotes: 1
Reputation: 39
Microsoft .NET Framework 4.5 Language Pack: http://www.microsoft.com/fr-FR/download/details.aspx?id=30667 fixed my issue.
Upvotes: 0