Quantcast
Channel: ProZ.com Translation Forums
Viewing all articles
Browse latest Browse all 3915

Extract and paste text in Google Translate Toolkit (AutoIt script)

$
0
0
Forum: CAT Tools Technical Help
Topic: Extract and paste text in Google Translate Toolkit (AutoIt script)
Poster: Samuel Murray

Hello everyone

I have a client who uses Google Translate Toolkit again, and there is simply no easy way to extract text from it to translate in my CAT tool. I have written a set of simple AutoIt scripts that I have been able to use for Google Translate Toolkit:

[url removed]

The first script extracts the source text from GTT by simply clicking very fast on each line (you have to click on each line yourself and the press the shortcut key, and then the script writes that line to a text file for you). The third script reads the translation from a text file one line at a time and pastes it (so, you click in the target field, and press the shortcut key). Whenever you've pasted a line, the script moves to the next line in its memory.

I haven't encountered tags yet, so the scripts don't do tags yet. You have to exit the scripts by right-clicking their icons in the systray (since both the first and the third script use the same key combination for the shortcut key).

Samuel

Viewing all articles
Browse latest Browse all 3915