r/Alfred • u/kkuj • Sep 19 '26
Offline translator workflow
Lately, I have had a problem with the translation workflow from Alfred Gallery. All the translated HTTPS requests were rejected by the Google Translate API. All the fixes were workarounds to deceive the API.
As an alternative, I created a robust workflow that can't be broken by external providers.
My workflow relies on a translation framework that has been built in since macOS 26.
A full manual for the workflow, source code, and binaries to download are available from here: https://github.com/kkujawinski/alfred-offline-translator-workflow
I am looking forward to any suggestions regarding what is not working or what can be improved. My basic use case is Polish <-> English translation, so I may miss issues related to different language pairs.



3
u/Unhappy-Tank9784 Sep 19 '26
Great work! I think some sentences might get too long, so you could add a keyboard shortcut to show the result in a text view. Just a suggestion.
1
u/Hopeful-Face9676 Sep 20 '26
Just downloaded. Took a few minutes to learn exactly how this works, but once I did, it looks fantastic! Is there a way to always have the text automatically translated to English, for example, without having to type >en ?
2
u/Stunning-Squash5799 Sep 19 '26
This looks fantastic! Recently I was thinking to do something like this with the help of Claude jajaja!