Bug 202352
| Summary: | Firefox 1.5.0.5 startup script not updated for the add-on based locale | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Yue Shi Lai <ylai> | ||||
| Component: | firefox | Assignee: | Christopher Aillon <caillon> | ||||
| Status: | CLOSED ERRATA | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.3 | CC: | marcobillpeter, tao | ||||
| Target Milestone: | --- | Keywords: | i18n, Patch, Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | RHSA-2007-0079 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-02-23 21:07:00 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
*** Bug 202353 has been marked as a duplicate of this bug. *** This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Created attachment 134818 [details]
firefox-locale-support.patch
This patch makes Firefox:
- use the language packs, rather than just the builtin locales
- support both short and long locale names (ie. both "pt", and "pt-BR" language
packs would work as expected, for example)
QE ack for 4.5. Building a fix into 1.5.0.9-2.el4 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2007-0079.html |
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"