The PET contains folder /usr/share/desktop-directories, which has files that define the menu hierarchy, that is the top-level categories and subcategories. Early in 2011, shinobar added translations to these files, so that the top-level and sub-level titles in the menu will display in the appropriate language. Shinobar created a PET, puppy-desktop-20110101.pet, see Forum thread:
The PET also does have some other stuff, but I have taken just the /usr/share/desktop-directories and put it into xdg_puppy-0.7.6-13-p4.pet, which will now be the PET used for all future Woof builds. Here it is, in the 'common' repo (15KB):
What this means for future Puppy builds is that now the entire JWM (or IceWM or whatever) menu will be translated. Well almost, there are some menu titles in .jwmrc that still need to be translated -- shinobar worked out a system for that too, that's on the to-do list.
MoManager has creation/editing of menu entries, the next thing I am going to do is add creation/editing of the categories/sub-titles as specified in /usr/share/desktop-directories.
Comments:Posted on 7 Feb 2012, 6:52 by rodin.s
Russian translation is almost ready. It has 73 mo-files. I have made a pet, but I want to do some testing. So far I have found that lines 152 and 381 of pup_event_frontend_d need 'second gettext' (two <Label> in one line).
Posted on 7 Feb 2012, 21:14 by BarryK
I should have posted to hold off for a few days, as I am still revising the scripts.
Anyway, if any text strings are changed you can fix those.
One thing that I was thinking of doing is replace most of the xmessage lines to use pupdialog instead.
Which will require some changes to the text strings.
Posted on 7 Feb 2012, 21:17 by BarryK
I should have mentioned that rarsa's xdg_puppy PET already had /usr/share/desktop-directories, it is just that they were English only.