need help for greek translation

For efforts in internationalising Puppy and solving problems in this area
Post Reply
Message
Author
The Hamsters
Posts: 40
Joined: Sun 17 Feb 2008, 19:36
Location: Greece
Contact:

need help for greek translation

#1 Post by The Hamsters »

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).
[url=http://hamster.tuxhost.gr/][img]http://hamster.tuxhost.gr/images/team.jpg[/img][/url]

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#2 Post by HairyWill »

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: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

The Hamsters
Posts: 40
Joined: Sun 17 Feb 2008, 19:36
Location: Greece
Contact:

#3 Post by The Hamsters »

yessssssss!!!!

i change the line

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

with

gxmessage "Puppel Π
[url=http://hamster.tuxhost.gr/][img]http://hamster.tuxhost.gr/images/team.jpg[/img][/url]

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#4 Post by HairyWill »

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: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

The Hamsters
Posts: 40
Joined: Sun 17 Feb 2008, 19:36
Location: Greece
Contact:

#5 Post by The Hamsters »

how it works?

is a new script?
[url=http://hamster.tuxhost.gr/][img]http://hamster.tuxhost.gr/images/team.jpg[/img][/url]

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#6 Post by HairyWill »

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: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

The Hamsters
Posts: 40
Joined: Sun 17 Feb 2008, 19:36
Location: Greece
Contact:

#7 Post by The Hamsters »

ok. it works.
thanks again :D
[url=http://hamster.tuxhost.gr/][img]http://hamster.tuxhost.gr/images/team.jpg[/img][/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

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

Code: Select all

#!/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
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

The Hamsters
Posts: 40
Joined: Sun 17 Feb 2008, 19:36
Location: Greece
Contact:

#9 Post by The Hamsters »

:D :D
[url=http://hamster.tuxhost.gr/][img]http://hamster.tuxhost.gr/images/team.jpg[/img][/url]

Post Reply