1.0.2 • Published 3 years ago

@val-istar-guo/alfred-google-translate v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@val-istar-guo/alfred-google-translate

version downloads license dependencies

Alfred google translate workflow. Inspired by alfred-google-translate.

Install

npm install -g @val-istar-guo/alfred-google-translate

Usage

Before using this workflow, You must config the language pair. see alfred-language-configuration.

npm.io

Operation of the items

  • press enter to copy the item.
  • press alt + enter to read the item.
  • press shift + enter to open the translate website at your browser.
  • press cmd + L to see the full content.

Environment Variables

namedefault valuedescription
domainhttps://translate.google.comif you cannot access the default domain, you can config this. 大陆访问不了默认域名,所以如果使用2.x版本需要将这个变量设置为https://translate.google.cn. 或者还是使用1.x版本
voiceremoteavaliable values: remote: fetch voice from google, local: use macOS local voice (notice: maybe only works on English),none: dont use voice
save_count20limit the translation history, see alfred-translate-history. a value of 0 will keep no history

Sponsor

Support code development on patron.

patron

Contributing & Development

If there is any doubt, it is very welcome to discuss the issue together. Please read Contributor Covenant Code of Conduct and CONTRIBUTING.

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago