alfred-polyglot icon indicating copy to clipboard operation
alfred-polyglot copied to clipboard

doesn't work when 'to' is a part of string to translate

Open dmytronazarko opened this issue 5 years ago • 2 comments

image

dmytronazarko avatar Dec 05 '19 14:12 dmytronazarko

You can use "" or '' to work around this issue. Since to is also the keyword for the destination language it may not be that easy to figure out if it's that or a word in the text.

chrisspiegl avatar Dec 29 '21 08:12 chrisspiegl

Quotes didn't work for me. You could also modify the keywords in translate.js so instead of "from" and "to" to something like "<-" and "->". So the command now would be: "tr back to school <- en -> ru".

iggyzuk avatar Jun 01 '22 12:06 iggyzuk