#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Fri, 10 Jan 2020 18:57:23 +0100
changeset 6791 ebd5551c19ce
parent 6790 886523f1233c
child 6792 b73cd9a466eb
#FEATURE by cg class: EditTextView changed: #googleTranslate:
EditTextView.st
--- a/EditTextView.st	Fri Jan 10 18:53:18 2020 +0100
+++ b/EditTextView.st	Fri Jan 10 18:57:23 2020 +0100
@@ -7486,7 +7486,7 @@
 
     self withWaitCursorDo:[
         url := 'http://translate.googleapis.com/translate_a/single?client=gtx&sl=%1&tl=%2&dt=t&ie=UTF-8&oe=UTF-8&q=%3' 
-                bindWith:sourceLang with:targetLang with:original utf8Encoded.
+                bindWith:sourceLang with:targetLang with:(HTMLUtilities urlEncoded:(original utf8Encoded)).
         response := HTTPInterface get:url.
 
         "/ url := 'http://translation.googleapis.com/language/v2'.