Quick translate in launcher
A launcher provider plugin that allows you to quickly translate text directly from the Noctalia launcher.
>translate to enter translation mode# Translate to French
>translate fr Hello world
# Translate to Spanish
>translate es How are you?
# Translate to German
>translate de Good morning
The plugin supports over 100 languages. Here are some of the most popular:
European Languages:
Asian Languages:
African Languages:
You can use either the language code (e.g., fr, ja, ru) or the language name in English or French (e.g., french, japanese, russian, français, japonais, russe).
You can quickly open the translator via IPC, which is useful for keybindings:
# Toggle the translator launcher (opens with >translate )
# Pass empty string "" to use default (no language pre-selected)
qs -c noctalia-shell ipc call plugin:translator toggle "" ""
# Open translator with a specific language (e.g., French)
qs -c noctalia-shell ipc call plugin:translator toggle "fr" ""
# You can use language codes or names (fr, french, français, etc.)
qs -c noctalia-shell ipc call plugin:translator toggle "english" ""
# Open translator with text to be translated (e.g. selected text)
qs -c noctalia-shell ipc call plugin:translator toggle "english" "$(wl-paste -n -p)"
Add this to your Window Manager's keybinds configuration:
spawn
Super+T { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "plugin:translator" "toggle" "" "" }
Super+Shift+T { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "plugin:translator" "toggle" "fr" "" }
spawn-sh
Super+T { spawn-sh "qs -c noctalia-shell ipc call plugin:translator toggle \"\" \"\"" }
Super+Shift+T { spawn-sh "qs -c noctalia-shell ipc call plugin:translator toggle \"fr\" \"\"" }
bindsym Super+t exec qs -c noctalia-shell ipc call plugin:translator toggle "" ""
bindsym Super+Shift+t exec qs -c noctalia-shell ipc call plugin:translator toggle "fr" ""
"": Opens the launcher with >translate already entered, ready for you to select a language and type text to translate.>translate [language] already entered, ready for you to type text to translate to that language.>translate [language] [text] already entered, ready for you to hit the enter or to see the result (if you enabled realtime translation)