I finally managed to create the translation widget that I wanted to make. I have a small bug, and I really don't know where it comes from, well i suspect a bug in the chatGPT action that im using.
To do the translation, I used the "Use ChatGPT action (optionally on selected text)".
I copied the result to the clipboard/variable. In the ChatGPT action, I unchecked "Copy Response to Clipboard," but I feel like there is a bug because when I do my translation and click on one of the four translation buttons, the result appears in the second text field but immediately afterwards, it also copies to the clipboard. I can't find this bug as I feel it stems from the ChatGPT action, even though I unchecked the clipboard copy option, it still copies it anyway.
I’m giving you the translator preset. Could you please check it?
TranslatorChatGPT.bttpresetcompressed.bttpresetcompressed (16.6 KB)