Love this? Please consider supporting its creator by starring or sponsoring this project on GitHub!
From the project's README:
Translate with Google Translate in Alfred (en-ru / ru-en). Save to favorites. Finally, learn the words.
Alfred Translayta is an Alfred workflow, which lets you easily translate en-ru, ru-en pairs, add words to favorites and have convenient way to review and memorize them later.
- Auto translate direction
- Auto-correction of misspelled words
- Get last translation details from the cache
- Translate selected text in OS
- Add/Edit/Delete into favorites
- Switch to learning mode
- Search in normal/learning mode
- Auto save favorites to a file on disk
$ npm install --global alfred-translayta
Open Alfred and type
t or press
- to get translation:
- start typing words or phrases in english or russian
- to get previous translation from cache:
- access the favorites:
- show favorites without translations(aka "learning mode"):
- by pressing
Altbutton you can see translations of selected word
Cmd+Shift+K — to open workflow main window
Cmd+Shift+J — to open favorites list (shortcut for
Cmd+Shift+K + and entered
How it is different
There are a lot of more popular alfred workflows for translation. I really like 2 of them:
- alfred-translate — ideological inspiration (
yandex translate). The problem for me here is all
yandexservices are restricted in Ukraine. Plus some
pythonerrors after a few translations while using VPN(maybe this is just a local problem).
- alfred-polyglot — technical inspiration (
google translate). Alfred-polyglot is really cool, you can translate to any language or set default translation pair, but the translations are restricted to only 1 option and really often it was not a best fit.
The best code is no code at all
Why another solution? It was an idea to mix both solutions and to get the best features of each: auto lang. detection, multiple options for translation and of course
favorites was the main feature I needed so bad. There are plenty of difficult words for me,
which I translate over and over and still can't remember their meaning and translation. Instead, I would really like to have a place for all these words, which I could access even when my laptop is offline. So here it is!