Quickly turn translation on and off shortcut

I’ve read that I can use “Shift T” to quickly toggle the translation for the text but it doesn’t work for me for whatever reason. I also saw it doesn’t work for other people as well. It’s really bothersome to have to open the menu and click “Show Translation” over and over again. I use google chrome if that changes anything. Is there some way to fix this issue? If not, could a proper functional keyboard shortcut be added? Thanks

Shift + T shortcut is to show a sentence translation.
When you are in the sentence mode, if you tap Shift+T the translation for the displayed sentence will appear. That shortcut never worked for Show Translation in the page mode.

This script has a feature that shows translation automatically.