aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Solved : FC5 German Language Problem  (Read 6512 times)

Gorescore

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Solved : FC5 German Language Problem
« 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 ?
« Last Edit: April 16, 2006, 08:21:30 PM by Gorescore »
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Solved : FC5 German Language Problem
« Reply #1 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.
Logged

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
Re: Solved : FC5 German Language Problem
« Reply #2 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.

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Solved : FC5 German Language Problem
« Reply #3 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.
Logged

Gorescore

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Solved : FC5 German Language Problem
« Reply #4 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 ...
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Solved : FC5 German Language Problem
« Reply #5 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
« Last Edit: April 16, 2006, 04:28:49 PM by Gerd78 »
Logged

Gorescore

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Solved : FC5 German Language Problem
« Reply #6 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 ?
« Last Edit: April 16, 2006, 05:11:44 PM by Gorescore »
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Solved : FC5 German Language Problem
« Reply #7 on: April 16, 2006, 05:17:36 PM »

aMule: definitely
wxWidgets: maybe, but it's not that important
Logged

Gorescore

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Solved : FC5 German Language Problem
« Reply #8 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 ...
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Solved : FC5 German Language Problem
« Reply #9 on: April 16, 2006, 05:26:24 PM »

funny is that it did not complain while compiling....
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Gorescore

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Solved : FC5 German Language Problem
« Reply #10 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 !
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: Solved : FC5 German Language Problem
« Reply #11 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.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Solved : FC5 German Language Problem
« Reply #12 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...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Solved : FC5 German Language Problem
« Reply #13 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.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Solved : FC5 German Language Problem
« Reply #14 on: April 17, 2006, 10:51:10 AM »

thats why there is a configure flag --disable-nls
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."
Pages: [1] 2