Closed
Bug 235058
Opened 21 years ago
Closed 21 years ago
Content/language switching from UI is broken
Categories
(Core :: Internationalization: Localization, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.7beta
People
(Reporter: kairo, Assigned: Biesinger)
References
Details
Attachments
(1 file)
2.08 KB,
patch
|
neil
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
Since somewhere in the 1.7a development cycle, switching locale packs (content
packs / language packs) from the Appearance > Language / Content pref panel is
broken.
There is no working UI now for activating an installed L10n XPI pack. You have
to manually change selectedLocale lines in your profile's chrome.rdf for now.
I saw this in my trunk CVS build and a current nightly on Linux, Asa verified it
in a 1.7a candidate build.
Reporter | ||
Comment 1•21 years ago
|
||
The workaround for getting it to work in the broken build in more detail:
Install the L10n pack (XPI file). Try to change language / content from the pref
panel. It seems to have no effect. Now:
1) Close Mozilla, including Quick Start.
2) Open chrome/chrome.rdf of your user profile.
3) Go through all lines that have "selectedLocale" in them, and
a) replace "en-US" with your wanted language code (e.g. "de-AT")
b) replace "US" with your wanted content code (e.g. "AT")
4) Save that changed file.
5) Delete the FastLoad file (XUL.mfl, XUL.mfasl) in your profile directory.
6) Launch Mozilla. It should have the language switched.
Comment 2•21 years ago
|
||
See also bug 234109 (camino) and bug 230558. These are all related, and I'm
having a lot of trouble pinning down what's going on... I don't think it's one
particular cause, but probably a collection of small changes that expose a
systemic problem in the chrome registry.
Could someone try starting with -UILocale with and without the profile manager,
and tell me whether that works?
Severity: normal → major
OS: Linux → All
Comment 3•21 years ago
|
||
May be the issue is related to that one of bug 232907,
http://bugzilla.mozilla.org/show_bug.cgi?id=232907
As I described there under Additional comment #11 the reason for the issue may
be in the file components/locale.xpt.
For testing this bug here I downloaded and installed the following nightly:
http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/experimental/2004-02-19-14-1.7a/mozilla-win32-1.7a-installer.exe
But, unfortunately there isn't the locale.xpt component more in the components
folder. Was it forgotten?
BTW the link refers to nightly 2004-02-19-14, but in the title bar appears build
2004-02-19-13.
Comment 4•21 years ago
|
||
Michael: I'm pretty sure your locale.xpt information doesn't affect this bug,
the "locale" being mentioned is an entiely different thing.
Assignee | ||
Comment 6•21 years ago
|
||
neil broke this in Bug 89576 on dec 19.
he removed the code that accessed the selected element via the dom
(getElementById etc), and accssed it now via the wsm. unfortunately the code is
broken (The urls are wrong).
Assignee | ||
Updated•21 years ago
|
Attachment #141883 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.7beta
Comment 7•21 years ago
|
||
Comment on attachment 141883 [details] [diff] [review]
patch
Don't blame me, that line's always been wrong, blame
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/extensions/content-packs/re
sources/content/pref-contentpacks.xul&rev=1.2&root=/cvsroot&mark=75#75
Attachment #141883 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #141883 -
Flags: superreview?(roc)
Reporter | ||
Comment 8•21 years ago
|
||
Neil: So you uncovered a bug that has essentially been there since we (or better
ben) invented content packs. Nice to know ;-)
And many thanks to biesi for finding that... Having that time-bomb in the code
for three years is bad enough - let's get it out of there...
Comment 9•21 years ago
|
||
Comment on attachment 141883 [details] [diff] [review]
patch
sr=bzbarsky
Attachment #141883 -
Flags: superreview?(roc) → superreview+
Assignee | ||
Comment 10•21 years ago
|
||
Checking in pref-contentpacks.xul;
/cvsroot/mozilla/extensions/content-packs/resources/content/pref-contentpacks.xu
l,v <-- pref-contentpacks.xul
new revision: 1.27; previous revision: 1.26
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 11•21 years ago
|
||
Just tried switching on a current build on Linux. Verified fixed.
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 12•21 years ago
|
||
*** Bug 232435 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•