Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323493 - mail-client/thunderbird-bin-3.0.4 ignores the intl.locale.matchOS parameter.
Summary: mail-client/thunderbird-bin-3.0.4 ignores the intl.locale.matchOS parameter.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-10 21:53 UTC by Stephen Bosch
Modified: 2010-06-21 15:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Bosch 2010-06-10 21:53:55 UTC
Thunderbird lets the user decide which locale to use.

By default, it will honour the locale setting of the environment (in this case, intl.locale.matchOS is set to 'true').

Sometimes, a user wants to use more than one locale, and to be able to switch between them. There is a Firefox/Thunderbird plugin called Quick Locale Switcher which makes this easy and quick. To do this, the intl.locale.matchOS parameter is set to false. The application then gets the locale setting from the config file.

I had Quick Locale Switcher installed in both Firefox and Thunderbird, and they worked beautifully. After a recent update (about two months ago) it stopped working. The interface and language settings reverted to the default (the OS locale setting).

The setting of intl.locale.matchOS is now 'false', but Thunderbird continues to use the default locale, no matter the setting of general.useragent.locale.

Reproducible: Always

Steps to Reproduce:
1. Install the German language pack in Thunderbird. You can obtain one here: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/3.0.4/linux-i686/xpi/de.xpi (setting linguas USE flags and building the package is also supposed to install the associated language packs). Start Thunderbird, click on the Extras menu, select Add-ons. Click on the Install... button, find the language pack where you saved it and install it. Restart Thunderbird.

2. Open Thunderbird.
3. Open Preferences, click on the Advanced settings group.
4. Open the config editor.
5. type 'locale' in the search field.
6. Right-click on the intl.locale.matchOS parameter and choose "switch" or "toggle". The parameter should switch to 'false'.
7. Right-click on the general.useragent.locale parameter and choose Edit. Change the string to de-DE. Click OK.
8. Close the Config Editor.
9. Restart Thunderbird.

Actual Results:  
The interface is still in the default language.

Expected Results:  
The interface should be in German.

A similar problem arose with an older version of xulrunner: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417961

The difference here is that the version of xulrunner installed is current and the bug is supposed to be fixed in this one.

Also, this works just fine in Firefox on the same machine, which uses the same xulrunner :)

$ eix firefox-bin
[I] www-client/firefox-bin      
     Available versions:  3.6.3!m!s {linguas_af linguas_ar linguas_be linguas_bg linguas_bn linguas_bn_IN linguas_ca linguas_cs linguas_cy linguas_da linguas_de linguas_el linguas_en linguas_en_GB linguas_en_US linguas_eo linguas_es linguas_es_AR linguas_es_ES linguas_et linguas_eu linguas_fa linguas_fi linguas_fr linguas_fy linguas_fy_NL linguas_ga linguas_ga_IE linguas_gl linguas_gu linguas_gu_IN linguas_he linguas_hi linguas_hi_IN linguas_hu linguas_id linguas_is linguas_it linguas_ja linguas_ka linguas_kk linguas_kn linguas_ko linguas_ku linguas_lt linguas_lv linguas_mk linguas_mr linguas_nb linguas_nb_NO linguas_nl linguas_nn linguas_nn_NO linguas_oc linguas_pa linguas_pa_IN linguas_pl linguas_pt linguas_pt_BR linguas_pt_PT linguas_ro linguas_ru linguas_si linguas_sk linguas_sl linguas_sq linguas_sr linguas_sv linguas_sv_SE linguas_ta linguas_te linguas_th linguas_uk linguas_vi linguas_zh linguas_zh_CN linguas_zh_TW startup-notification}                                    
     Installed versions:  3.6.3!m!s(21:39:35 05.05.2010)(linguas_de linguas_en linguas_en_GB linguas_fr linguas_nb startup-notification -linguas_af -linguas_ar -linguas_be -linguas_bg -linguas_bn -linguas_bn_IN -linguas_ca -linguas_cs -linguas_cy -linguas_da -linguas_el -linguas_en_US -linguas_eo -linguas_es -linguas_es_AR -linguas_es_ES -linguas_et -linguas_eu -linguas_fa -linguas_fi -linguas_fy -linguas_fy_NL -linguas_ga -linguas_ga_IE -linguas_gl -linguas_gu -linguas_gu_IN -linguas_he -linguas_hi -linguas_hi_IN -linguas_hu -linguas_id -linguas_is -linguas_it -linguas_ja -linguas_ka -linguas_kk -linguas_kn -linguas_ko -linguas_ku -linguas_lt -linguas_lv -linguas_mk -linguas_mr -linguas_nb_NO -linguas_nl -linguas_nn -linguas_nn_NO -linguas_oc -linguas_pa -linguas_pa_IN -linguas_pl -linguas_pt -linguas_pt_BR -linguas_pt_PT -linguas_ro -linguas_ru -linguas_si -linguas_sk -linguas_sl -linguas_sq -linguas_sr -linguas_sv -linguas_sv_SE -linguas_ta -linguas_te -linguas_th -linguas_uk -linguas_vi -linguas_zh -linguas_zh_CN -linguas_zh_TW)
     Homepage:            http://www.mozilla.com/firefox
     Description:         Firefox Web Browser

$ eix thunderbird-bin
[I] mail-client/thunderbird-bin
     Available versions:  3.0.3!s 3.0.4!s {linguas_af linguas_ar linguas_be linguas_ca linguas_cs linguas_de linguas_el linguas_en linguas_en_US linguas_es linguas_es_AR linguas_es_ES linguas_et linguas_eu linguas_fi linguas_fr linguas_fy linguas_fy_NL linguas_ga linguas_ga_IE linguas_hu linguas_id linguas_is linguas_it linguas_ja linguas_ko linguas_lt linguas_nb linguas_nb_NO linguas_nl linguas_nn linguas_nn_NO linguas_pa linguas_pa_IN linguas_pl linguas_pt linguas_pt_BR linguas_ro linguas_ru linguas_si linguas_sk linguas_sv linguas_sv_SE linguas_uk}
     Installed versions:  3.0.4!s(20:18:59 09.06.2010)(linguas_de linguas_en linguas_fr linguas_nb -linguas_af -linguas_ar -linguas_be -linguas_ca -linguas_cs -linguas_el -linguas_en_US -linguas_es -linguas_es_AR -linguas_es_ES -linguas_et -linguas_eu -linguas_fi -linguas_fy -linguas_fy_NL -linguas_ga -linguas_ga_IE -linguas_hu -linguas_id -linguas_is -linguas_it -linguas_ja -linguas_ko -linguas_lt -linguas_nb_NO -linguas_nl -linguas_nn -linguas_nn_NO -linguas_pa -linguas_pa_IN -linguas_pl -linguas_pt -linguas_pt_BR -linguas_ro -linguas_ru -linguas_si -linguas_sk -linguas_sv -linguas_sv_SE -linguas_uk)
     Homepage:            http://www.mozilla.com/thunderbird
     Description:         Thunderbird Mail Client

Here is my emerge --info:

$ emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i686)
=================================================================                           
System uname: Linux-2.6.31-gentoo-r10-i686-Intel-R-_Pentium-R-_M_processor_1500MHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 08 Jun 2010 10:30:22 +0000                                                    
app-shells/bash:     4.0_p37                                                                          
dev-java/java-config: 2.1.10                                                                          
dev-lang/python:     2.6.4-r1, 3.1.2-r3                                                               
dev-python/pycrypto: 2.1.0_beta1                                                                      
dev-util/cmake:      2.6.4-r3                                                                         
sys-apps/baselayout: 1.12.13                                                                          
sys-apps/sandbox:    1.6-r2                                                                           
sys-devel/autoconf:  2.13, 2.65                                                                       
sys-devel/automake:  1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1                                               
sys-devel/binutils:  2.18-r3                                                                          
sys-devel/gcc:       4.3.4, 4.4.3-r2                                                                  
sys-devel/gcc-config: 1.4.1                                                                           
sys-devel/libtool:   2.2.6b                                                                           
virtual/os-headers:  2.6.30-r1                                                                        
ACCEPT_KEYWORDS="x86"                                                                                 
ACCEPT_LICENSE="* -@EULA"                                                                             
CBUILD="i686-pc-linux-gnu"                                                                            
CFLAGS="-O2 -march=i686 -pipe"                                                                        
CHOST="i686-pc-linux-gnu"                                                                             
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"                            
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"  
CXXFLAGS="-O2 -march=i686 -pipe"                                                                                            
DISTDIR="/usr/portage/distfiles"                                                                                            
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                                                         
GENTOO_MIRRORS="http://distfiles.gentoo.org"                                                                                
LANG="de_DE.utf8"                                                                                                           
LDFLAGS="-Wl,-O1"                                                                                                           
LINGUAS="de en fr nb en_GB en_CA"                                                                                           
PKGDIR="/usr/portage/packages"                                                                                              
PORTAGE_CONFIGROOT="/"                                                                                                      
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                          
PORTAGE_TMPDIR="/var/tmp"                                                                                                   
PORTDIR="/usr/portage"                                                                                                      
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                              
USE="X a52 aac aalib accessibility acl acpi aim alsa ao apm arts audiofile bash-completion berkdb branding bzip2 cairo calendar cdda cddb cdinstall cdparanoia cdr clamav cli cracklib crypt css cups curl curlwrappers cxx dbus dga dri dv dvb dvd dvdr encode exif expat fbcon ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gif gimp ginac glut gnuplot gphoto2 gpm gsm gtk hal handbook hddtemp iconv icq icu idn imagemagick imap imlib ipv6 jabber java jingle joystick jpeg jpeg2k kde kontact lame latex lcms libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg mplayer msn mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin odbc offensive ofx ogg opengl openmp oscar oss pam pcmcia pcre pda pdf perl plasma plotutils png posix ppds pppd python qt3support qt4 raw rdesktop readline reflection samba scanner sdl session spl sql sse sse2 ssl startup-notification svg svga sysfs syslog tcpd theora threads tiff truetype unicode usb v4l v4l2 vcd vim-syntax vnc vorbis webkit wifi win32codecs wmf wxwidgets x264 x86 xine xinerama xinetd xorg xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en fr nb en_GB en_CA" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jory A. Pratt gentoo-dev 2010-06-21 13:11:10 UTC
Bug belongs upstream nothing we can do with binary package, it is what upstream ships.
Comment 2 Stephen Bosch 2010-06-21 15:15:17 UTC
(In reply to comment #1)
> Bug belongs upstream nothing we can do with binary package, it is what upstream
> ships.

Source version did the same. Should I file another bug?