Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Dec 2014, 10:23
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Puppy-desktop NLS syslem
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sat 01 Jan 2011, 08:56    Post subject:  Puppy-desktop NLS syslem
Subject description: May works on ANY Puppy-4.x/5.x.
 

he Puppy-desktop NLS(Native Language Support) syslem 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.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

Last edited by shinobar on Wed 02 Mar 2011, 21:44; edited 6 times in total
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sat 01 Jan 2011, 09:03    Post subject: Tips and traps  

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.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

Last edited by shinobar on Mon 03 Jan 2011, 00:23; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sat 01 Jan 2011, 09:22    Post subject: How to add translations  

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.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 03 Jan 2011, 00:17    Post subject: Uploaded puppy-desktop and dotpup  

Sorry, i was forgetting upload. Laughing
Today uploaded the puppy-desktop-20110101.pet here
Also dotpup_i18n-20110103.pet available at the same place.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
Bert


Joined: 30 Jun 2006
Posts: 993

PostPosted: Mon 03 Jan 2011, 09:58    Post subject: dutch  

Hi Shinobar,

Here's the Dutch Puppy-desktop.

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

Regards,
Bert
puppy-desktop.mo.tar.gz
Description 
gz

 Download 
Filename  puppy-desktop.mo.tar.gz 
Filesize  1.94 KB 
Downloaded  637 Time(s) 

_________________


Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 03 Jan 2011, 10:53    Post subject: Re: dutch  

Bert wrote:
Here's the Dutch Puppy-desktop.
First time I use Poedit...is this what you're looking for?

Ja dat is het. Smile
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.



_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 03 Jan 2011, 11:41    Post subject: puppy-desktop_NLS-20110103  

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.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
mave

Joined: 02 Apr 2009
Posts: 130
Location: Germany

PostPosted: Wed 05 Jan 2011, 05:52    Post subject:    

great, simply great, shinobar!

Thanks!

mave
Back to top
View user's profile Send private message 
mama21mama

Joined: 03 Apr 2010
Posts: 526
Location: Lincoln, Buenos Aires, Argentina

PostPosted: Wed 02 Mar 2011, 22:20    Post subject:  

lupu520-l10n-es
ES: proyecto de traducción via bazaar
EN: project of translation via bazaar
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ASRI éducation


Joined: 09 May 2009
Posts: 2644
Location: France

PostPosted: Tue 12 Apr 2011, 19:47    Post subject: pup_event FR  

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?
pupeventFR.tar.gz
Description  /usr/share/doc/nls/pup_event/fr.po and /usr/share/locale/fr/LC_MESSAGES/pup_event.mo
gz

 Download 
Filename  pupeventFR.tar.gz 
Filesize  7.94 KB 
Downloaded  484 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Tue 12 Apr 2011, 21:27    Post subject: Re: pup_event FR  

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

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
ASRI éducation


Joined: 09 May 2009
Posts: 2644
Location: France

PostPosted: Thu 14 Apr 2011, 15:00    Post subject:  

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,
pup_eventFR.tar.gz
Description 
gz

 Download 
Filename  pup_eventFR.tar.gz 
Filesize  7.94 KB 
Downloaded  528 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2610
Location: www.eussenheim.de/

PostPosted: Sun 07 Aug 2011, 14:36    Post subject:
Subject description: ymount
 

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 Smile )

Cordialment
L
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0776s ][ Queries: 13 (0.0071s) ][ GZIP on ]