Closed
Bug 247907
Opened 21 years ago
Closed 21 years ago
non-english Firefox cannot use extensions
Categories
(Toolkit :: Add-ons Manager, defect, P2)
Toolkit
Add-ons Manager
Tracking
()
RESOLVED
DUPLICATE
of bug 246014
People
(Reporter: zbraniecki, Assigned: benjamin)
Details
(Keywords: fixed-aviary1.0)
Attachments
(2 files)
It's very serious bug for localized versions of Firefox.
We (localizers) have to remove english locales during localization because
othwerwise anyone who imported profile from english fx0.8 will launch Firefox
with english language which would looks very bad (you're installing polish
Firefox and after launch you have to manually change language to make it working?).
Second argument is that english locales are never used by someone who wants to
use polish Fx so it's good to make builds smaller.
The problem is with extensions. If in build there is no english locale, and
somebody installs english extension (which happens quite often) Firefox shows
red line with XUL error about lack of locales for extension.
It makes extension system totally non-usable for those who uses localized
versions of Firefox.
Updated•21 years ago
|
Flags: blocking1.0?
Comment 1•21 years ago
|
||
See also the somewhat similar Seamonkey bug 216489.
This can be reproduced in the English version also. If the locale of the
extension is different from the application locale, the selectedLocale is not set.
I will attach two XPI's that shows this.
This is a simple extension with the locale name en-US that just add a
non-functioning "Prov" menuitem in the Tools menu.
This works in the English Firefox build 2004-07-15-09 on Win XP. but not if I
change to Swedish locale on the same build.
This is the same extension, only this time the name of the locale is sv-SE.
Before you install this one, be sure to uninstall the previous extension and
remove the empty "{2571BB37-993B-4fbb-A0D3-E00B103E9B09}" folder and the
chrome.rdf file if you use the same profile.
In a en-US build this extension give an XML error at the bottom of the window.
The extension works just fine in the same build with Swedish locale.
The relevant section (I guess) of the profiles chrome.rdf file look like this
for the en-US build:
<RDF:Description RDF:about="urn:mozilla:package:prov"
c:baseURL="jar:file:///C:/Documents%20and%20Settings/Hasse/Application%20Data/Mozilla/Firefox/Profiles/07-16-en/extensions/%7B2571BB37-993B-4fbb-A0D3-E00B103E9B09%7D/chrome/prov.jar!/content/prov/"
c:locType="profile"
c:displayName="Prov"
c:name="prov"
c:extension="true" />
For the sv-SE build it look like this:
<RDF:Description RDF:about="urn:mozilla:package:prov"
c:baseURL="jar:file:///C:/Documents%20and%20Settings/Hasse/Application%20Data/Mozilla/Firefox/Profiles/07-16-sv/extensions/%7B2571BB37-993B-4fbb-A0D3-E00B103E9B09%7D/chrome/prov.jar!/content/prov/"
c:locType="profile"
c:displayName="Prov"
c:name="prov"
c:extension="true">
<c:selectedLocale RDF:resource="urn:mozilla:locale:sv-SE:prov"/>
</RDF:Description>
Assignee | ||
Updated•21 years ago
|
Assignee: bugs → bsmedberg
Flags: blocking-aviary1.0RC1+
Flags: blocking-aviary1.0?
Flags: blocking-aviary1.0+
Updated•21 years ago
|
Flags: blocking-aviary1.0PR+ → blocking-aviary1.0PR-
Priority: -- → P2
Assignee | ||
Comment 5•21 years ago
|
||
This was fixed on the aviary branch with bug 246014, which hasn't quite landed
on the trunk yet.
Keywords: fixed-aviary1.0
Comment 6•21 years ago
|
||
*** This bug has been marked as a duplicate of 246014 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 7•21 years ago
|
||
(Sorry for the bugspam, somehow the previous attempt did not change the
duplicate-of bug number field)
*** This bug has been marked as a duplicate of 246014 ***
Status: REOPENED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → DUPLICATE
Updated•17 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•