• Resolved amandoda

    (@amandoda)


    The GTranslate floating widget does not appear anywhere on the site,
    despite being correctly configured (Widget look: Float, floating
    language selector: Bottom Right, multiple languages selected including
    Hindi, Marathi, Tamil, Telugu, etc.).

    WHAT WE’VE CONFIRMED (via browser DevTools inspection on the live site):

    • The widget’s wrapper div IS present in the page HTML:
    • However, this div renders with 0 height and appears to have no child
      content inside it (collapsed/empty in the DOM tree).
    • No CSS is hiding it (checked Computed styles — no display:none or
      visibility:hidden found).
    • This suggests the widget’s JavaScript never populates the div with
      the actual flag/dropdown content.

    SUSPECTED CAUSE:
    We use LiteSpeed Cache with “Load JS Deferred” enabled (set to
    “Deferred” mode) for site speed optimization. We suspect GTranslate’s
    script is being deferred and never executes in time to populate the
    widget.

    QUESTION:
    Is there a documented way to exclude GTranslate’s script specifically
    from JS deferral in LiteSpeed Cache, without disabling JS Deferred
    site-wide (which would hurt our page speed scores)? If so, what is the
    exact script filename/handle we should add to LiteSpeed’s exclude list?

    Our main use case is Hindi translation for a Hindi-speaking audience
    on specific landing pages — we don’t need full multi-language SEO,
    just a working, reliable widget for one or two priority pages.

Viewing 1 replies (of 1 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    If disabling the cache plugin doesn’t solve the issue, make sure your theme calls wp_footer() function.

    Thanks! 🙂

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.