Bashmug / betty

Friendly English-like interface for your command line. Don't remember a command? Ask Betty.
8 stars 9 forks source link

Improve translation method #17

Open xeon-zolt opened 7 years ago

xeon-zolt commented 7 years ago

when translation is used in betty it responds and open google improve it so that it can display answer in terminal only

 betty translate hello from English to French
betty: Running xdg-open https://translate.google.com/#English/French/hello
Created new window in existing browser session.
athityakumar commented 7 years ago

@xeon-zolt : Web scraping - mechanize gem / library on ruby / python can be useful.

athityakumar commented 7 years ago

However, for languages with non-English alphabets, displaying the result on the terminal would be an issue, due to UTF encoding not being supported.