Bug 204723 - Mozilla Thunderbird appears unlocalized
Summary: Mozilla Thunderbird appears unlocalized
Keywords:
Status: CLOSED DUPLICATE of bug 204453
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: thunderbird
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Christopher Aillon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-31 07:44 UTC by Yue Shi Lai
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-01 04:31:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.