When you install the LiteSpeed cache plugin, Make sure you don’t use another caching plugin, Only a one-page speed plugin.
Why does Google Translate stop working using the Litespeed cache plugin?
I am suggesting some settings of the Litespeed cache, please watch these videos. and follow the step one by one.
If you are using Cloudflare then it more easiest way to solved this.
Open CloudFlare> Go to your website dashbord> Go to APPs installation> Search Google Translate > Install Google Translate through Cloudflare
If you follow this then your website speed will also not going to change. You don’t need to do anything in the Litespeed cache.
I hope this answer satisfied you if you need help please ask a question.