cloudi is a convenient online dictionary for command-line users.
It can translate between English and Chinese
When you query a word for the first time cloudi will save the result so there is no need for Internet connection if you query it again.
pip install cloudi
or you should know what to do with install.sh
The following command query the word 'hello':
Chinese are the same:
phrases are the same, for instance 'Thanksgiving Day':
d Thanksgiving Day
d "Thanksgiving Day"
If you do not specify what to query, Cloudi will get a word from your "clipboard". In this case, all you need is:
· xsel is needed for "clipboard" access