ResolvedProblem with GTraslate and Google Language Traslator

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27755
    ema
    Participant

    I 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 support

    #27794
    Althemist
    Keymaster

    Hello 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”?

    #27820
    ema
    Participant

    Hi 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!

    #27841
    Althemist
    Keymaster

    There 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

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for any item belonging to this account
AlThemist

AlThemist

sales 17347, followers 742
Login and Registration Log in · Register