aMule Forum

English => Multiplatform => Mac OSX => Topic started by: Stes on September 23, 2005, 07:11:01 PM

Title: Italian language on Amule cvs
Post by: Stes on September 23, 2005, 07:11:01 PM
Hi, i have a problem that i posted some days ago in the italian forum, but maybe it is more sample here in fact  i'm using Mac OS X 10.4.2, 512 MB Ram Tiatnium 500 with fink, gettext and Dev tools.... but if i try to compile amule-cvs in italian language... i can't... why?

This is my input for wxWidget 2.6.1:

1- cd ~/Desktop/wxMac-2.6.1/build
2- ../configure --disable-shared --enable-unicode
3- make

This is my input for amule-cvs:

1- cd /Users/stes/Desktop/amule-cvs/
2- ./configure --disable-systray --disable-gtk                 --with-wx-config=../wxMac-2.6.1/build/wx-config             --disable-debug --enable-optimize             --enable-kad-compile
3- make
4- strip src/amule
5- mv src/amule aMule.app/Contents/MacOS/

well after that i run amule, but it is in engllish language.... is there an option that i'don't use in configure?

Thanx in advance and sorry for bad english
Title: Re: Italian language on Amule cvs
Post by: thedude0001 on September 23, 2005, 08:38:18 PM
You can change amule's language in Preferences - General. Just choose "Italian" in the drop down menu, click ok and restart amule. It should now present itself in italian...
Title: Re: Italian language on Amule cvs
Post by: Stes on September 23, 2005, 09:29:48 PM
I did it, but it is the same....   :(
Title: Re: Italian language on Amule cvs
Post by: ken on September 23, 2005, 11:04:03 PM
One doesn't normally do "make install" when building the Mac binary.  Instead, you copy the executable into the application bundle.  That is the bare minimum necessary to get it to run and unfortunately leaves out certain things, like support for languages other than English.  "make install" would copy the language catalogs to a system-central location (/usr/local/share, I think) so that aMule could find them.  However, that's not The Mac Way of doing things -- an application should be self-contained and not need to have files installed into system-central directories.

The more complete way to get all of the appropriate pieces to the proper place inside the application bundle is to run the mac_packager script.  The path to this script from the aMule build directory is "src/utils/scripts/mac_packager".  So, replace your step 5 with:

src/utils/scripts/mac_packager

The resulting aMule.app will support languages other than English.
Title: Re: Italian language on Amule cvs
Post by: Stes on September 24, 2005, 08:56:37 AM
Thanx ken, that was the problem,,, now aMUle is localized in italian language.
Title: Re: Italian language on Amule cvs
Post by: ken on September 25, 2005, 07:24:16 AM
Happy to help.  :)
Title: Re: Italian language on Amule cvs
Post by: Jacobo221 on January 12, 2006, 12:34:50 AM
ken: so is the "official" mac binary compiled with other languages or onlywith main plain english?
Title: Re: Italian language on Amule cvs
Post by: ken on January 13, 2006, 05:17:37 AM
Jacobo221, the official binary is built with the mac_packager script and so contains the other languages.
Title: Re: Italian language on Amule cvs
Post by: NiKo87 on April 14, 2006, 08:51:51 PM
Using the mac_packager script with aMule 2.1.1 doesn't solve the problem, aMule is only in English. With 2.1.0 the script does the trick. What can I do? Thanks :)
Title: Re: Italian language on Amule cvs
Post by: lionel77 on April 15, 2006, 07:58:50 AM
did you try running ./autogen.sh before configure?
Title: Re: Italian language on Amule cvs
Post by: ken on April 16, 2006, 07:27:31 PM
The only thing I can think of is that you need to have gettext installed on your system and accessible on your PATH when you configure and build wxMac and aMule.  The best way to get it is probably via DarwinPorts.  If it's not available, both with still configure and build, but they won't have international language support.