When I'm debugging on my computer, all the error message I receive from MVC are in french (both client and server side). For example, for the "nom" field in the register page, if I don't give a value I receive:
Le champ nom d'utilisateur est requis.
But when I'm on the production server, I get this:
The nom d'utilisateur field is required.
My computer culture is french, so I guess MVC detect that and use the default culture. I'm pretty sure my production server is in english. So I did the following step:
- Go into Properties/Assembly informations/ and put this in french.
Didn't work so I put this line in the web.config
< globalization culture="fr-CA" uiCulture="fr" />
It didn't work either....
I've read a lot of post on stack overflow (one here and one here in the bunch) but everyone of them are for people who want their site to be in 2 languages or more. I just want my website to be in french and that it act exactly like on my personnal machine. Since it work on my personnal machine, I guess all the needed reference are already there...
Is it possible? Can anybody help me? I don't want to create a resource file for a one language website...