| Author |
Message |
vovchik

Joined: 23 Oct 2006 Posts: 1231 Location: Ukraine
|
Posted: Fri 27 Feb 2009, 09:49 Post subject:
Google translator (standalone) updated |
|
Dear Puppians,
Here is a tiny and useful utility program for those of us who work in various languages. Written my Alex Snet (http://alexsnet.ru/opensource/translator/comment-page-1/#comment-683), it accesses Google translate via its own gui, obviating the need to start a browser to access this facility. I compiled it in Puppy 3.01 with qt 4.4, but it runs fine in any qt 4.x (I checked). It should also work without problems in Puppy 4.x. Unpack the archive and place in an executable dir, such as /usr/bin, /usr/local/bin or /root/my-applications/bin.
With kind regards,
vovchik
| Description |
|

Download |
| Filename |
translator.tar.gz |
| Filesize |
71.62 KB |
| Downloaded |
472 Time(s) |
Last edited by vovchik on Sat 28 Feb 2009, 11:37; edited 1 time in total
|
|
Back to top
|
|
 |
elraven
Joined: 03 Apr 2007 Posts: 80 Location: wnc-usa
|
Posted: Fri 27 Feb 2009, 11:45 Post subject:
Google translator Subject description: awesome |
|
this is an awesome app it worked straight away in my puppy 409. it works so easily and its kind of fun too. Thanks again.
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1231 Location: Ukraine
|
Posted: Fri 27 Feb 2009, 16:03 Post subject:
|
|
Dear Puppians,
Here is an icon I created for translator. Obviously the flags are arbitrary and taken from a KDE source. If one wanted to specify country A and country B, there would be thousands of possibilities...and I am lazy.
With kind regards,
vovchik
| Description |
|
| Filesize |
74.64 KB |
| Viewed |
1380 Time(s) |

|
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1231 Location: Ukraine
|
Posted: Sat 28 Feb 2009, 07:54 Post subject:
Subject description: updated |
|
Dear Puppians,
Alex has updated translate. The pulldown language list now contains full language names and not codes. He also intends, in a future version, to provide a progress bar, needed when Google translate or your inet connection is slow. I'll be watching his site and providing updates.
With kind regards,
vovchik
PS. I removed the old binary...
Last edited by vovchik on Sun 01 Mar 2009, 06:09; edited 1 time in total
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1231 Location: Ukraine
|
Posted: Sat 28 Feb 2009, 16:18 Post subject:
|
|
Dear Puppians,
I can't seem to get the new version to work. Has anybody got it to show a translation? At best I get the same phrase returned in English with some part of speech information. I would recommend taking the old version - at the top of this post - until this problem is sorted out. I am certain it will be. I have also sent the author a collection of flags (pngs) for the languages in the list. So translate might get prettier.
With kind regards,
vovchik
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1231 Location: Ukraine
|
Posted: Sun 01 Mar 2009, 06:06 Post subject:
|
|
Dear Puppians,
As promised, Alex has fixed the error and added flags, so the app is not only functional, but pretty and it is now easy to choose languages. Here is the binary. Works in puppy 3.x and 4.x if you have qt4 installed.
With kind regards,
vovchik
| Description |
|

Download |
| Filename |
translator.tar.gz |
| Filesize |
124.64 KB |
| Downloaded |
415 Time(s) |
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1231 Location: Ukraine
|
Posted: Sun 01 Mar 2009, 07:11 Post subject:
Subject description: a screenshot |
|
Dear Puppians,
Here is a screenshot of translate on my machine.
With kind regards,
vovchik
| Description |
|
| Filesize |
33.51 KB |
| Viewed |
1296 Time(s) |

|
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sun 01 Mar 2009, 09:04 Post subject:
|
|
Hi maybe you could contact alex and ask for a gtk GUI, Really a program like this doesn't need qt, It would save a lot of extra weight for users who don't use QT or have older pc's. Well just an idea I guess, nice program, should be useful for a lot of people Nice find
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1231 Location: Ukraine
|
Posted: Sun 01 Mar 2009, 10:15 Post subject:
|
|
Dear ttuuxxx,
I think you're onto something. It should be possible to do roughly the same thing using gtkdialog3 with glade (or without) and to use curl or another such cli utility for the html POST and retrieval business. I once did something like that to retrieve weather data, and am thinking about the possibilities right now. Importantly, Alex has come up with a very nice idea - and his implementation works very nicely. If you have any more thoughts on this subject, please post them.
With kind regards,
vovchik
PS. I think Alex works on the Mac, but does do work on Debian and Windows. His use of QT allows the app to run on three platforms at once. I don't know whether he would be willing to spend a lot of time to do a GTK version, but the source is there for QT4, so the important POSTing routines are available for subsequent GTK "cannibalization".
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: Sun 01 Mar 2009, 16:33 Post subject:
|
|
vovchik
I live in Mexico now I speak both Spanish and English
*Spanish I learned as a second language living in Mexico
I also translate documents
so translating tools always are put to good use
I took a quick look at the source and the page was in Russian
so I was lost could you please list what you did to compile the source
in some standard tar.gz format
then we can help out too
thank you for posting
big_bass
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1231 Location: Ukraine
|
Posted: Sun 01 Mar 2009, 17:41 Post subject:
Subject description: source for 090301 |
|
Dear big_bass,
I am glad some people are interested in this program. I find it useful and convenient. I have asked the author to provide an option to load in the systray and a button to clean the upper window. He will oblige, and also provide a progress meter for slow connections.
In the mean time, I am attaching the source. Please have a look. Brief compiling instructions are in the INSTALL I wrote in about 10 seconds.
With kind regards,
vovchik
| Description |
|

Download |
| Filename |
translate-090301.tar.gz |
| Filesize |
148.6 KB |
| Downloaded |
390 Time(s) |
|
|
Back to top
|
|
 |
trapster

Joined: 28 Nov 2005 Posts: 1966 Location: Maine, USA
|
Posted: Sun 01 Mar 2009, 19:26 Post subject:
|
|
Well this gave me something to do this afternoon.
It was thrown together and needs a lot more.
A lot of characters do not show up correctly.
Does gtkdialog do drop down boxes?
I do not know how to show results in gtkdialog so xmessage is used instead.
Feel free to hack away.
Edit: 3/3/09
Ptranslator-0.2
Added a check for the google referer in /etc/wgetrc
Added comboboxes for the langauges.
| Description |
Puppy Language Translator
|

Download |
| Filename |
Ptranslate-0.2.pet |
| Filesize |
2.06 KB |
| Downloaded |
429 Time(s) |
_________________ trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install:Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Puppeee-1.0 AND lupu52 w/ fluxbox
Last edited by trapster on Tue 03 Mar 2009, 19:42; edited 2 times in total
|
|
Back to top
|
|
 |
trapster

Joined: 28 Nov 2005 Posts: 1966 Location: Maine, USA
|
Posted: Sun 01 Mar 2009, 19:27 Post subject:
|
|
oops....double post
_________________ trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install:Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Puppeee-1.0 AND lupu52 w/ fluxbox
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sun 01 Mar 2009, 20:02 Post subject:
|
|
[quote="trapster"]Well this gave me something to do this afternoon.
It was thrown together and needs a lot more.
A lot of characters do not show up correctly.
Does gtkdialog do drop down boxes?
/quote]
yes heres the default example
#! /bin/bash
export MAIN_DIALOG='
<vbox>
<hbox>
<text>
<label>Combobox:</label>
</text>
<combobox>
<variable>COMBOBOX</variable>
<item>First item</item>
<item>Second item</item>
<item>Third item</item>
</combobox>
</hbox>
<hbox>
<button ok></button>
<button cancel></button>
</hbox>
</vbox>
'
gtkdialog3 --program=MAIN_DIALOG
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
trapster

Joined: 28 Nov 2005 Posts: 1966 Location: Maine, USA
|
Posted: Sun 01 Mar 2009, 20:08 Post subject:
|
|
Thanks ttuuxxx.
Can the items be a list of items in a file.
ie. all the different "2 letter" languages?
_________________ trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install:Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Puppeee-1.0 AND lupu52 w/ fluxbox
|
|
Back to top
|
|
 |
|