Skip to content

vyakovlev/alfred-ya.translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Yandex Translator workflow for Alfred

Yet another Ya.Translator (aka Yandex.Translator) will help you to quickly translate to/from your native/desired language. Input language detection is automatic.

Workflow can be set up to use any language pair (e.g. Italian/French). English/Russian is set by default.

You can either translate a single word, e.g. "desire", or a sentence, e.g. "isn't it a great day?".

You can either trigger workflow by t and query (e.g. t hello, world) or use a shortcut to translate selection (see below).

Example:

Query

translates into the following and gets copied into clipboard

Translation

Installation

Make sure you have Alfred Powerpack to import this workflow.

Download the workflow

Import to Alfred

import

Set up APIKEY (you can get a free APIKEY from Yandex at https://tech.yandex.com/key/form.xml?service=trnsl): under [X] button on upper right corner in Alfred Workflow:

setup-apikey

You can also choose a hotkey to translate text selection:

setup-shortcut

Advanced configuration of languages key-pairs

Open Python script and change two variables, then save:

advanced

Hooray!

You are done! Enjoy and don't hesitate to react me at i@vyakovlev.com in case of any difficulties.

P.S. I was inspired by Michael Danilov and his workflow.

Licenses and agreements

MIT, 2017 Vladimir Yakovlev

Terms of Use of API Yandex.Translate Service and Yandex.Translate logo © Yandex

About

Yandex.Translator Alfred workflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages