I use daily this extension in Firefox (it is available for Chrome too), and I love the way I can select text and click on the little icon that pops up to get the translation in a new popup!
It can be configured to use DeepL, maybe contact the author to add a way to configure Kagi with it, or a similar method (in addition to the others mentioned in this feedback item) in the Kagi extension would be great!