aMule Forum

English => Compilation problems => Topic started by: Gorescore on April 15, 2006, 10:32:43 PM

Title: Solved : FC5 German Language Problem
Post by: Gorescore on April 15, 2006, 10:32:43 PM
Hello,

i compiled wx 2.6.3 (incl. patch 2) and aMule on a fresh Fedora Core 5 with this options :

wx : ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise

amule : ./configure --prefix=/usr --disable-debug --enable-optimize --enable-amulecmd --enable-amulecmdgui --enable-webserver --enable-webservergui --enable-amule-gui --enable-amule-daemon --enable-cas --enable-wxcas --enable-alc --enable-alcc --enable-utf8-systray --enable-webserver-php --enable-kad-compile --enable-nls

compiling runs without problems.

When i start aMule and use "System Language" of "German" it doesn´t matters.

The Gui shows some in Words in english and some in German.

Did i forget something during compiling ?
Title: Re: Solved : FC5 German Language Problem
Post by: Gerd78 on April 15, 2006, 10:47:36 PM
If some strings are translated, the translation was definitely recognized and works. Otherwise *everything* would be in English.

If there are some untranslated strings, this probably means that the corresponding parts of the source code were recently changed and the translation not yet adjusted.
Title: Re: Solved : FC5 German Language Problem
Post by: IhmSelbst on April 16, 2006, 01:00:18 AM
In 2.1.1 there are no untranslated messages. (of course, some expressions kept in "new-german", like "Download" instead of "Runterladen" or "Daalladen" or so.)
on cvs, there are, of course, several untranslated passages.
Title: Re: Solved : FC5 German Language Problem
Post by: Gerd78 on April 16, 2006, 06:17:12 AM
Gorescore, are you sure that you did a "make install" before running aMule? Otherwise it will not find the "amule.mo" files because their path is hardcoded in the executable. In that case, only the messages from wxWidgets are translated because they come from "wxstd.mo" files which are always installed.
Title: Re: Solved : FC5 German Language Problem
Post by: Gorescore on April 16, 2006, 03:25:07 PM
:D yes, of course i made "make install".
For both, wx and aMule  :D

The rpm packages provided here for FC5 had the same problem !
my old FC4 packages had that problem, too.
In FC3, i remember no problems ...

It is since FC4. But how to fix it ???
really strange ...
Title: Re: Solved : FC5 German Language Problem
Post by: Gerd78 on April 16, 2006, 04:27:58 PM
Please check these things:

1) Your system is correctly configured; the output of the "locale" command must look like this:
Code: [Select]
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=
2) You have a file called "amule.mo" in /usr/share/locale/de/LC_MESSAGES or /usr/local/share/locale/de/LC_MESSAGES

3) You had the "gettext" and(!) "gettext-devel" packages installed while building aMule
Title: Re: Solved : FC5 German Language Problem
Post by: Gorescore on April 16, 2006, 04:53:40 PM
1. Yes, everything looks nice.

2. No ! I don´t have this file everywhere ! searched with locate (and refreshed the database before  :D)

3. No. I had gettext, but no devel installed. I installed it now !

New compiling now ?
Both or only aMule ?
Title: Re: Solved : FC5 German Language Problem
Post by: Gerd78 on April 16, 2006, 05:17:36 PM
aMule: definitely
wxWidgets: maybe, but it's not that important
Title: Re: Solved : FC5 German Language Problem
Post by: Gorescore on April 16, 2006, 05:20:37 PM
First of all thanks for the help.

Give me a hour.

My Server is a 600 Mhz machine. And compiling on this good old pentium is always a litte slow :D

I tell you if the problem is solved ...
Title: Re: Solved : FC5 German Language Problem
Post by: stefanero on April 16, 2006, 05:26:24 PM
funny is that it did not complain while compiling....
Title: Re: Solved : FC5 German Language Problem
Post by: Gorescore on April 16, 2006, 07:25:22 PM
Wonderful !!!

The missing gettext-devel was the problem !

Now i have very nice wxgtk2.6.3 & amule 2.1.1 rpms for FC5.

Thanks !
Title: Re: Solved : FC5 German Language Problem
Post by: ken on April 16, 2006, 07:55:56 PM
stefanero: absence of gettext just means internationalization features are disabled.  It isn't considered an error by our configure system.
Title: Re: Solved : FC5 German Language Problem
Post by: stefanero on April 17, 2006, 09:20:12 AM
@ken but if I remeber correct it should fail on compilation at the end...thats at least what it did a while ago...
Title: Re: Solved : FC5 German Language Problem
Post by: Gerd78 on April 17, 2006, 10:40:39 AM
Really? I thought it was a feature that aMule can be compiled without internationalisation. There might be platforms with no suitable gettext implementation.
Title: Re: Solved : FC5 German Language Problem
Post by: stefanero on April 17, 2006, 10:51:10 AM
thats why there is a configure flag --disable-nls
Title: Similar Problem with german language support
Post by: Mandarine on April 21, 2006, 06:45:02 PM
I'm having a similar problem.

I've compiled aMule from the sources and I don't get the german version (on Debian Etch) :-(

The output of my locale is:

Code: [Select]
LANG=de_DE@euro
LANGUAGE=de_DE:de:en_GB:en
LC_CTYPE="de_DE@euro"
LC_NUMERIC="de_DE@euro"
LC_TIME="de_DE@euro"
LC_COLLATE="de_DE@euro"
LC_MONETARY="de_DE@euro"
LC_MESSAGES="de_DE@euro"
LC_PAPER="de_DE@euro"
LC_NAME="de_DE@euro"
LC_ADDRESS="de_DE@euro"
LC_TELEPHONE="de_DE@euro"
LC_MEASUREMENT="de_DE@euro"
LC_IDENTIFICATION="de_DE@euro"
LC_ALL=

I do have a "amule.mo" in "/usr/local/share/locale/de/LC_MESSAGES"

"gettext" is installed on my system. I can't find "gettext-devel" with apt-cache search ...

Any ideas?

Sascha
Title: Re: Solved : FC5 German Language Problem
Post by: wuischke on April 21, 2006, 08:13:25 PM
The package is called 'gettext-dev' on Debian. Install this one and recompile. :)
Title: Re: Solved : FC5 German Language Problem
Post by: Mandarine on April 21, 2006, 08:59:35 PM
Quote
Originally posted by wuischke
The package is called 'gettext-dev' on Debian. Install this one and recompile. :)

Unfortunately there is no gettext-dev either :-(

All I'm getting with apt-cache search gettext is:
Code: [Select]
gettext - GNU Internationalization utilities
gettext-base - GNU Internationalization utilities for the base system
gettext-doc - Documentation for GNU gettext
gettext-el - Emacs po-mode for editing .po files
Title: Re: Solved : FC5 German Language Problem
Post by: stefanero on April 21, 2006, 09:29:08 PM
gettext - GNU Internationalization utilities
gettext-base - GNU Internationalization utilities for the base system

^^ those two should be fine