Author Topic: Localization Manager (addlocale)  (Read 147860 times)

capnx

  • Guest
Re: 2009.1 International, or how to change to a non-English locale
« Reply #105 on: April 23, 2009, 10:06:52 AM »
actually, a couple days ago after some routine update all my firefox menu fonts got screwed, they went supersize on me and i have no clue why/how. only way i fixed it was reset back to default local which was english. so when i tried to go back to chinese it wanted me to update openoffice.

it's ok. actually i'd much prefer to wait for the new openoffice 3.1 for the next "stage" update :)
thanks dude, until next time

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: 2009.1 International, or how to change to a non-English locale
« Reply #106 on: April 23, 2009, 10:45:15 AM »
Hi Melodie,

please check out this one: http://pootle.clever.cz/projects/pclinuxos-mime/ and I would be more than happy if you help getting more applications translated over at http://mypclinuxos.com/forum/index.php?board=118.0.  I know it looks like a 'dead cow' and it would be great if you can change that  ;)  In fact, I must admit that I myself never ever worked with or setup any new mo-files and I seriously doubt that I will ever have the time to translate any application. I have lot's of important things to do at work and it is already quite difficult for me to free up some time for any addlocale progress.


I don't have any ability around programming, but I've allready translated one or two texts, and even asked for help or advise to improve it, so that it could be published as something good to read at. I registered at pootle yesterday after I read your post, and subscribed to the Pclos Control Center translations. There are few left to be done, I'll start soon, probably will do a few sentences in the evenings.

I don't see quite well what I could do in the http://mypclinuxos.com/forum/index.php?board=118.0 though ? What was it that you could think about ?

Quote
Please don't think of me as a localization expert, this would be completely wrong, I know virtually nothing about it, seriously. I'm just a programmer who collected already available language-specific elements (and who knows what I missed) and put this info in a script for ease of use, nothing more.


And this very nice for all who don't know or have the idea howto do that...

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: 2009.1 International, or how to change to a non-English locale
« Reply #107 on: April 23, 2009, 04:30:00 PM »
Hi Melodie,

cool, that sounds very good! Seems to me that virtually all guys previously active in the mypclinuxos localization board have left  :-\ Oh, and that happened before I joined in there  :D :D  We still should or need to improve the translations, yet, as I said before, for me this means starting from scratch, I have no idea how to do that. I can only google for info or hope someone with some ideas will help us. Actually, it was the complete lack of translation skills which forced me to think of other ways how to get hold of language-specific information  ::)
So, in short, if you manage to get more info/help/tools and thelike, could you please post it over at mypclinuxos, cause we need to revive the 'dead cow'  ;)

thanks for your continuing support and wishing you a nice day,
-pinoc

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: 2009.1 International, or how to change to a non-English locale
« Reply #108 on: April 24, 2009, 03:30:22 PM »
Hi pinoc,

I posted at myplos, at the localisation section. Let's see how it will come out. :)

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

musonio

  • Guest
Re: 2009.1 International, or how to change to a non-English locale
« Reply #109 on: April 30, 2009, 03:12:23 PM »
Pinoc has sent me here from a previous post.

Quote
I do not understand why you can install a package via Synaptic but not via addlocale. Addlocale uses apt-get to install and Synaptic is only a GUI interface to apt-get. Do you use a local repo? Which repo are you using now? Try to use for example the repo 'heanet'. For example 'tesseract-langpack-es' is in the section 'extra' and it is available and should be found by addlocale or Synaptic. Since this seems to become an addlocale related post, please post your answer here: http://www.pclinuxos.com/index.php?option=com_smf&Itemid=26&topic=55229.msg457052#msg457052 and we continue there to solve this. 


I am precisely using heanet. Both tesseract... and gwen... (which addlocale claims to be unable to retrieve) have been downloaded from there.


Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: 2009.1 International, or how to change to a non-English locale
« Reply #110 on: April 30, 2009, 03:30:54 PM »
ok, let's see:
- are you sure your system is fully updated? Start Synaptic, reload, Update All does not do anything, correct?
- is this a KDE or Gnome install?
- you seem to have problems in the first step of addlocale: check if the file "/tmp/AL_STEP1.lst" has a recent timestamp, open it and copy the list of packages listed in this file.
Make sure Synaptic is closed, then open a shell, become root and enter: apt-get install --reinstall (and behind this copy the content of /tmp/AL_STEP1.lst).  This should install/reinstall the required language packages. This is also the place where your error happens so you should now get more info on the error in the shell. Please post this here so we can track down the problem.

musonio

  • Guest
Re: 2009.1 International, or how to change to a non-English locale
« Reply #111 on: April 30, 2009, 03:39:16 PM »
Pinoc:

I went through those steps.
I reinstalled both packages through apt-get.
Addlocale gives the same error and produces the same log file claiming not to be able to retrieve:
     tesseract-langpack-$AL_EXT1 gwenview-i18n
The log file is new, since I deleted the previous.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: 2009.1 International, or how to change to a non-English locale
« Reply #112 on: April 30, 2009, 03:45:05 PM »
strange...
again, please close addlocale, Synaptic, Smart, any package manager. Then open a shell, become root and enter: apt-get install --reinstall (and copy the package list from /tmp/AL_STEP1.lst after this)  and post the output here.

musonio

  • Guest
Re: 2009.1 International, or how to change to a non-English locale
« Reply #113 on: April 30, 2009, 03:56:06 PM »

# apt-get install --reinstall tesseract-langpack-es gwenview-i18n
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 2 reinstalled, 0 removed and 0 not upgraded.
Need to get 0B/2960kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
Committing changes...
Preparing                                ############################## [100%]
Updating / installing
  tesseract-langpack-es-2.00-1pclos2007. ############################## [100%]
  gwenview-i18n-1.4.2-1pclos2007.i586    ############################## [100%]
Done.


Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: 2009.1 International, or how to change to a non-English locale
« Reply #114 on: April 30, 2009, 04:00:56 PM »
musonio,

you mean there are only two packages listed in /tmp/AL_STEP1???
We can find the reason for the problem if you copy the entire list of packages after the "apt-get install --reinstall ". Can you do this please?

musonio

  • Guest
Re: 2009.1 International, or how to change to a non-English locale
« Reply #115 on: April 30, 2009, 05:05:15 PM »
Do you mean the entire list of packages I have installed?

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: 2009.1 International, or how to change to a non-English locale
« Reply #116 on: May 01, 2009, 01:54:36 AM »
musonio,

reinstalling the entire list of packages is one option but it should be the last one. May be I was not clear enough but in order to help finding the problem I need the answers to all of the following questions:
- are you sure your system is uptodate?
- which version of addlocale are you using? Should be 1.8!
- do you run addlocale as root or as normal user?
- KDE or GNOME installation or both?
- real harddisk installation or VirtualBox/VmWare (and maybe /var/cache/apt/archives/ linked to the host machine where you might have a permission problem)?
- if you have Parental Control installed: try disabling it before running addlocale
- what is the content of /tmp/AL_STEP1.lst?
- in a root shell enter: apt-get install --reinstall <and then the entire list of what is listed in /tmp/AL_STEP1.lst>

Seems to me you have some permission issue, try the following:
- open a root shell and run addlocale as root from the shell to get more information on what is going on. At the root command prompt enter: /usr/sbin/addlocale
- your previous post suggest that you have set Synaptic to keep the packages in the cache. You may have a corrupted package in there causing the problem. Open Synaptic and delete the cached packages. Then run addlocale again, maybe best from a root shell as described before.

Please follow these instructions and provide the answers to all the questions above, we need this info to solve your problem.
-p. 


musonio

  • Guest
Re: 2009.1 International, or how to change to a non-English locale
« Reply #117 on: May 01, 2009, 04:37:11 AM »
1) My system is uptodate.
2) addlocale 1.8
3) addlocale as root
4) KDE
5) real hard disk
6) although I control my son in twisted ways, I don't know about parental control
7) As I previously said (since the same error keeps coming up), the content of /tmp/AL_STEP1.lst is:
tesseract-langpack-$AL_EXT1 gwenview-i18n
8) I've already done that.
9) I emptied synaptic's cache and run addlocale again. Same error.


musonio

  • Guest
Re: 2009.1 International, or how to change to a non-English locale
« Reply #118 on: May 01, 2009, 07:53:21 AM »
I found a way out.
Since the conflicting packages were tesseract and gwenview, I uninstalled both and run addlocale again. It worked perfectly.
It's not the ideal solution (since I still don't know why addlocale couldn't retrieve those packages), but it worked.
Thanks a lot.

I have some comments on the whole thing I'm going to put on the original post from where I came from.
http://www.pclinuxos.com/index.php?option=com_smf&Itemid=26&topic=57197.0;topicseen

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: 2009.1 International, or how to change to a non-English locale
« Reply #119 on: May 01, 2009, 11:20:27 AM »
hmm, still do not understand why you had the error but I'm very glad to hear it finally worked. Now with the Spanish locale active, anything new you install will be in Spanish (of course only if the new package has a Spanish version included). So you could now install tesseract and gwenview if you need them.
Good luck and enjoy PCLinuxOS in Spanish!
-pinoc