Bug 707100

Summary: after upgrade from F14->F15, firefox run in English, when desktop is in native locale (pa_IN)
Product: [Fedora] Fedora Reporter: A S Alam <aalam>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: dimitri.papadopoulos, gecko-bugs-nobody, i18n-bugs, mcepl, mrgroover, mshao, pnemade, stransky
Target Milestone: ---Keywords: i18n, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-26 05:38:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description A S Alam 2011-05-24 04:03:05 UTC
Description of problem:
after upgrade from F14->F15, firefox run in English, when desktop is in native locale (pa_IN).

Version-Release number of selected component (if applicable):
firefox-4.0.1-2.fc15.x86_64
xulrunner-2.0.1-1.fc15.x86_64


How reproducible:
everytime

Steps to Reproduce:
1. upgraded from Fedora 14 to Fedora 15, where Fedra 14 has Native Desktop (Punjabi)
2. after upgrade run Firefox
3. check interface
  
Actual results:
it is in English

Expected results:
it should be in Punjabi

Additional info:
1) Fresh install is working Proper (in native locale)
2) [aalam@amd6core ~]$ locale
LANG=pa_IN.UTF-8
LC_CTYPE="pa_IN.UTF-8"
LC_NUMERIC="pa_IN.UTF-8"
LC_TIME="pa_IN.UTF-8"
LC_COLLATE="pa_IN.UTF-8"
LC_MONETARY="pa_IN.UTF-8"
LC_MESSAGES="pa_IN.UTF-8"
LC_PAPER="pa_IN.UTF-8"
LC_NAME="pa_IN.UTF-8"
LC_ADDRESS="pa_IN.UTF-8"
LC_TELEPHONE="pa_IN.UTF-8"
LC_MEASUREMENT="pa_IN.UTF-8"
LC_IDENTIFICATION="pa_IN.UTF-8"
LC_ALL=
--------
[aalam@amd6core ~]$ ls /usr/lib64/firefox-4/langpacks/langpack-pa-IN\@firefox.mozilla.org.xpi 
---

Comment 1 Micha 2011-05-26 10:00:40 UTC
Hi there,

I had the same problem with the de_DE locale and I was able to fix it.

I did it using the following steps:

1. open a terminal
2. mv ~/.mozilla ~/.mozilla.old
3. Start Firefox. It will behave as if it was started for the first time
4. verify that the correct system locale is used in FireFox as well
5. close Firefox
6. open the ~/.mozilla dir in a filemanager (e.g. nautilus)
7- copy the contents of the extensions folder
8. open the ~/.mozilla.old dir in a filemanager
9. navigate to the extensions subfolder
10. delete the folder with the same string as copied in step 7.
11. paste the folder from the ~/.mozilla/extensions directory
12. you may close the file manager session now
13. back in the terminal do
13a. mv ~/.mozilla ~/.mozilla.new
13b. mv ~/.mozilla.old ~/.mozilla
14. start Firefox.

Firefox should now use the correct locale and still have your old profile intact.

Comment 2 A S Alam 2011-06-09 11:48:47 UTC
thanks, it is working,
seems extension has some problem

Comment 3 Matěj Cepl 2011-06-23 14:45:21 UTC
*** Bug 709117 has been marked as a duplicate of this bug. ***

Comment 4 Martin Stransky 2011-06-23 15:03:04 UTC
Yeah, it's broken.

Comment 5 Martin Stransky 2011-06-27 08:39:35 UTC
You need to remove empty langpack dirs from .mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}, we switched to new langpack model in F15.

Comment 6 Martin Stransky 2011-06-27 08:41:02 UTC
Anyway, can you attach output of "ll ~/.mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" ?

Comment 7 A S Alam 2011-07-13 04:57:01 UTC
--
$ll ~/.mozilla/extensions/\{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}/
total 4
lrwxrwxrwx 1 asa asa 67 Jul 13 08:53 langpack-pa-IN.org.xpi -> /usr/lib/firefox-5/langpacks/langpack-pa-IN.org.xpi
---

Comment 8 Parag Nemade 2012-07-26 05:38:24 UTC
guess this is not a issue in F17+ at least.
Closing this. If needed reopen.