alexanderwillner / deepl-alfred-workflow2 Goto Github PK
View Code? Open in Web Editor NEWDeepL Alfred Workflow
DeepL Alfred Workflow
related workflow https://github.com/maqic/alfred-deeplx
Thank you, this works perfectly :)
It kept giving me translations into German only - but I fixed this by deleting the other languages and just leaving the ones I want (EN & ES). I rely on this workflow a lot, so happy you found a fix!
Chinese Period 。
is different from English .
.
Would you please set dot as variable so we can customize it?
Thank you very much! 🥰
Is there an easy way to show the translation below the input field instead of the large type?
I'm on macOS Ventura.
Workflow is installed without API key.
If I start to write dl
, DeepL logo is in Alfreds search results.
But if I continue typing and end query with .
DeepL is gone from the Alfred results and Chrome is the only option. Why?
[22:08:43.447] Deepl-Translate[Script Filter] Queuing argument 'guten '
[22:08:43.493] Deepl-Translate[Script Filter] Script with argv '(null)' finished
[22:08:43.494] ERROR: Deepl-Translate[Script Filter] Code 1: {"items": [{"uid": null,"arg": "End query with .","valid": "yes","autocomplete": "autocomplete","title": "End query with ."}]}
[22:08:44.455] Deepl-Translate[Script Filter] Queuing argument 'guten tan'
[22:08:44.500] Deepl-Translate[Script Filter] Script with argv '(null)' finished
[22:08:44.501] ERROR: Deepl-Translate[Script Filter] Code 1: {"items": [{"uid": null,"arg": "End query with .","valid": "yes","autocomplete": "autocomplete","title": "End query with ."}]}
[22:08:45.664] Deepl-Translate[Script Filter] Queuing argument 'guten tag.'
[22:08:45.913] Deepl-Translate[Script Filter] Script with argv '(null)' finished
[22:08:45.913] ERROR: Deepl-Translate[Script Filter] Code 126: ./deepl.sh: line 105: /Volumes/Users/manny/.config/alfred/Alfred.alfredpreferences/workflows/user.workflow.0F46EDD3-0C5A-4FE4-8288-E974D1C0D9EC/jq-dist: Bad CPU type in executable
Hey there,
first of all, thank you for maintaining this. It works fine if I stick to the preconfigured languages.
However, I've run into an issue with "打掛" - which translates fine if I use the website:
I've tried to poke at the shell script a little, but haven't been able to get it working. Presumably, it's an encoding problem. Could you look into it at some point?
Thank you!
See the video below.
Steps to reproduce:
dl this is a test
dit is een tes
instead of dit is een test
dl this is a test.
dit is een test
instead of dit is een test.
Hi!
Thank you for this workflow.
My problem. Fresh install. Only copied the DeepL API key.
If I type "nein" just to test, nothing comes up. Same with all words.
I get this error in the debugger.
Deepl-Translate[Script Filter] Queuing argument 'nein'
Deepl-Translate[Script Filter] Script with argv '(null)' finished
Thanks in advance.
See line:
deepl-alfred-workflow2/deepl.sh
Line 63 in 5510646
We should use more variable to define also the source language.
Hi there,
Thanks so much for offer this workflow which would simply language translation with Alfred.
But I did't know how to make it translate English into Chines? As Readme indicated, I should set $DEEPL_TARGET variable when import the workflow for the first time, I also noticed this workflow seemed to be based on https://github.com/m9dfukc/deepl-alfred-workflow, but Chinese language seemed not among the list: de, en, fr, es, it, nl, pl
Could you help add this option, thank you so much!
I do not want to give a random bash script silent auto-update permissions on my computer. Huge security issue. I'd rather you just notified me when there's an update.
Here is the debug message in the Alfred console debugger that is received for any query:
Code 127: [redacted]/deepl.sh: line 96: ./jq-dist: No such file or directory
Is there something missing?
After upgrading to Catalina, I seem to have a problem using this workflow. I don't get any result if I type
dl This is just an example.
But after a few seconds, I get the option to use Google Search for the whole query.
macOS Catalina 10.15
Alfred 4.0.4
DeepL workflow v1.16
After first successful translation I am receiving Error:Too many requests.
Thanks for the nice work. One question, I have a Deepl pro account, but where do I put the API key?
I've checked my API key several times, it's the same one I've always used until my previous DeepL workflow started returning errors. This one was recently updated so I was hoping to jump to using it. However, all it does is keep returning "Error: Invalid API Key".
I'm on an M2 Pro MacBook Pro, if that makes a difference, running it on Alfred 5. Any ideas possibly on why this is happening? Thank you!
Tried dl Bonjour.
or dlfr Hello.
but no result appear.
Log:
[10:47:16.865] Logging Started...
[10:47:24.796] Deepl-Translate[Script Filter] Queuing argument 'Bonjour.'
[10:47:28.262] Deepl-Translate[Script Filter] Script with argv '(null)' finished
Thank you!
I don't have any result from the "dl xxx." or "dlfr xxx." When I write something it tells to add the dot but then it shows nothing.
I'm on Catalina 10.15.7.
Maybe I'm missing something.
Das Script meldet folgenden Fehler: gunzip: unknown compression format
curl: 7.43.0
jq: 1.6
Scheint ein API-Problem zu sein.
In Ref: m9dfukc/deepl-alfred-workflow#14 (comment)
The workflow doesn't seem to work when translating from Spanish to English. Do I need to configure something for this specific case? Since the default language is EN I didn't change anything in the configuration.
Thanks for your workflow!
I submit your Alfred Workflow to Alfred Gallery.
https://www.alfredforum.com/topic/19070-deepl-alfred-workflow2/
Vitor(Alfred forum moderator) suggests using User Configuration instead of Workflow Environment Variables.
Would you work on the change? Thank you very much.
Hello, would you kindly consider adding the feature to configure the target language with each command? For example:
dl es Hello
(Translate from default source language to Spanish.)
dl fr>es Hello
(Translate from French to Spanish.)
This would be very useful for users like myself who regularly translate to more than one target language.
Incidentally, what is "preferred languages" in the configuration? I haven't seen this documented anywhere.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.