Closed Bug 105325 Opened 24 years ago Closed 24 years ago

does not negotiate correct langauge

Categories

(Core :: Internationalization, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: dlannom, Assigned: ftang)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20010913 BuildID: 2001101117 With English + other language the site displays something like: 0 0.9999 en_us 1 0.4998 zh All the languages activated in the browser are listed, in this case english and chinese. Netscape 4.7x correctly displays the english version [only one available]. This site is running Netscape Directory Gateway 3.1. Symptoms identical on NT 4 and Windows 2000. Reproducible: Always Steps to Reproduce: 1. Install Mozilla .94,.95 2. From menu edit preferences/navigator/languages/add chinese 3. view http://directory.umd.umich.edu/ds/search Actual Results[.95]: Page shows: 0 0.9999 en_us 1 0.4998 zh instead of normal screen Expected Results: A search screen [view site with only English for details] All the languages activated in the browser are listed, in this case english and chinese. Netscape 4.7x correctly displays the english version [only one available]. This site is running Netscape Directory Gateway 3.1. Symptoms are identical on NT 4 and Windows 2000. I am the system administrator for this site and never activated any lanugages other than English. I think a more resilient handling of the negotiation should be implemented.
-> ftag
Assignee: yokoyama → ftang
I think your server have some bug, the HTML source is mark this bug invalid 0 0.9999 en_us 1 0.4998 zh <html> <head><meta HTTP-EQUIV="Content-type" CONTENT="text/html;charset=utf-8"> <!-- search.html --> <title>Netscape Directory Server Gateway: Standard Search</title> <script LANGUAGE="JavaScript"> <!-- Hide from non-JavaScript-capable browsers function validate(sform) { if (sform.searchstring.value == '') { 0 0.9999 en_us 1 0.4998 zh var aw = window.open('', 'alertWindow', 'width=350,height=130,resizable'); aw.focus(); window.searchFrame.document.alertForm.MSG.value ='Please type a search string'; window.searchFrame.document.alertForm.submit(); return false; } sform.searchstring.select(); sform.searchstring.focus(); return true; } function init() {} // End hiding --> </SCRIPT> </head> <frameset ROWS=75,100,* BORDER=0 onLoad="init()"> <frame SRC="lang/searchtitle.html" SCROLLING="NO"> <frame SRC="search/string" NAME=searchFrame NORESIZE SCROLLING="NO"> <frame SRC="lang/greeting.html" NAME=outputFrame> </frameset> </html> Try visit http://people.netscape.com/ftang/echo.cgi you will see the following: HTTP_ACCEPT_LANGUAGE = en-us, zh;q=0.50 probably your server don't know how to handle the ;q= stuff
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Verified as invalid. Dan Lannom, if you are not agree, please reopen this.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.