Bug 441973

Summary: Firefox ignores $LC_MESSAGES
Product: [Fedora] Fedora Reporter: Lennart Poettering <lpoetter>
Component: firefoxAssignee: Jan Horak <jhorak>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: pachoramos1, robert, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-29 06:06:40 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Lennart Poettering 2008-04-10 18:20:57 EDT
Firefox ignores the setting of $LC_MESSAGES=C and shows the UI in german, just
because I set $LANG to german.

Firefox should honour $LC_MESSAGES properly, just like any other good program.
Comment 1 Robert Marcano 2008-04-10 19:24:47 EDT
looks like the problem is the Fedora script used to launch firefox, it does
check that the language extension is installed using the LANG. That script is RH
specific, I removed the offending line and let firefox select the language by

With LANG=ja_JP I saw the UI in Japanese., with both LC_MESSAGES=en_US
LANG=ja_JP everything was shown on English.

Related lines on /usr/bin/firefox:

# Try without a local variant first, then with a local variant
# So that pt-BR doesn't try to use pt for example
SHORTMOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*||g"`
[ -f

MOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*|-\1|g"`
[ -f
Comment 2 Matěj Cepl 2008-04-11 07:49:47 EDT
Perfectly reproducable.
Comment 3 Bug Zapper 2008-05-14 05:17:03 EDT
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Comment 4 Martin Stransky 2008-10-24 08:58:53 EDT
Taking this one...
Comment 5 Jan Horak 2009-01-29 06:06:40 EST
Commit to CVS and fixed in next release.