This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 124623 - I18N : language switching to zh-cn and pt-br on download page not working with IE
Summary: I18N : language switching to zh-cn and pt-br on download page not working wit...
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: dlipin
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-01-03 04:12 UTC by Masaki Katakai
Modified: 2008-03-06 19:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2008-01-03 04:12:25 UTC
When using IE on Windows, the language switching to zh_CN and pt_BR is
not working on download page,

http://bits.netbeans.org/download/6.0.1/ml/nightly/latest/

When accessing from IE on Chinese Windows, it always returns
English page.

It seems that IE returns "zh-cn" but it's not working with the
current JavaScript codes. "zh-CN" is working, which comes from Firefox.
We need to make these codes to work properly for both Firefox and
IE on Windows, in any case "cn" or "CN".

Localized Firefox on Windows : zh-CN -> working
Localized IE on Windows : zh-cn -> not working now

I haven't tried yet but probably pt_BR won't be working too.
Comment 1 Ken Frank 2008-01-03 07:26:00 UTC
making as a p1 showstopper since very, very short time left until 6.01 final build/installer
and dload page is related to that.

Also, for windows, if user is not using a localized windows for some given locale,
but user is in some locale for which we localize and/or if has chosen that locale
as first choice in language settings, for IE, show the localized page in those cases
also; they can still dload the en or other nb, but it seems in these cases it would
mean they would want to see translated dload page.

ken.frank@sun.com
Comment 2 dlipin 2008-01-04 14:09:36 UTC
Should be fixed now, check ASAP when the next build (>=200801050000) is available.

Checking in common.js;
/cvs/installer/infra/build/web/js/common.js,v  <--  common.js
new revision: 1.1.2.3; previous revision: 1.1.2.2
done
Comment 3 Ken Frank 2008-01-05 17:47:26 UTC
part of it seems fixed using non localized IE running under ja or zh_CN regional settings -

that is, it shows the localized page
(I don't think the pt_BR download page translations have been put back yet, so can't check that yet)

a. we need to see if same behavior will happen when using actual localized IE


b. however, regardless of locale I am in, if change the lang prefs to another language, the
download page does not show in that language if we have localized for it; I'll make separate issue
on that so not to confuse about this one.

ken.frank@sun.com
Comment 4 Rebecca Liu 2008-01-07 02:38:17 UTC
It is fixed in localized zh-cn IE. Thanks!
Comment 5 Ken Frank 2008-03-06 19:59:18 UTC
verified.