Search the web
Sign In
New User? Sign Up
OmegaT · Free Computer Assisted Translation
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
OmegaT and GoogleTranslate   Message List  
Reply | Forward Message #9628 of 16115 |
Re: [OmT] OmegaT and GoogleTranslate

I believe one requirement to use Ondiloto is to have the Tcl/Tk
package. So I went ahead and installed it on my Mac using the binary
distributions at http://www.tcl.tk/software/tcltk/

Now I still need to find out how to compile/install the ondiloto.tcl
script you wrote. Am I on the right track?

Claudio

--- In OmegaT@yahoogroups.com, "Claudio Chagas" <aviatorone@...> wrote:
>
> Hi Marc,
>
> I've downloaded Ondiloto from the Other OmegaT resources section on
> OmegaT website, but I have not tried it before and, frankly I have no
> idea how that should work in conjunction with OmegaT + Mac using
> information from GoogleTranslate.
>
> I'm not a command line expert either. From your Readme file I got the
> impression that there's a way to create a shortcut to bring Ondiloto
> up from within OmegaT, but there's not specific instruction on
> how to do that using Terminal on a Mac. If you have further
> instructions for my system I'd appreciate them. - Claudio
>
> --- In OmegaT@yahoogroups.com, Marc Prior <mail@> wrote:
> >
> > Claudio,
> >
> > I (and others) have already considered the possibility of using
> > information from OmegaT, such as a highlighted term or the content of
> > the current segment, for external queries. This was also one
reason why
> > I wrote Ondiloto. Have you tried it? It could probably be adapted
quite
> > easily for GoogleTranslate queries.
> >
> > Marc
> >
> >
> > Claudio Chagas schrieb:
> > > Hello,
> > > I'm not a programmer, just an enthusiastic OmegaT + Mac user,
and the
> > > reason I joined this group was to suggest that programmers find some
> > > creative ways to integrate OmegaT and GoogleTranslate; e.g. create a
> > > new window to display Google translation for each segment along with
> > > fussy matches and glossary terms on the right windows. I think that
> > > would be a great feature to be considered, especially for those who
> > > work online, which nowadays is the great majority of
translators. It's
> > > not that GoogleTranslate will replace a human, but it's just another
> > > resource to aid translation and increase productivity, if used in a
> > > knowledgeable way. Moreover, GoogleTranslate is becoming better with
> > > time, especially after they allowed translators to contribute with
> > > better translations for future updates of their system. The trend is
> > > that it will continue to improve. So why not think about an
> > > integration between OmegaT and GoogleTranslate and take advantage of
> > > Google's ever growing TM base?
> > >
> > >
> > >
> > >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > IRC channel: irc://irc.freenode.net/omegat
> > > For bug reports, feature requests, OmegaT test versions etc...
> > > Go to: http://sourceforge.net/projects/omegat/
> > > To localize OmegaT to your language, or proofread existing
> translations,
> > > read: http://www.omegat.org/omegat/omegat_en/translation-info.html
> > > If OmegaT makes you richer than you need, check the Pine Ridge
> Reservation's
> > > charities for a donation:
> http://www.friendsofpineridgereservation.org/
> > >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> >
>





Sat Feb 23, 2008 6:59 pm

uk_claudc
Offline Offline
Send Email Send Email

Forward
Message #9628 of 16115 |
Expand Messages Author Sort by Date

Hi Marc, I've downloaded Ondiloto from the Other OmegaT resources section on OmegaT website, but I have not tried it before and, frankly I have no idea how...
Claudio Chagas
uk_claudc
Offline Send Email
Feb 23, 2008
5:54 pm

I believe one requirement to use Ondiloto is to have the Tcl/Tk package. So I went ahead and installed it on my Mac using the binary distributions at...
Claudio Chagas
uk_claudc
Offline Send Email
Feb 23, 2008
6:59 pm

Hi Claudio, See my previous message. Tcl/Tk should not be a problem on a Mac. You also need w3m. However, it may be possible to use alternative Internet...
Marc Prior
lin4trans
Offline Send Email
Feb 23, 2008
7:12 pm

... w3m is available on Macs. Either through Fink or MacPort, or through a source build. http://mac4translators.blogspot.com/2007/12/fink-mac-ports.html ...
Jean-Christophe Helary
jc_helary
Offline Send Email
Feb 24, 2008
5:37 am

JC, What about the primary selection? Is that available on the Mac? Marc...
Marc Prior
lin4trans
Offline Send Email
Feb 24, 2008
8:06 am

... Generally not. There are "services" that process selected text but the OS does not do that by default. Jean-Christophe Helary ... ...
Jean-Christophe Helary
jc_helary
Offline Send Email
Feb 24, 2008
8:12 am

... Is it possible to call such a service from a script (Applescript, or whatever you Mac guys use) which is launched by a user-configurable keyboard shortcut?...
Marc Prior
lin4trans
Offline Send Email
Feb 24, 2008
8:22 am

... It is possible to create system wide services that are accessed by keyboard shortcuts (when the shortcut does not conflict with one of the frontmost...
Jean-Christophe Helary
jc_helary
Offline Send Email
Feb 24, 2008
8:29 am

... It's a little script, on it's own, so doesn't require compilation. But, hey, now you have the latest Tcl installed, you can run TransProCalc and tell me...
anthony baldwin
photodharma
Offline Send Email
Feb 24, 2008
1:51 am

Ah, you're using a Mac. It might still be possible to get Ondiloto to work, but there are several hurdles. For example, does w3m exist on the Mac? You also...
Marc Prior
lin4trans
Offline Send Email
Feb 23, 2008
7:06 pm

... See, this is why I think a gui congifuration tool for ondiloto would be useful. People who don't hack or use a command line are lost on how to use it. ...
anthony baldwin
photodharma
Offline Send Email
Feb 24, 2008
1:49 am

... No objections from me to a gui configuration tool for ondiloto. It will probably just double the amount of code, that's all. ;-) Yes, if you want to add...
Marc Prior
lin4trans
Offline Send Email
Feb 24, 2008
7:35 am

... I certainly wouldn't tackle writing my own browser...yet. I found Hv3, BrowseX, and, probably most practical, just the tkhtml widget. BrowseX is buggy,...
anthony baldwin
photodharma
Offline Send Email
Feb 24, 2008
8:18 am

... You don't need a browser. You need an http client. ... Hv3 and BrowseX are browsers. The tkhtml widget is just an HTML rendering engine. ... I agree, Hv3...
Marc Prior
lin4trans
Offline Send Email
Feb 24, 2008
11:12 am

... ... http is supplied with the Tcl/Tk package. Usage is explained in Welch's book in terms that even I can understand. :-) e.g. require package http ...
Marc Prior
lin4trans
Offline Send Email
Feb 24, 2008
12:10 pm

... Ha...that was easy... I did: #!/usr/bin/wish package require http http::config set token [http::geturl http://www.omegat.org/en/resources.html] upvar #0...
anthony baldwin
photodharma
Offline Send Email
Feb 24, 2008
5:43 pm

... (...) ... Yeah, that's what http does - unlike w3m. ... The way I see it is this: I send a query to an online dictionary, and I'm only interested one or...
Marc Prior
lin4trans
Offline Send Email
Feb 24, 2008
6:09 pm

... Just playing with the above, still, I did: #!/usr/bin/wish package require http http::config set token [http::geturl...
anthony baldwin
photodharma
Offline Send Email
Feb 24, 2008
5:59 pm

... Again, this is a matter of approach. I wanted to be able to kill the app *without* taking my hands of the keyboard, hence the bind to the <Esc> button,...
Marc Prior
lin4trans
Offline Send Email
Feb 24, 2008
6:12 pm

... I know...I hate to have to play with the mouse sometimes, too, preferring to work from the keyboard. Now, #!/usr/bin/wish package require http http::config...
anthony baldwin
photodharma
Offline Send Email
Feb 24, 2008
7:41 pm

... I assume you say my post about the T-Dict (Tcl Dictionary) thing I made yesterday. It doesn't have much to do with what I was trying to add to Ondiloto,...
anthony baldwin
photodharma
Offline Send Email
Feb 25, 2008
5:31 pm

... See? This is how much of an expert I am...I'm kind of fuzzy on the difference here. ... I was thinking about trying to find the parts of Hv3 or BrowseX...
anthony baldwin
photodharma
Offline Send Email
Feb 24, 2008
5:17 pm

... An http client just goes onto the 'net and delivers info back. An html rendering engine takes html code (from any source) and displays it nicely. And a...
Marc Prior
lin4trans
Offline Send Email
Feb 24, 2008
5:58 pm

... Yah, the http function is grabbing it, but not rendering it in "human readable" format in the textbox. You see all the html code, not just the relevant...
anthony baldwin
photodharma
Offline Send Email
Feb 24, 2008
6:45 pm

... A cool thing would be to make Ondiloto more configurable to the average user. I think I could look into giving it more a configuration interface,...
anthony baldwin
photodharma
Offline Send Email
Feb 24, 2008
1:46 am

... It's GPL, Tony. Do what you like with the script. :-) Marc...
Marc Prior
lin4trans
Offline Send Email
Feb 24, 2008
7:29 am

... What would be really super would be if OmegaT could send its previous, current and next segment to three text files every time the user moves to the next...
Samuel Murray
lacialacia
Offline Send Email
Feb 23, 2008
7:25 pm

Yes, that would be splendid... as long as the OmegaT doesn't get too cluttered with features that would damage that clean interface, which is one thing I like...
Claudio Chagas
uk_claudc
Offline Send Email
Feb 23, 2008
7:45 pm

Claudio, What Samuel is talking about is a facility that would automatically, or in response to a user action, output information from OmegaT, such as the...
Marc Prior
lin4trans
Offline Send Email
Feb 24, 2008
8:45 am

... Yes. Windows scripters have a slight advantage in that the operating system allows keystrokes to be sent directly to a program and information to be...
Samuel Murray
lacialacia
Offline Send Email
Feb 24, 2008
9:43 am
 First  |  |  Next > Last 
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help