Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Professionals
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old May 14th, 2009, 02:44 PM
Registered User
Join Date: Feb 2009
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
Default 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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display web cam in web pages peace2007 ASP.NET 2.0 Basics 1 September 17th, 2007 02:07 PM
Links to web pages Brendan Bartley Access 7 September 16th, 2005 07:06 AM
Adding pages!! NitinJoshi General .NET 3 January 18th, 2005 09:32 AM
Web pages constructing: I-mode(mobile) pages karib Dreamweaver (all versions) 3 June 6th, 2004 10:48 AM
Localisation: Cultures/UICultures/Regions/Locales Prometheus ASP.NET 1.0 and 1.1 Basics 0 October 20th, 2003 08:36 AM

All times are GMT -4. The time now is 12:32 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.