[texworks] Script: Get Translation in Tw Editor - Experimental

Paul A Norman paul.a.norman at gmail.com
Thu Feb 17 07:08:41 CET 2011


Hi,

Currently Windows Only. Useful for initial translation in TeXworks of
small portions needed on the fly.

(  More details, and Available on:-
http://twscript.paulanorman.com/downloads/?GetTrans  )

Usage: Highlight a block of text, a few small paragraphs or one big one.
       Run Script, choose languages (these will be remembered for current
       Tw editing session).
       Maximum of 1500 characters at a time will be processed
        - will be clearly marked in results.
       Result is slightly preprocessed for LaTeX requirements.
       (Google's total daily combined limit for all TeXworks users of
this Script
       is presently 100,000 characters - on days that this is exceeded,
       script wont work).

Gives a Scripting example of using TW.script.xxxGlobal(s) with JSON,
and TW.system(). Utilises the Google Translation Api.

http://code.google.com/p/texworks/issues/detail?id=261#c55

More details, and Available on:-
http://twscript.paulanorman.com/downloads/?GetTrans

Paul


More information about the texworks mailing list