aMule Forum
English => aMule Help => Topic started by: luquino on March 20, 2011, 03:51:49 AM
-
Hi! I have aMule 2.2.6 on Ubuntu 10.04. aMule is installed from stamdard repos and it appears in spanish language (because my computer is located in spanish).
I wonder if it should be possible to add italian tramslation to aMule so when I change language in the system, aMule changes language as well.
In the wiki I found the it.po, but I don't know if it's useful and, eventually, how to use it.
thx a lot for your help.
-
Have you generated the italian localoes for your system?
-
Yes, at login I can choose language between Spanish and Italian. Each language works for the system.
-
What language is choosen in preferences? Spanish or System Defautl?
-
system default
-
no way then?
-
Please, it would be useful for me to have the two languages for amule.
-
I don't know about Ubuntu packaging scheme, you may only need to install the appropriate localization package.
Anyway, see if the file /usr/share/locale/it/LC_MESSAGES/amule.mo exists, in which case the problem lies somewhere else.
-
well, when I installed aMule on my pc it was setted on Spanish language, so now I faind the es locale installed
luca@luca-desktop:~$ locate /usr/share/locale/*/LC_MESSAGES/amule.mo
/usr/share/locale/es/LC_MESSAGES/amule.mo
luca@luca-desktop:~$
The problem is exactly how to add the Italian localization for italian.
-
Where did you get your installation from?
-
ubuntu repos, universe
version is 2.2.6+debian0-7 (lucid)
-
According to http://packages.ubuntu.com/lucid/all/amule-common/filelist you have to have more installed languages. Try "apt-get install --reinstall amule-common" to get the missing files. If this doesn't work, compare the output of "locale" in every env and "locale -a".
-
That sounds strange.
If I try to reinstall amule -common during italian session, it installs always the spanish messages file.
anyway:
locale -a luca@luca-desktop:~$ locale -a
C
en_AG
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_NG
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
es_AR.utf8
es_BO.utf8
es_CL.utf8
es_CO.utf8
es_CR.utf8
es_DO.utf8
es_EC.utf8
es_ES.utf8
es_GT.utf8
es_HN.utf8
es_MX.utf8
es_NI.utf8
es_PA.utf8
es_PE.utf8
es_PR.utf8
es_PY.utf8
es_SV.utf8
es_US.utf8
es_UY.utf8
es_VE.utf8
it_CH.utf8
it_IT.utf8
POSIX
luca@luca-desktop:~$
locale
Spanish env
luca@luca-desktop:~$ locale
LANG=es_PE.utf8
LANGUAGE=es_PE:it_IT:en
LC_CTYPE="es_PE.utf8"
LC_NUMERIC="es_PE.utf8"
LC_TIME="es_PE.utf8"
LC_COLLATE="es_PE.utf8"
LC_MONETARY="es_PE.utf8"
LC_MESSAGES="es_PE.utf8"
LC_PAPER="es_PE.utf8"
LC_NAME="es_PE.utf8"
LC_ADDRESS="es_PE.utf8"
LC_TELEPHONE="es_PE.utf8"
LC_MEASUREMENT="es_PE.utf8"
LC_IDENTIFICATION="es_PE.utf8"
LC_ALL=
luca@luca-desktop:~$
Italian env
luca@luca-desktop:~$ locale
LANG=es_PE.utf8
LANGUAGE=it_IT:en
LC_CTYPE="es_PE.utf8"
LC_NUMERIC="es_PE.utf8"
LC_TIME="es_PE.utf8"
LC_COLLATE="es_PE.utf8"
LC_MONETARY="es_PE.utf8"
LC_MESSAGES=it_IT.UTF-8
LC_PAPER="es_PE.utf8"
LC_NAME="es_PE.utf8"
LC_ADDRESS="es_PE.utf8"
LC_TELEPHONE="es_PE.utf8"
LC_MEASUREMENT="es_PE.utf8"
LC_IDENTIFICATION="es_PE.utf8"
LC_ALL=
luca@luca-desktop:~$
-
So you see your problem, login in italian just changes the LANGUAGE-Var. Which crappy piece of software claims to set locale and then does such a thing.
-
well, I can't answer to your question.
what I see is that when I login in Italian everything speaks Italian: menus, firefox and other programs, help messages, etc.
So, to solve my problem, can I download somewhere an Italian .mo file to put in the right directory on my pc?
-
Downlload and extract the deb, then you can copy all needed files.
-
OK, that is a joke.
Before I said that italian locale where not installed, after reinstall of amule-common, because whit locate command I didn't see other than spanish.
Actually italian .mo for amule where installed, but I could see it only after a sudo updatedb
So, now amule changes languages subjected to the env.
Thanks for the help.