Since the last upgrade to Gnumeric 1.2.2, it seems to ignore the LANG environment variable and pops up with english menus (despite of LANG="de_DE"). The .mo-file in /usr/share/locale/de/LC_MESSAGES appears to be there and ok, but since it is compiled I can't really check. It does not seem to be a "de_DE"-specific problem, as changing the locale to whatever else doesn't help either. Reproducible: Always Steps to Reproduce: [ ~ ] user@host # LANG="de_DE" gnumeric Actual Results: Gnumeric starts with the english UI. Expected Results: Gnumeric should start with the german UI. [ ~ ] user@host $ emerge --info Portage 2.0.49-r16-gpp7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.10 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache digest userpriv usersandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.linux.no/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PKGUSE="( net-misc/vnc => -java )( net-www/links => -X )( sys-libs/glibc => pic )( x11-themes/redhat-artwork => -gtk )( net-www/mozilla => moznoirc moznomail moznocompose )( media-sound/alsa-driver => oss )( media-video/dvdrip => -gnome )( media-sound/lame => -gtk )( media-sound/rhythmbox => xine )( media-libs/smpeg => -gtk )( media-sound/timidity++ => -motif -gtk )( app-crypt/gnupg => caps -X )( app-pda/multisync => evo irmc )( media-gfx/imagemagick => -X )( games-strategy/dopewars => -ncurses )( app-cdr/cdrdao => -gnome )( app-misc/mc => -X )" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 avi crypt cups encode gif jpeg mad mikmod motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xv zlib berkdb readline tetex java guile X sdl tcpd pam libwww ssl esd imlib oggvorbis gnome gtk opengl ldap 3dnow acl acpi alsa -apm -arts bonobo cdr dvd -foomaticdb -gdbm -gpm gtk2 gtkhtml jikes -kde -libg++ maildir -mozilla mpi mmx oav odbc -oss pda -perl -python -qt samba -slang -svga -xmms"
I added AbiWord to the title, as it behaves exactly like that. Note that it doesn't matter at all how the locale environment is set (LC_MESSAGES, LC_ALL, LANG or whatever else); it just doesn't work. Also note that neither gnumeric nor abiword display any error messages whatsoever -- even when enabling debug output.
can't reproduce this. can you check if the translation files are installed? /usr/share/locale/de/LC_MESSAGES/gnumeric.mo
AbiWord seems to work correctly when LANG is set manually, it obviously doesn't honor LC_MESSAGES at all. But Gnumeric still doesn't work -- neither with LANG nor with LC_<whatever>. Even on a clean installation (shiny new notebook...), it always starts with the english UI; so it doesn't seem to be a stateful config problem. And yes, gnumeric.mo does indeed exist and contains german translation strings. When pointing the LC stuff to a nonexistant locale, gnumeric complains (on the command line, via libc). If using a correct locale, gnumeric starts silently, in english.
Happens on my machine too. Gnumeric 1.2.6
tried this: export LANG="zh_CN" gnumeric & abiword-2.0 & both work for me. LANG="de_DE", LANG="es_ES" and LANG="fr_FR" also work with both. I'm using ~x86 and gnumeric-1.2.13 (1.2.12 is in portage, see bug 57464) and abiword-2.0.7. Close this bug?
is this still a problem ?
no reply, closing