tool to translate the Desktop Icons
Posted: Thu 22 Nov 2007, 19:07
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/Deskto ... te-rox.pup
Mark
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/Deskto ... te-rox.pup
Mark