kagi.el now has the kagi-translate
command, a versatile command to translate text to another language using #Kagi #FastGPT
With kagi-translate
you can:
- translate simple words from the minibuffer
- translate the region
- translate a whole buffer
- use it as a function to translate text from #elisp
- Not limited to spoken languages, you can convert a code buffer to another programming language (see demo below).
https://asciinema.org/a/633592
Should come to MELPA soon on the next build, or if you can’t wait clone from the git repo at:
https://codeberg.org/bram85/kagi.el
As with all other kagi.el functionality, please check the project’s README on how to get your API token, if you haven’t done so already.
#emacs