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

1.0.2 • Public • Published

@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.

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

name default value description
domain https://translate.google.com if you cannot access the default domain, you can config this.
大陆访问不了默认域名,所以如果使用2.x版本需要将这个变量设置为https://translate.google.cn. 或者还是使用1.x版本
voice remote avaliable values:
remote: fetch voice from google,
local: use macOS local voice (notice: maybe only works on English),
none: dont use voice
save_count 20 limit 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.

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

5

Version

1.0.2

License

MIT

Unpacked Size

208 kB

Total Files

17

Last publish

Collaborators

  • val.istar.g
  • val.istar.guo