Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 204723

Summary: Mozilla Thunderbird appears unlocalized
Product: Red Hat Enterprise Linux 4 Reporter: Yue Shi Lai <ylai>
Component: thunderbirdAssignee: Christopher Aillon <caillon>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-01 04:31:22 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:

Description Yue Shi Lai 2006-08-31 07:44:18 UTC
Description of problem:

1. Although Mozilla Thunderbird includes a set of language packs as extentions, 
it does not use them. The reason is the startup script lacks the mechanism to 
specify -UIlocale according to the environmental variable $LANG.

2. Mozilla Thunderbird further lacks dictionaries for all spellings beside 
en_US.

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

1.5.0.5-0.el4.2

How reproducible:

Always

Steps to Reproduce:
1. Set e,g, LANG=de_DE.UTF-8 or anything recognizably different than en_US.
2. Run thunderbird.
3. Click on "compose", click on the message field, and try to select an non-US 
spelling.
  
Actual results:

Thunderbird always starts in en_US, there is only en_US spelling check 
available.

Expected results:

Similar to the behavior of Firefox, Thunderbird should start in the language 
specified by $LANG. Spelling checks beside en_US should be available.

Additional info:

The dictionary problem can be fixed by download them from http://
www.mozilla.com/thunderbird/dictionaries.html and include them under the path /
usr/lib/thunderbird-1.5.0.5/components/myspell .

Refer Bug 202352 for the way to specify -UIlocale when calling the Mozilla 
binary. For example, include the following lines after the line 
"ALREADY_RUNNING=`check_running`" will fix the problem:

# 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 $MOZILLA_FIVE_HOME/extensions/langpack-
${SHORTMOZLOCALE}@thunderbird.mozilla.org/chrome/$SHORTMOZLOCALE.jar ] && 
MOZARGS="-UILocale $SHORTMOZLOCALE"

MOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*|-\1|g"`
[ -f $MOZILLA_FIVE_HOME/chrome/$MOZLOCALE.jar -o \
  -f $MOZILLA_FIVE_HOME/extensions/langpack-
${MOZLOCALE}@thunderbird.mozilla.org/chrome/$MOZLOCALE.jar ] && MOZARGS="-
UILocale $MOZLOCALE"

Comment 1 Christopher Aillon 2006-09-01 04:31:22 UTC

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