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 22 Aug 2014, 23:59
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
tool to translate the Desktop Icons
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Thu 22 Nov 2007, 15:07    Post subject:  tool to translate the Desktop Icons  

This program translates the words under the icons of your Desktop (Rox-Filer Pin) when you start X.


Create a file "Translate-rox.mo" containing words, that shall replace the words from
/root/Choices/ROX-Filer/PuppyPin

This file must be in the locale folder of your country, for german (de) this is:
/usr/share/locale/de/LC_MESSAGES/Translate-rox.mo

Use this file as a template for your own language.

Every translation consists of 2 lines:
x+=1:titles[x]="Help"
x+=1:titles[x]="Hilfe"

So the first has the original word, and the second the translation.
It is extremely important not to forget a character like the ".
Or the translation will not work.

Then edit /root/.xinitrc to start the translator every time you start X.

Search the line:

rox -p /root/Choices/ROX-Filer/PuppyPin

Before that, add:
/usr/local/Translate-rox/translate-rox

So you have:
/usr/local/Translate-rox/translate-rox
rox -p /root/Choices/ROX-Filer/PuppyPin

Then restart X.

Translate-rox, (c) Mark Ulrich, nov. 2007, License: GPL3 or later.

Download (10 kb):

http://dotpups.de/puppy3/dotpups/Desktop-Tools/Translate-rox.pup

Mark
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0360s ][ Queries: 11 (0.0024s) ][ GZIP on ]