Just to let everyone know, the workflow still works flawlessly after a small and easy-to-execute tweak, which you can find by scrolling down this issue request from the original github page of the workflow: https://github.com/mr-pennyworth/alfred-better-dictionaries/issues/15
Here is also a copy-paste of the instructions:
STEP 1: install python2, see https://www.alfredapp.com/help/kb/python-2-monterey/ (and https://www.alfredapp.com/blog/guides-and-tutorials/python-2-workflows-on-macos-monterey-12-3/
Then follow these instructions:
In this step, you need add export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}" to the dictionaries' scripts.
To find the file you need to modify, follow these steps:
Then go to Contents - Resources - scripts
Then open alfred-extra-pane and alfred.py with TextEdit.app, add #!/usr/bin/env python at the top.
Note:
If you encounter any error popups saying "Open Console" or "Terminate", just tap "Open Console" and repeat the step again.
In the whole process you may need to go to 'System Preference - Security & Privacy - General' and 'System Preference - Security & Privacy - Privacy - Accessibility` for authorization several times.
Doesn't take many minutes and it works instantly.