app lang switcher alfred workflow
Launch App in selected language, or set as Default language.
Credits: This is a swift clone of AlfredWorkflow-App-Language-Switcher by mpco. Due to the latest release of macOS 12.3, python2 has been removed, which broke the original workflow. So I reimplemented this workflow in Swift.
- you should have unlocked Powerpack in Alfred
- make sure you have
swiftavailable in terminal.(If you have
Xcodeinstalled, you can skip this step.):
swift --versionin terminal, if you don’t see any version info output, following next step to install it.
xcode-select --installin terminal to install swift cli tools
download workflow then click the downloaded file to install
- choose a app in alfred
→to enter file action menu
languageto enter language selection menu
- search languages with their names, select a language then press
↵to select language and launch the app. (you may also press
enterto set the selected language as default language)
Contributions and Support
I’m new to swift, feel free to make a pull request if you are willing to improve the code quality or its functions.