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: how add a translation to aMule?  (Read 4701 times)

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
how add a translation to aMule?
« 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.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: how add a translation to aMule?
« Reply #1 on: March 20, 2011, 12:45:49 PM »

Have you generated the italian localoes for your system?
Logged
Homefucking is killing prostitution

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: how add a translation to aMule?
« Reply #2 on: March 20, 2011, 05:07:03 PM »

Yes, at login I can choose language between Spanish and Italian. Each language works for the system.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: how add a translation to aMule?
« Reply #3 on: March 20, 2011, 09:12:36 PM »

What language is choosen in preferences? Spanish or System Defautl?
Logged
Homefucking is killing prostitution

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: how add a translation to aMule?
« Reply #4 on: March 22, 2011, 09:54:57 PM »

system default
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: how add a translation to aMule?
« Reply #5 on: March 24, 2011, 04:25:27 AM »

no way then?
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: how add a translation to aMule?
« Reply #6 on: April 08, 2011, 11:54:58 PM »

Please, it would be useful for me to have the two languages for amule.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: how add a translation to aMule?
« Reply #7 on: April 11, 2011, 09:06:43 AM »

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.
Logged
concordia cum veritate

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: how add a translation to aMule?
« Reply #8 on: April 11, 2011, 07:08:23 PM »

well, when I installed aMule on my pc it was setted on Spanish language, so now I faind the es locale installed 
Code: [Select]
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.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: how add a translation to aMule?
« Reply #9 on: April 12, 2011, 01:40:27 PM »

Where did you get your installation from?
Logged
Homefucking is killing prostitution

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: how add a translation to aMule?
« Reply #10 on: April 12, 2011, 07:21:33 PM »

ubuntu repos, universe

version is  2.2.6+debian0-7 (lucid)
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: how add a translation to aMule?
« Reply #11 on: April 12, 2011, 07:38:48 PM »

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".
Logged
Homefucking is killing prostitution

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: how add a translation to aMule?
« Reply #12 on: April 12, 2011, 08:27:18 PM »

That sounds strange.
If I try to reinstall amule -common during italian session, it installs always the spanish messages file.

anyway:
locale -a
Code: [Select]
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
Code: [Select]
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:~$

Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: how add a translation to aMule?
« Reply #13 on: April 12, 2011, 08:44:57 PM »

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.
Logged
Homefucking is killing prostitution

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: how add a translation to aMule?
« Reply #14 on: April 12, 2011, 08:53:20 PM »

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?
Logged
Pages: [1] 2