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 Tue 23 Sep 2014, 16:28
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
need help for greek translation
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
The Hamsters

Joined: 17 Feb 2008
Posts: 40
Location: Greece

PostPosted: Wed 03 Dec 2008, 14:51    Post subject:  need help for greek translation  

sorry for my english.

we want a greek puppy. (puppel).

we have two problems.

(with el_GR.utf8).


1. in rxvt we dont have greece. with sakura is all ok, so we have it.

but the other problem is important.

In scripts (pmount, etc) there are orange windows, with messages (Puppy Drive Mounter, please wait....).

if we translate it, do not appear Greek, but as symbols. (only the text in orange windows).

_________________

Back to top
View user's profile Send private message Visit poster's website 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Wed 03 Dec 2008, 15:36    Post subject:  

The messages are being displayed by yaf-splash.
I think that MU reported problems with yaf-splash and internationalisation.
have a look at muppy, I think he replaced the yaf-splash binary with a shell script wrapper that called gxmessage instead.

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
The Hamsters

Joined: 17 Feb 2008
Posts: 40
Location: Greece

PostPosted: Wed 03 Dec 2008, 16:17    Post subject:  

yessssssss!!!!

i change the line

yaf-splash -font "8x16" -outline 0 -margin 4 -bg orange -text "Puppy Drive Mounter

with

gxmessage "Puppel Προσάρτηση Συσκευών



and.... is ok Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy

we will test it (if the scripts works)


thaaaanks Very Happy

_________________

Back to top
View user's profile Send private message Visit poster's website 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Wed 03 Dec 2008, 17:00    Post subject:  

I found mark's post
here is the full script to replace yaf-splash
http://www.murga-linux.com/puppy/viewtopic.php?t=25536

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
The Hamsters

Joined: 17 Feb 2008
Posts: 40
Location: Greece

PostPosted: Wed 03 Dec 2008, 17:53    Post subject:  

how it works?

is a new script?

_________________

Back to top
View user's profile Send private message Visit poster's website 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Wed 03 Dec 2008, 18:47    Post subject:  

yes it is a script
delete the existing /usr/X11R7/bin/yaf-splash
and replace it with the script named
yaf-splash
now your replacement will get called automatically

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
The Hamsters

Joined: 17 Feb 2008
Posts: 40
Location: Greece

PostPosted: Thu 04 Dec 2008, 12:42    Post subject:  

ok. it works.
thanks again Very Happy

_________________

Back to top
View user's profile Send private message Visit poster's website 
MU


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

PostPosted: Thu 04 Dec 2008, 12:53    Post subject:  

here is the replacement I used in Muppy:
/usr/X11R7/bin/yaf-splash

Code:
#!/bin/bash

XMESSAGE="gxmessage -encoding UTF-8"

text=`echo $@ | sed -e "s/.*-text \(.*\)/\1/"`
#echo "$text"

a=`echo $@ | sed -e "s/-bg pale /-bg /" -e "s/-placement [^ ]* //" -e "s/-outline [^ ]* //" -e "s/-margin [^ ]* //" -e "s/-text .*//"`

#echo $a

exec $XMESSAGE -center -buttons "" -borderless $a "$text"


I am not certain, that it works with every option for yaf-splash used in Puppy, but in most cases it seems to work.

You can search for options used in Puppy like this:
cd /usr/sbin
grep -n yaf-splash *



Mark

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
The Hamsters

Joined: 17 Feb 2008
Posts: 40
Location: Greece

PostPosted: Thu 04 Dec 2008, 13:35    Post subject:  

Very Happy Very Happy
_________________

Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 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.0531s ][ Queries: 12 (0.0036s) ][ GZIP on ]