• Resolved webpune

    (@webpune)


    It appears that Google Translator is not functioning properly on my site. When I select a language, it does not respond as expected. Additionally, I would like to disable the automatic switching to the browser’s language preference, as I do not want that feature.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    I see your website uses Select2 library which converts all regular dropdowns to Select2 dropdowns.

    The library is called in /wp-content/themes/agrimo/js/core.min.js file:

    jQuery('select:not([id="rating"]').select2(...)

    You will need to modify it to avoid interfering with GTranslate dropdown:

    jQuery('select:not([id="rating"]):not(.gt_selector)').select2(...)

    Alternatively you can use a different Widget look other than Dropdown.

    You can disable Auto switch to browser language option in GTranslate plugin settings page.

    Thanks! 🙂

    Thread Starter webpune

    (@webpune)

    Its’ Working.

    Thank You so much for You Support !

    Plugin Author edo888

    (@edo888)

    You are welcome! If you have a moment, please write a review: https://ww.wp.xz.cn/support/plugin/gtranslate/reviews/#new-post

    Thanks! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Translator not working’ is closed to new replies.