Adding Neutral Cultures to Web Pages
I've been trying to get neutral cultures to work in my web pages and cant seem to make it work. According to the book (Professional, Chapt 30, Localization, p. 1368) one just needs to change the resource file to have the 2 letter neutral code instead of the 4 letter code in place in order for it to work.
For example, I am trying to use chinese. I can get it to work if I specifically call for zh-TW, or zh-CH, but I cannot get the page to use the resource file correctly if I just have Default.aspx.ZH.resx, for example.
Is there anything specific I need to do in either the Page directive or the web.config file for the culture and / or uiCulture settings to make the neutral culture resource file work correctly?
Currently I have the page directive set to culture="auto" and uiCulture="auto" and the web.config file has:
<globalization culture="auto:en-US" uiCulture="auto:en-US" />
Is this right, or do I have to set it up differently?
Thanks for any help.
Gary Petersen
|