Visual studio 2008
I want to add some localization to my ASP.NET MVC site.
Someone suggested creating the resource file "Strings.resx" as a publicly strongly typed resource that works great and allows me to write
<title><%= Strings.MyView_Title %></title>
Then I proceeded to add the file "Strings.da.resx". This file is created directly next to the first, and the default is "Access modifier: no compilation", while the first (the one who does not have a language modifier) ββdefaults to "Interal".
I can see in the bin directory that the directory was created ("da") with resource.dll, however I do not see any translated text on my site.
I checked in the browser that the only preferred langauge is Danish (da-DK), but I only see English texts.
Questions: 1) Do I need to activate something in web.config? 2) I am creating the correct files with the correct types (i.e. Should # 2 have "No compilation")?
Soraz source share