• Resolved Sachin Kumar

    (@sachindhillan)


    We’ve encountered an issue with the GTranslate widget on our web page. When the page is hosted inside an iFrame in the Chrome browser, the widget does not translate back to the original language as expected.

    This issue appears to be specific to Chrome and only occurs when the page is embedded within an iFrame.

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

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

    (@edo888)

    Hi,

    I have checked and I see it translates your website content. However the content inside the iframe will not be translated as it is being loaded from external source.

    Looks like inside the iframe site there is also GTranslate enabled. If you use our paid version, we will be able to sync the languages, so that on Spanish version we can include the iframe in Spanish version. If both domains belong to you, then you will need the paid version for both of the websites: https://gtranslate.io/#pricing

    Thanks! 🙂

    Thread Starter Sachin Kumar

    (@sachindhillan)

    The issue is related to the iFrame content only, which has its own GTranslate widget. While the content is translated correctly when switching from English to another language, the problem arises when trying to switch back to the original language (English) — the translation does not revert as expected.

    This issue appears to occur only in the Chrome browser and is specific to content loaded inside an iFrame.

    Please let us know if further details are needed.

    Plugin Author edo888

    (@edo888)

    I see something is blocking cookies from being set inside the iframe, so it doesn’t work, since it checks for cookie value to determine the current language when you want to switch back to original.

    Thanks! 🙂

    Thread Starter Sachin Kumar

    (@sachindhillan)

    Is there any workaround/fix for this issue where it’s unable to set/read cookies since it’s specific to Chrome?

    Plugin Author edo888

    (@edo888)

    Hi,

    I didn’t find an official documentation about it, but looks like Chrome may decide to block cookies set in iframes, unfortunately I’m unable to comment about it.

    If you wish it to work properly, use our paid version. You need to have 2 licenses, one for the main domain, the other one for the iframe domain.

    Thanks! 🙂

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

The topic ‘GTranslate Widget in iFrame’ is closed to new replies.