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 Mon 22 Sep 2014, 08:29
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 Posts_count_1  
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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0370s ][ Queries: 11 (0.0033s) ][ GZIP on ]