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 Thu 30 Oct 2014, 10:54
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 Posts_count  
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_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_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_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_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_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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
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.0527s ][ Queries: 11 (0.0031s) ][ GZIP on ]