aMule Forum
English => Multiplatform => Mac OSX => Topic started 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
-
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...
-
I did it, but it is the same.... :(
-
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.
-
Thanx ken, that was the problem,,, now aMUle is localized in italian language.
-
Happy to help. :)
-
ken: so is the "official" mac binary compiled with other languages or onlywith main plain english?
-
Jacobo221, the official binary is built with the mac_packager script and so contains the other languages.
-
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 :)
-
did you try running ./autogen.sh before configure?
-
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.