Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Professionals
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 14th, 2009, 01: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





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 01:07 PM
Links to web pages Brendan Bartley Access 7 September 16th, 2005 06: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 09:48 AM
Localisation: Cultures/UICultures/Regions/Locales Prometheus ASP.NET 1.0 and 1.1 Basics 0 October 20th, 2003 07:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.