Git Product home page Git Product logo

arvis-google-translate's Introduction

arvis-google-translate

NPM

JetBrains' support

jetbrain

Installation

To use this workflow you must also install the arvis-language-configuration workflow, and configure the language pair. See that README for instructions.

  • Voice feature not supported yet.

With NPM

  • Install with npm install -g arvis-google-translate.

Usage

arvis workflow Keyword: tr [word or sentence] Example: tr kitchen sink or tr Hello, my name is arvis

When translating a word you will see the translation as well as alternate translations if available.

With the first two results (which are the input word and the translation) you can…

  • press enter to read the item.
  • press cmd+C to copy the item.
  • press shift open the translate website.
  • press cmd+L to show the translation in large text.

The workflow will attempt to correct spelling mistakes which can be accepted with enter.

🔗 This workflow is converted from alfred-workflow.

  • Note that there might be some code change or different actions from the original workflow.

  • Marked original workflow's creator to author.

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 arvis-translate-history.
a value of 0 will keep no history
socks_proxy - not turned by default. you can specify local or remote socks proxy. format: socks://{host}:{port} example: local shadowsocks proxy 'socks://127.0.0.1:1086'

Screenshots

corrected.png

  • press enter to read or cmd+C to copy

    general.png

  • press shift to open the translation website

    quicklook.png

  • press cmd+L to show the translation in large text like this.

License

MIT ©

arvis-google-translate's People

Contributors

imgbot[bot] avatar jopemachine avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.