Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414363 - www-client/firefox-12.0 / mail-client/thunderbird-12.0.1 german locale not recognized, no german interface
Summary: www-client/firefox-12.0 / mail-client/thunderbird-12.0.1 german locale not re...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Mozilla Gentoo Team
Depends on:
Reported: 2012-05-02 11:49 UTC by Till Schäfer
Modified: 2013-03-23 19:23 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Till Schäfer 2012-05-02 11:49:14 UTC
Firefox is allways in english although the german language pack is installed (via linguas_de) and enabled. I have noticed that setting general.useragent.locale to "de-DE" instead of "de" (the default) solved the problem. Interstingly on another laptop "de" is correctly recognized. I have set my KDE environment to German language but LANG to english. 

Reproducible: Always

# emerge --info 
Portage 2.2.0_alpha101 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r3, 3.3.1-gentoo x86_64)
System uname: Linux-3.3.1-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Tue, 01 May 2012 09:30:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            3.3.6-r1, 4.1.2, 4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo x11 local_overlay
Installed sets: @kdeartwork-4.8, @kdebase-4.8, @system
CFLAGS="-march=native -O2 -pipe -ggdb"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=native -O2 -pipe -ggdb"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask-write --jobs --load-average=5.0"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/x11 /usr/local/portage"
USE="64bit X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdda cddb cdio cdr cli consolekit cracklib crypt css cups cxx dbus declarative dell dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gdu gif glib glibc gpm gtk haskell iconv icu id3tag ieee1394 imagemagick inotify ipv4 ipv6 irc java jpeg jpeg2k kde kipi lame latex lcms ldap libnotify lzma mad mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz ncurses nls nptl nptlonly ntp ogg opengl openmp otr pam pango pcre pdf phonon plasma pm-utils png policykit ppds pppd qt3support qt4 quicktime rar readline rss sdl semantic-desktop session spell sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg sysfs syslog taglib tcpd threads tiff truetype udev unicode usb v41 v412 vaapi vcd vim-syntax visualization vorbis wavpack wifi wma wmf wxwidgets x264 xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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"
Comment 1 Till Schäfer 2012-05-02 12:09:45 UTC
interestingly no options ("de", "de-DE") will work when i reset my user profile (moving .mozilla to another location). 
The default for general.useragent.loacale is "en-US" in this case. Maybe the linguas_de system wide language pack is not working at all?
Comment 2 Till Schäfer 2012-05-02 12:24:11 UTC
OK i narrowed it down to the plugin quick locale switcher. when i use this plugin, german language is possible with "de-DE". Without this plugin it is not possible at all. This Bug also applies to Thunderbird. 

used Versions:
Comment 3 Till Schäfer 2012-05-03 12:38:45 UTC
seems that the locate-switcher toggled the option Intl.locale.matchOS. The default in the program is true. In this case enabling a language pack has no effect. The mozilla kb says it is vice versa ( Is the different behavior a Gentoo setting?

I suggest setting this for Gentoo to false as default. This will have the effect, that the linuguas variable will be respected and not the locale in /etc/env.d/02locale
Comment 4 Jory A. Pratt gentoo-dev 2012-05-08 15:45:35 UTC
(In reply to comment #3)
> seems that the locate-switcher toggled the option Intl.locale.matchOS. The
> default in the program is true. In this case enabling a language pack has no
> effect. The mozilla kb says it is vice versa
> ( Is the different behavior a
> Gentoo setting?
> I suggest setting this for Gentoo to false as default. This will have the
> effect, that the linuguas variable will be respected and not the locale in
> /etc/env.d/02locale

Yes this is set to true by gentoo, just as suse debian fedora and others have done to make system administation with locales easiers. You are always more then welcome to override the defualt, but at this time I do not see a point in breaking hundreds of systems for a single user case where a plugin fails to work properly.
Comment 5 Jory A. Pratt gentoo-dev 2013-03-23 19:23:08 UTC
Reopen if your still seeing issues. Please update all info on bug report if you need to reopen.