Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85815 - Babytrans cant display any translation
Summary: Babytrans cant display any translation
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-18 13:25 UTC by Carlos Cordoba
Modified: 2005-04-29 11:32 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 Carlos Cordoba 2005-03-18 13:25:01 UTC
I emerged babytrans without problems, but when I type a word to get a translation I get only a lot of squares and y's. I tried to re-emerge it several times, even after an emerge -uD system, but with no luck.

This is my emerge info

Gentoo Base System version 1.4.16
Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2600+
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Feb 26 2005, 14:34:59)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.6.3, 1.4_p6, 1.7.9-r1, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.4.3-r4, 1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd emacs emboss encode esd f77 fam fftw flac font-server foomaticdb fortran gb gdbm gif gpm gtk gtk2 icq imagemagick imlib ipv6 jpeg kde ldap leim libg++ libwww mad mikmod motif mpeg msn mysql ncurses nls opengl oss pam pdflib perl plotutils png ppds python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb xml xml2 xmms xv yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




I dont use KDE and I have -gtk -gnome in my make.conf
Comment 1 Otavio Piske (RETIRED) gentoo-dev 2005-03-21 17:59:08 UTC
Carlos,

I was unable to reproduce your problem could you, please, give me some informations:
Which version of gettext do you have?
Which version did you tried to install?
Which dictionaries do you have installed?
If you start it from inside from a terminal emulator (like xterm, gnome-terminal, etc), does it display any error message?
Comment 2 Carlos Cordoba 2005-03-25 15:33:53 UTC
Hi angusyoung

I'm very sorry for the delay. In response to your questions:
1. My version of gettext is 0.12.1-r2
2. My version of babytrans is 0.9.2-r3
3. I have installed babytrans-en, version 0.2

I think I have a problem with the locale because when I start babytrans from console I obtain:
Warning: locale not supported by C library, locale unchanged.

I have export LANG="es" in /etc/profile but, for example, when I type date in a console I obtain it in english. What should I do? Do I have to remerge glibc? I see that the only USE flag I used for it was nls.

Thanks for your help.
Comment 3 Carlos Cordoba 2005-04-04 17:08:34 UTC
I am very sorry for wasting your time Angus Young. Stupid me: I didn't write the country after the language in LANG!!!! I figured it out this weekend. Sorry.
But after I made the change, I re-emerged babytrans and still obtain the same problem. What could be wrong??
Please help!! I'm desperate for a good translator.
Comment 4 Otavio Piske (RETIRED) gentoo-dev 2005-04-05 07:54:59 UTC
It's a bit weird, mainly because no matter what I do I can't reproduce the problem. I'd try doing the following: export LC_ALL instead of only LANG (also check whether you have the corresponding charset - iso, utf-8, etc - for your locale).
Comment 5 Otavio Piske (RETIRED) gentoo-dev 2005-04-05 07:57:08 UTC
Also, try running a locale -a to check which locales are available for you (feel free to post your es_* locales here, so I can try to reproduce your problem).
Comment 6 Carlos Cordoba 2005-04-13 16:26:16 UTC
Hi Angus Young

I followed your recommendations but obtained no change at all. So i tried to re-emerge the dependencies of babytrans. When I was emerging gtk+-1.2.10-r11 i obtained the following warning:

#######################
 * Applying gtk+-1.2.10-r8-gentoo.diff.bz2 ...                  [ ok ]
 * Applying gtk+-1.2-locale_fix.patch ...                       [ ok ]
 * Using GNU config files from /usr/share/libtool
 *  Updating config.sub                                         [ ok ]
 *  Updating config.guess                                       [ ok ]
>>> Source unpacked.
 * Patching ${S}/ltmain.sh ...
 *   Could not apply portage.patch!
 *   Please verify that it is not needed.
 * Cannot apply any patch, running libtoolize...
You should update your `aclocal.m4' by running aclocal.
########################

As you see there is a locale patch. Maybe this is causing the problem.

Besides i saw that i have two versions of libtool installed: 1.4.3-r4 and 1.5.10-r4, and i observed too this message during the compilation of gtk+

/libtool: line 1: -e: command not found



As you asked, this is the list of es_* locales

es_AR
es_AR.iso88591
es_AR.utf8
es_BO
es_BO.iso88591
es_BO.utf8
es_CL
es_CL.iso88591
es_CL.utf8
es_CO
es_CO.iso88591
es_CO.utf8
es_CR
es_CR.iso88591
es_CR.utf8
es_DO
es_DO.iso88591
es_DO.utf8
es_EC
es_EC.iso88591
es_EC.utf8
es_ES
es_ES@euro
es_ES.iso88591
es_ES.iso885915@euro
es_ES.utf8
es_GT
es_GT.iso88591
es_GT.utf8
es_HN
es_HN.iso88591
es_HN.utf8
es_MX
es_MX.iso88591
es_MX.utf8
es_NI
es_NI.iso88591
es_NI.utf8
es_PA
es_PA.iso88591
es_PA.utf8
es_PE
es_PE.iso88591
es_PE.utf8
es_PR
es_PR.iso88591
es_PR.utf8
es_PY
es_PY.iso88591
es_PY.utf8
es_SV
es_SV.iso88591
es_SV.utf8
es_US
es_US.iso88591
es_US.utf8
es_UY
es_UY.iso88591
es_UY.utf8
es_VE
es_VE.iso88591
es_VE.utf8

Thanks for help
Carlos
Comment 7 Otavio Piske (RETIRED) gentoo-dev 2005-04-21 14:54:45 UTC
Sorry, but you didn't told me which dictionary you are using ... Could you please, provide me this information?
Comment 8 Carlos Cordoba 2005-04-22 12:35:24 UTC
I'm using just english.dic. But after installing babytrans it complains about not finding Engtoeng.dic, so I have to make a symlink to english.dic to see the babytrans window in the screen. If I dont do this, babytrans displays an error message and then it quits.
Comment 9 Otavio Piske (RETIRED) gentoo-dev 2005-04-23 04:39:20 UTC
This is wrong and probably is the cause of your problem. You have to install one of the babytrans en2<lang> dictionaries. Due to some license problems/restrictions that I'm still trying to solve, these files have to be manually fetched from ftp://ftp.ac-grenoble.fr/ge/languages/babylon_dict/.

Btw, if you're looking for a Eng to Spanish dictionary, you may try this file: ftp://ftp.ac-grenoble.fr/ge/languages/babylon_dict/EngtoSpa.dic.gz

Also, give me a feedback if this solves your problem, so I can close the bug.
Comment 10 Otavio Piske (RETIRED) gentoo-dev 2005-04-29 11:32:00 UTC
Well Carlos ..

As you didn't gave me an answer I guess we found the root of your problem. If you're still having problems with babytrans feel free to open (or reopen, if it's the same) a new bug about it.

Obs.: closing it as INVALID, as it seems to not be a babytrans problem.