Last post Apr 05, 2008 02:56 AM by joeri pansaerts
Apr 05, 2008 01:10 AM|Joeri Pansaerts|LINK
I have a website in 2 languages. The default language on my site is "nl". My second language is "en". So I always have 2 local resource files for each aspx file I have in my website. The standard resource file (nl) is Default.aspx.resx, my second resource
file is Default.aspx.en.resx
But when I load my website, I always see the English language. So when I go in my IE7 browser to tools/options/language and I set the language to "nl" as first language. I still see the English version of my resources BUT the standard asp components are
in Dutch (nl). This looks a little odd.
I have watched the movie of globalization on this asp.net website. But there I have the same problem, when I downloaded the code.
Can anyone think of a solution ? I think my brower is the problem, so can anyone explain to me what's going wrong here.
Apr 05, 2008 02:42 AM|vivek_iit|LINK
There are two components to localization: Culture and UICulture objects. You need to make sure that you set both of them to the default culture in web,.config or in InitializeCultrue method in page/basepage class.
Refer this article for localization:
Hope this helps,
Apr 05, 2008 02:56 AM|Joeri Pansaerts|LINK
Thank you very much. The problem was my web.config