Bug 120922 (IT_37146)

Summary: Mozilla does not start up if LANG is set as non-US locale.
Product: Red Hat Enterprise Linux 2.1 Reporter: Keiichi Mori <kmori>
Component: mozillaAssignee: Christopher Aillon <caillon>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: blizzard, tao
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:02:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 136201    

Description Keiichi Mori 2004-04-15 11:23:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312

Description of problem:
Mozilla does not start up if LANG is set as non-US locale.
In case that $HOME/.mozilla directory is not available (first
start-up), mozilla start up sucessfully.


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

How reproducible:
Always

Steps to Reproduce:
1. set LANG as none-US locale (ex. export LANG=ja_JP.eucJP)
2. execute mozilla
3. stop mozilla
4. execute moziila


Additional info:

Workaround:
apply follow patch.

--- /usr/bin/mozilla.orig       Thu Apr 15 20:23:43 2004
+++ /usr/bin/mozilla    Thu Apr 15 20:24:01 2004
@@ -175,8 +175,8 @@
                                                                     
      
 # check system locale
 MOZARGS=
-MOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*|-\1|g"`
-[ -f $MOZILLA_FIVE_HOME/chrome/$MOZLOCALE.jar ] && MOZARGS="-UILocale
$MOZLOCALE"
+#MOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*|-\1|g"`
+#[ -f $MOZILLA_FIVE_HOME/chrome/$MOZLOCALE.jar ] &&
MOZARGS="-UILocale $MOZLOCALE"
                                                                     
      
                                                                     
      
 # if there's no command line argument and there's not a running

Comment 3 Christopher Aillon 2005-03-09 04:33:36 UTC
Going to mark dupe of another bug with slightly more info.

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

Comment 4 Red Hat Bugzilla 2006-02-21 19:02:36 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.