Bug 202353 - Firefox 1.5.0.5 startup script not updated for the add-on based locale
Summary: Firefox 1.5.0.5 startup script not updated for the add-on based locale
Keywords:
Status: CLOSED DUPLICATE of bug 202352
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: firefox
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Christopher Aillon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-13 15:49 UTC by Yue Shi Lai
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-24 13:17:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yue Shi Lai 2006-08-13 15:49:19 UTC
Description of problem:

Firefox 1.5.0.5 uses a add-on based locale support. However, /usr/bin/firefox 
still expects the locale file to be located in the old filesystem layout, and 
is unable to locate any locale beside en_US. Therefore, Firefox will start up 
in en_US locale regardless of the system locale settings.

Version-Release number of selected component (if applicable):

1.5.0.5-0.el4.1

How reproducible:

Always.

Steps to Reproduce:
1. Set e.g. LANG=de_DE.UTF-8
2. Run /usr/bin/firefox
3.
  
Actual results:

Firefox starts in the US English locale, regardless of $LANG.

Expected results:

Firefox should start in the locale specified by $LANG, as long as there is an 
Firefox langauge add-on present.

Additional info:

This problem can be easily fixed by updating /usr/bin/firefox, line 142 from:

[ -f $MOZILLA_FIVE_HOME/chrome/$MOZLOCALE.jar ] && MOZARGS="-UILocale 
$MOZLOCALE"

to:

[ -f $MOZILLA_FIVE_HOME/extensions/langpack-${MOZLOCALE}@firefox.mozilla.org/
chrome/$MOZLOCALE.jar ] && MOZARGS="-UILocale $MOZLOCALE"

Comment 1 Bastien Nocera 2006-08-24 13:17:19 UTC

*** This bug has been marked as a duplicate of 202352 ***


Note You need to log in before you can comment on or make changes to this bug.