A way to translate tiddler content by leveraging Google translate-- button 
opens Google Translate in a separate window prefilled with instructions 
that can be translated -- to instruct fo simply paste (control-V) which 
will insert the tiddler's text (which was loaded into clipboard by the 
translate button) so the tiddler's text can be translated quickly and 
easily in 3 steps-- click button, select language to translate to, read 
translated instruction and paste which will translate the tiddlers 
contents.  A macro is planned

*The copy to clipboard param can also be a macro with the text to translate 
if you only wish to translate a portion of the tiddlers text*

<$button message="tm-copy-to-clipboard" param={{!!text}} tooltip='Use 
Google Translate to translate tiddler and instructions'>
<$action-sendmessage $message="tm-open-external-window" 
$param="https://www.google.com/search?&q=translate%3A+%22paste+%28control-V%29+to+insert+instructions%22&oq=translate%3A+%22paste+%28control-V%29+to+insert+instructions%22
" windowName="_translate" windowFeatures="height=400, width=600"/>
TRANSLATE en-US > {{$:/info/browser/language}}
</$button>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/46fefdd2-b8c6-4804-a2e5-8d6425f653e8%40googlegroups.com.

Reply via email to