How to change the menu language of LXPanel?

The standard panel of LXDE - http://wiki.lxde.org/en/LXPanel
Locked
phonky
Posts: 7
Joined: Tue Jan 06, 2009 11:20 am

How to change the menu language of LXPanel?

Post by phonky »

Hi

I have my locale set to it_IT.utf8.
I just finished translating many LXDE component files into Italian
and checked them back in.

The "start" menu in LXDE now correctly shows my translated
"logout" and "Run" entries on the lower end (from LXSession).

However, all the other entries (Game, Development, etc.) still show up in English.
I think to understand they are automatically generated from .desktop files,
but I haven't been able to figure out from the freedesktop.org and other pages
how to get those category names translated to Italian.

Any suggestions?

(BTW, some other stuff still appears in English, like OK/Cancel buttons in dialogs,
right click menus, etc. I guess they do not come from LXDE;
any suggestion here too?)
EDIT: I just installed language-pack-gnome-base-it and language-pack-gnome-it
which kind of had a buggy install on my xubuntu installation; dialog buttons
and right clicks seem to work fine now - sorry)

Thanks a lot!
phonky
Posts: 7
Joined: Tue Jan 06, 2009 11:20 am

Re: How to change the menu language of LXPanel?

Post by phonky »

Nobody here can help me on this?
It is actually pretty unfortunate that I translated almost everything to Italian,
but the main application menu does still appear in English...no ideas?
Could help switch someone to linux who has no knowledge of English at all...


thank you
phonky
Posts: 7
Joined: Tue Jan 06, 2009 11:20 am

Re: How to change the menu language of LXPanel?[SOLVED - MAYBE?]

Post by phonky »

SOLVED - Maybe?

The language .po file for lxpanel actually contained all the necessary strings.

However, they were commented out in the template I took for the Italian translation
(the German .po, I think). Thus, those strings didn't appear in poedit, where I was
doing the translation.

So I removed the comment character in vi, I could edit the strings in poedit,
and now the strings are correctly translated.

The question which remains: why were those strings commented out?
Is that some kind of deprecated stuff? As long as I do not know these
answers, I will not check in the translated it.po file back into the source.
PCMan
Posts: 85
Joined: Mon Oct 06, 2008 9:52 am

Re: How to change the menu language of LXPanel?

Post by PCMan »

1. translation for ok/cancel buttons is provided by gtk+ itself. Please install proper related gtk+ packages.
2. the menu is completely changed in lxpanel 0.4. The po file of lxpanel only works for 0.3.x. Now they are completely taken from files provided by lxde-menus. Please try lxpanel 0.4 beta first.
3. run 'locale' in terminal to see the locale settings you're currently using, and post them here for trouble shooting.
Locked