In my ASP MVC 3 site I added a folder Resources with 2 Resx files Strings.resx and Strings.fr-FR.resx, Acces modifier public, and provided translation.
I added in web.config:
<system.web>
<globalization culture="Auto" uiCulture="Auto"/>
and
<configuration>
<appSettings>
<add key="culture" value="fr-FR" />
<add key="uiculture" value="fr-FR" />
I also forced french language in CurrentCulture and CurrentUICulture in Application_AuthenticateRequest and Application_BeginRequest in global.asax.
The problem is when displaying site in localhost, the language is translated in french.
When deploying the site on the server (after building the msi in a WebSetup project) The strings are not translated in french language although both culture and ui culture are "fr-FR" (displayed them in input hidden).
What can be the problem? Maybe something is missing in the config server? I can't find any issue about that in the internet.
Thanks.