Puppy-desktop NLS syslem

For efforts in internationalising Puppy and solving problems in this area
Post Reply
Message
Author
User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Puppy-desktop NLS syslem

#1 Post by shinobar »

The Puppy-desktop NLS(Native Language Support) system gives native language support to the labels of the desktop icon and the menu.
May works on any Puppy-4.x/5.x. Currently it supports JWM and IceWM as for the menu.

The puppy-desktop as the 'base' is already built in LupQ-511 and Wary-500 Japanese edition.
Others need to install the 'puppy-desktop' package as the 'base'.
The 'base' has the menu translations of some language built in.
Additional 'lang_pack' is required for the label of desktop icons.

puppy-desktop-20110101.pet is available here.
petget-20110211.pet, available at the same place, is also recommended to avoid the menu labels reverted to English when installed.removed packages.

The 'lang_pack' for some languages available at the lucid official repository.
Or, form here.

Or, the collection of .mo and .po files: puppy-desktop_NLS-20110103.pet here.
Available languages:
See the link of the 'lang_pack' above.
As for the label of the desktop icons. currently available for only several languages, german, spanish, french, hungarian, japanese, dutch and russian.
Last edited by shinobar on Sun 04 Oct 2015, 00:47, edited 7 times in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Tips and traps

#2 Post by shinobar »

The menu labels may reverted to the English after using the Puppy Package Manager, or the Upgrade X drivers.

You can repair the labels by running Menu>Desktop>Refresh Desktop.
The Refresh Desktop also does re-align the drive icons on the desktop.
(The 'Refresh Desktop' is contained in the puppy-desktop package above.)

Or, install dotpup_i18n version to avoid the menu label reverted to English.
Last edited by shinobar on Mon 03 Jan 2011, 04:23, edited 2 times in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

How to add translations

#3 Post by shinobar »

Some part is using gettext.
There is the .pot file at /usr/share/doc/nls/puppy-desktop/puppy-desktop.pot.
You can make the translation using poedit or similar tools.
poedit-1.4.2-3-i686.pet is available here.

Another menu labels at /usr/share/desktop-directories.
See the another topic:Translate LupQ - Quickset edition of Lucid Puppy

Post your translation as a reply of this topic.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Uploaded puppy-desktop and dotpup

#4 Post by shinobar »

Sorry, i was forgetting upload. :lol:
Today uploaded the puppy-desktop-20110101.pet here
Also dotpup_i18n-20110103.pet available at the same place.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

dutch

#5 Post by Bert »

Hi Shinobar,

Here's the Dutch Puppy-desktop.

First time I use Poedit...is this what you're looking for?

Regards,
Bert
Attachments
puppy-desktop.mo.tar.gz
(1.94 KiB) Downloaded 977 times
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: dutch

#6 Post by shinobar »

Bert wrote:Here's the Dutch Puppy-desktop.
First time I use Poedit...is this what you're looking for?
Ja dat is het. :)
Hope .mo file and .po file in a directory named with the language code, like 'puppy-desktop-nl' or something, next time.
A.U.B.

Image
Image
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

puppy-desktop_NLS-20110103

#7 Post by shinobar »

The collection of .mo and .po files: puppy-desktop_NLS-20110103.pet See the top post.
Available languages:
german, spanish, french, hungarian, japanese, dutch and russian.

The .po files are at /usr/share/doc/nls/puppy-desktop.
The .mo files are at /usr/share/locale/??/LC_MESSAGES.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

mave
Posts: 129
Joined: Thu 02 Apr 2009, 13:42
Location: Germany

#8 Post by mave »

great, simply great, shinobar!

Thanks!

mave

mama21mama

#9 Post by mama21mama »

lupu520-l10n-es
ES: proyecto de traducción via bazaar
EN: project of translation via bazaar

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

pup_event FR

#10 Post by ASRI éducation »

Hello,
Using poedit, I tried to complete the translation of the file /usr/share/doc/nls/pup_event/fr.po to create /usr/share/locale/fr/LC_MESSAGES/pup_event.mo
But this does not work : the translation FR is not available (when all menus and local are in French ).
Why?
Attachments
pupeventFR.tar.gz
/usr/share/doc/nls/pup_event/fr.po and /usr/share/locale/fr/LC_MESSAGES/pup_event.mo
(7.94 KiB) Downloaded 786 times

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: pup_event FR

#11 Post by shinobar »

Merci ASRI.
The pup_event.mo only works on the Quickset Wary.
http://www.murga-linux.com/puppy/viewtopic.php?t=63503
Confirmed your pup_event.mo works on wary-511-01q and will be containd next lang_pack_fr.

Or, replace next files by the ones extracted from the wary-511-01q.
/sbin/clean_desk_icons
/sbin/pup_event_frontend_d
/usr/sbin/eventmanager
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#12 Post by ASRI éducation »

Shinobar, thank you for these explanations/solutions.
By adding wary-511-01Q files to Lucid525, the. pup_event.mo is ok.

Together, charlie6 (I thank) proposed a slight modification in the translation.
This change is incorporated in .po/.mo proposed today, so now files are OK for the next lang_pack_fr.

My future research:
- translate the file pup_save Shinobar (I soon finished)
- understanding why the pmount of Lucid525 does not accept .mo fr

Regards,
Attachments
pup_eventFR.tar.gz
(7.94 KiB) Downloaded 845 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#13 Post by L18L »

ASRI éducation wrote:...
My future research:
...
- understanding why the pmount of Lucid525 does not accept .mo fr
...
An attempt to help you understand why...

pmount uses text files for translated text.
pmount calls them mo
why ?
Johny Cash would have sung: Call it anything but mo !

GNU gettext uses binary mo files for the translations but mo means machine object, it is binary code and created by formatting the portabe object file which is a text file.

You could give Ymount a try (and maybe correct my translation :) )

Cordialment
L

Post Reply