ResolvedProblem with GTraslate and Google Language Traslator
Tagged: Automatic Traslation, Code break
- This topic has 3 replies, 2 voices, and was last updated 2 years, 9 months ago by
Althemist.
- AuthorPosts
- December 12, 2020 at 5:48 pm #27755
ema
ParticipantI have a big problem with the theme issue: the automatic translation plugins conflict with the theme functionality.
GTraslate and Google Language Translator are both incompatible. After activating one of them, the script in the file google-language-traslator.php on line 234
wp_enqueue_script( 'scripts-google', '//translate.google.com/translate_a/element.js?cb=GoogleLanguageTranslatorInit', array('jquery'), null, true);
conflicts with lazy loading of images, infinite scrolling and other script/display related issues. I would like to solve the problem as soon as possible, currently I commented the line written above so you can see the problem in the shop.
I’ve sent via form on ThemeForest the FTP credentials for view and edit theme code for make it compatible
Thanks for supportDecember 15, 2020 at 3:16 pm #27794Althemist
KeymasterHello ema,
sorry for the late reply.
Could you, please give us a link to your site where w can see the problem and the errors in console “live”?
December 15, 2020 at 7:30 pm #27820ema
ParticipantHi there
Here the link; https://gogiocattolionline.com/ but the error is not visible cause i commented the line of code, i’ve sent FTP credentials days ago through themeforest contact form.
If i uncomment the line, the shop page would break.
Thanks again!December 16, 2020 at 5:50 pm #27841Althemist
KeymasterThere is still an error in your console:
Uncaught (in promise) DOMException: The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
I am afraid this is not theme related. You’d probably need to disable your third-party plugins one by one and see which one is causing the problem. We have checked with both translation plugins on a clean theme installation and everything works just fine.
Regards,
Dimitar - AuthorPosts
You must be logged in and have valid license to reply to this topic.