Some languages fail in wesnoth-1.0.2. When you select for example Latin, I just see everything in English. Only English and German (as this is my system language) are working because only the German version is installed under /usr/share/games/wesnoth. I think the ebuild should either install all languages or (at least) provide a use flag for installing all languages.
Your claim is that there is only english and german under in /usr/share/games/wesnoth/translations?
(In reply to comment #1) > Your claim is that there is only english and german under in > /usr/share/games/wesnoth/translations? > Yes: chris@daedalus / $ ls -al /usr/share/games/wesnoth/translations/ total 0 drwxr-x--- 3 root games 15 Oct 2 00:12 . drwxr-x--- 8 root games 86 Oct 2 00:12 .. drwxr-x--- 3 root games 24 Oct 2 00:12 de chris@daedalus / $ equery f wesnoth | grep translations /usr/share/games/wesnoth/data/translations /usr/share/games/wesnoth/data/translations/english.cfg /usr/share/games/wesnoth/translations /usr/share/games/wesnoth/translations/de /usr/share/games/wesnoth/translations/de/LC_MESSAGES /usr/share/games/wesnoth/translations/de/LC_MESSAGES/wesnoth-editor.mo /usr/share/games/wesnoth/translations/de/LC_MESSAGES/wesnoth-ei.mo /usr/share/games/wesnoth/translations/de/LC_MESSAGES/wesnoth-httt.mo /usr/share/games/wesnoth/translations/de/LC_MESSAGES/wesnoth-lib.mo /usr/share/games/wesnoth/translations/de/LC_MESSAGES/wesnoth-sotbe.mo /usr/share/games/wesnoth/translations/de/LC_MESSAGES/wesnoth-trow.mo /usr/share/games/wesnoth/translations/de/LC_MESSAGES/wesnoth.mo
please post the output from "emerge -evp wesnoth"
(In reply to comment #3) > please post the output from "emerge -evp wesnoth" > These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] sys-devel/binutils-config-1.8-r6 0 kB [ebuild N ] sys-devel/patch-2.5.9 -build -static 0 kB [ebuild N ] sys-devel/gnuconfig-20051113 0 kB [ebuild N ] sys-devel/gettext-0.14.4 -doc -emacs +nls 0 kB [ebuild N ] sys-devel/binutils-2.16.1 -multislot (-multitarget) +nls -test 0 kB [ebuild N ] sys-devel/gcc-config-1.3.12-r4 0 kB [ebuild N ] sys-libs/gpm-1.20.1-r4 -emacs (-selinux) 0 kB [ebuild N ] sys-libs/ncurses-5.4-r6 -bootstrap -build -debug -doc +gpm -minimal -nocxx -unicode 0 kB [ebuild N ] sys-devel/m4-1.4.3 +nls 0 kB [ebuild N ] sys-devel/bison-1.875d +nls -static 0 kB [ebuild N ] sys-apps/sed-4.1.4 -bootstrap -build +nls -static 0 kB [ebuild N ] sys-apps/texinfo-4.8-r2 -build +nls -static 0 kB [ebuild N ] sys-libs/zlib-1.2.3 -build 0 kB [ebuild N ] sys-devel/gcc-3.4.4-r1 (-altivec) -bootstrap -boundschecking -build +fortran -gcj +gtk -hardened -ip28 -mudflap (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -objc-gc -vanilla 46 kB [ebuild N ] sys-kernel/linux-headers-2.6.11-r2 0 kB [ebuild N ] sys-libs/glibc-2.3.5-r2 -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls +nptl +nptlonly -pic -profile (-selinux) +userlocales 0 kB [ebuild N ] media-libs/libogg-1.1.2 0 kB [ebuild N ] media-libs/libvorbis-1.1.0 -aotuv 0 kB [ebuild N ] sys-apps/groff-1.19.1-r2 +X 0 kB [ebuild N ] sys-process/cronbase-0.3.2 0 kB [ebuild N ] sys-apps/man-1.6-r1 +nls 0 kB [ebuild N ] app-shells/bash-3.0-r12 -bashlogger -build +nls 0 kB [ebuild N ] sys-libs/readline-5.0-r2 0 kB [ebuild N ] sys-devel/flex-2.5.4a-r6 -build -static 0 kB [ebuild N ] sys-devel/bc-1.06-r6 +readline -static 0 kB [ebuild N ] sys-apps/diffutils-2.8.7-r1 +nls -static 0 kB [ebuild N ] dev-libs/openssl-0.9.7e-r2 -bindist -emacs -test +zlib 0 kB [ebuild N ] dev-libs/expat-1.95.8 -test 0 kB [ebuild N ] dev-lang/python-2.4.2 +X +berkdb -bootstrap -build -doc -gdbm -ipv6 +ncurses -nocxx +readline +ssl -tcltk -ucs2 0 kB [ebuild N ] dev-java/java-config-1.2.11-r1 0 kB [ebuild N ] dev-java/blackdown-jre-1.4.2.02 -browserplugin -mozilla -nsplugin 0 kB [ebuild N ] dev-python/python-fchksum-1.7.1 0 kB [ebuild N ] dev-java/blackdown-jdk-1.4.2.02 -browserplugin -doc -mozilla -nsplugin 0 kB [ebuild N ] sys-libs/db-4.2.52_p2-r1 -bootstrap -doc +java -nocxx -tcltk 0 kB [ebuild N ] sys-devel/libperl-5.8.7 +berkdb -debug -gdbm -ithreads 0 kB [ebuild N ] dev-lang/perl-5.8.7-r3 +berkdb -build -debug -doc -gdbm -ithreads -minimal -perlsuid 0 kB [ebuild N ] sys-devel/autoconf-2.13 0 kB [ebuild N ] sys-devel/autoconf-wrapper-3-r1 0 kB [ebuild N ] sys-devel/autoconf-2.59-r6 -emacs 0 kB [ebuild N ] app-admin/perl-cleaner-1.01 0 kB [ebuild N ] dev-util/pkgconfig-0.17.2-r1 -hardened 0 kB [ebuild N ] dev-perl/Locale-gettext-1.03 0 kB [ebuild N ] sys-apps/help2man-1.33.1 +nls 0 kB [ebuild N ] sys-devel/automake-1.5 0 kB [ebuild N ] sys-devel/automake-1.8.5-r3 0 kB [ebuild N ] sys-devel/automake-1.6.3 0 kB [ebuild N ] sys-devel/automake-1.7.9-r1 0 kB [ebuild N ] sys-devel/automake-1.4_p6 0 kB [ebuild N ] sys-devel/automake-wrapper-1-r1 0 kB [ebuild N ] sys-devel/automake-1.9.6-r1 0 kB [ebuild N ] sys-libs/cracklib-2.8.3-r1 0 kB [ebuild N ] sys-libs/pam-0.78-r3 +berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb (-selinux) 0 kB [ebuild N ] sys-apps/sandbox-1.2.12 0 kB [ebuild N ] app-misc/pax-utils-0.1.4 -caps 0 kB [ebuild N ] sys-apps/debianutils-2.14.1-r1 -build -static 0 kB [ebuild N ] sys-apps/portage-2.0.53 -build (-selinux) 0 kB *** Please update portage to the above version before proceeding. Failure to do so may result in failed or improper merges. A simple 'emerge -u portage' is sufficient. [ebuild N ] sys-apps/shadow-4.0.7-r4 +nls -nousuid +pam (-selinux) -skey 0 kB [ebuild N ] sys-apps/pam-login-3.17 -livecd +nls (-selinux) 0 kB [ebuild N ] sys-libs/com_err-1.38 +nls 0 kB [ebuild N ] sys-libs/ss-1.38 +nls 0 kB [ebuild N ] sys-fs/e2fsprogs-1.38 +nls -static 0 kB [ebuild N ] app-crypt/hashalot-0.3-r1 0 kB [ebuild N ] sys-apps/util-linux-2.12r-r1 +crypt +nls -old-crypt +pam +perl (-selinux) -static 0 kB [ebuild N ] media-libs/libpng-1.2.8 -doc 0 kB [ebuild N ] app-arch/bzip2-1.0.3-r5 -build -static 0 kB [ebuild N ] x11-base/opengl-update-2.2.1 0 kB [ebuild N ] media-libs/freetype-2.1.9-r1 -bindist -doc +zlib 0 kB [ebuild N ] media-libs/fontconfig-2.2.3 0 kB [ebuild N ] sys-devel/libtool-1.5.20 0 kB [ebuild N ] x11-apps/ttmkfdir-3.0.9-r3 0 kB [ebuild N ] x11-base/xorg-x11-6.8.2-r6 (-3dfx) (-3dnow) +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers -ipv6 -minimal (-mmx) +nls -nocxx +opengl +pam -sdk (-sse) -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB [ebuild N ] sys-apps/file-4.13 -build +python 0 kB [ebuild N ] sys-apps/which-2.16 0 kB [ebuild N ] app-arch/cpio-2.6-r5 +nls 0 kB [ebuild N ] app-arch/rpm2targz-9.0-r3 0 kB [ebuild N ] sys-apps/utempter-0.5.5.6 0 kB [ebuild N ] x11-terms/xterm-205 -Xaw3d -doc -toolbar +truetype -unicode 0 kB [ebuild N ] media-libs/audiofile-0.2.6-r1 0 kB [ebuild N ] media-sound/alsa-headers-1.0.10 0 kB [ebuild N ] sys-devel/make-3.80-r2 -build -hardened +nls -static 0 kB [ebuild N ] sys-apps/sysvinit-2.86 -bootstrap -build -ibm (-selinux) -static 0 kB [ebuild N ] sys-apps/coreutils-5.2.1-r6 -acl -build +nls (-selinux) -static 0 kB [ebuild N ] sys-apps/baselayout-1.11.13-r1 -bootstrap -build -static -unicode 0 kB [ebuild N ] sys-apps/hotplug-base-20040401 0 kB [ebuild N ] sys-fs/udev-070-r1 (-selinux) -static 0 kB [ebuild N ] sys-kernel/vanilla-sources-2.6.14.2 -build -doc -symlink 0 kB [ebuild N ] media-libs/alsa-lib-1.0.10 -doc -jack 0 kB [ebuild N ] media-libs/libsdl-1.2.8-r1 +X -aalib +alsa -arts -dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo +opengl -oss -pic (-svga) -xinerama +xv 0 kB [ebuild N ] dev-libs/glib-1.2.10-r5 -hardened 0 kB [ebuild N ] dev-perl/XML-Parser-2.34 0 kB [ebuild N ] dev-util/intltool-0.31.2 0 kB [ebuild N ] x11-libs/gtk+-1.2.10-r11 -debug +nls 0 kB [ebuild N ] media-libs/smpeg-0.4.4-r6 +X -debug +gtk (-mmx) +opengl 0 kB [ebuild N ] media-libs/sdl-mixer-1.2.6 -mikmod +mp3 +vorbis 0 kB [ebuild N ] media-libs/sdl-net-1.2.5 0 kB [ebuild N ] media-libs/jpeg-6b-r5 0 kB [ebuild N ] media-libs/tiff-3.7.3 0 kB [ebuild N ] media-libs/sdl-image-1.2.3-r1 +gif +jpeg +png +tiff 0 kB [ebuild N ] games-strategy/wesnoth-1.0.1 -dedicated -editor -gnome +kde -lite +nls -server -tools 0 kB
Please attach /etc/locales.build and config.log from the build directory as text/plain. (BTW, if you play games, you want to have the mikmod use flag turned on.)
Created attachment 75421 [details] locales.build
Created attachment 75422 [details] config.log
That config.log is from version 1.0.1
Created attachment 75446 [details] config.log from wesnoth-1.0.2 Sorry for attaching the wrong config.log!
(In reply to comment #8) > That config.log is from version 1.0.1 > Sorry, I attached the right version. I just noticed that Wesnoth outputs a line in the console when I try to switch to a "unsupported" language, e.g. Latin: "WARNING: setlocale() failed for la_IT."
remerge glibc with USE=-userlocales, then remerge wesnoth and see if that works.
(In reply to comment #11) > remerge glibc with USE=-userlocales, then remerge wesnoth and see if that > works. > Didn't help, still the same problem (and the same error/warnung in the console). :-(
You have some local problem with your gettext setup. Building wesnoth with USE=nls should result in all the languages being built. That's what's happen for me. I can't reproduce the problem you're having though so you'll need to do some leg work on your end. One thing that might help on this end is if you post the full output from the build. "emerge -v wesnoth &> /tmp/output" Then attach the output file.
Created attachment 75708 [details] Output from emerge -v wesnoth (in a compressed archive) Use flags for this compile were: USE: -dedicated -editor -gnome +kde -lite +nls -server -tools Still, it does not work. (had to compress the file since it was larger than 1MB and so not allowed on this bugzilla)
What's the output from "emerge --info"?
(In reply to comment #15) > What's the output from "emerge --info"? > Ah, sorry, I knew that I forgot something! ;) Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14.2 x86_64) ================================================================= System uname: 2.6.14.2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -pipe -O3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -pipe -O3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LINGUAS="de" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/local /usr/local/overlays/gentoo-de" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa artswrappersuid audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dvd eds emboss encode ethereal exif expat fam ffmpeg flac foomaticdb fortran gif glut gpm gstreamer gtk gtk2 idn imagemagick imlib java jpeg kde kdeenablefinal lcms lua lzw lzw-tiff mad mikmod mng mp3 mpeg musicbrainz ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcre pdflib perl png python qt quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml2 xpm xv zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
LINGUAS="de" ^^^^^^^^^^^^ That's your problem right there. You're telling it you only want German. Unset LINGUAS and merge it again and see if it installs all the locales.
(In reply to comment #17) > Unset LINGUAS and merge it again and see if it installs all the locales. That didn't solve the problem, I remerged Wesnoth, glibc, Wesnoth (in this order) without the LINGUAS in my make.conf but still the languages don't work. :(
dunno. Try to figure out why CATALOGS isn't getting filled in correctly for you in the build process.
(In reply to comment #19) > dunno. Try to figure out why CATALOGS isn't getting filled in correctly for > you in the build process. > Sorry, I made a mistake. I just noticed that now (after removing LINGUAS) *all* languages work except Latin. Would it help if a attach a new piped emerge -v wesnoth output now that all languages work except one?
doesn't seem amd64-specific, removing us from cc
Since I am the internationalisation manager of Wesnoth I know the reason for this probelm: You need to have the glibc locales for the corresponding lang installed. Latin is one very problematic case since there is no official glibc locale. So either you have to create one per hand or change the configure line. Wesnoth does always build all locales, even if you only have one in your System. The other way would be to specify the configure flag --enable-dummy-locales. It is a quite dirty hack we introduced a long time ago but it definatly works. I would recommand the one creating the ebuild to add this configure flag when nls is set as use flag.
ok, I added --enable-dummy-locales with USE=nls. Resync/remerge to get it.