• Resolved vishakhanehe

    (@vishakhanehe)


    Hi,
    I am finding issues when with the popup, I select the English lang again.

    As English is selected lang by default so that value is not getting stored in Cookies. If I select any other lang then that lang is getting stored in cookies but when I switch to eng again the stored cookie value with the name of googtrans is removing again and again automatically. Please let me know what is wrong with the code.

    Looking forward to hearing from you.

    • This topic was modified 3 years, 7 months ago by vishakhanehe.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    Please provide your website address and mention the steps to reproduce the issue.

    Thanks! ??

    Thread Starter vishakhanehe

    (@vishakhanehe)

    Hi,

    Currently, I sorted the issue via custom code but if you want to reproduce the bug, here you go.

    Install the plugin > Select the popup beta > Choose lang to show > as Default lang is Eng, Cookies are not there. Now, Choose any other lang (hindi/punjabi etc), When you will select the cookie is there with googtrans: /en/hi but now if you will again select the English lang from popup then your cookie is deleted.

    Apart from this: If I change any code in gTranslate.php, my code does not reflect on the browser. FYI – Not using any caching plugin and using incognito window too.

    Let me know if you need any screenshots.

    Plugin Author edo888

    (@edo888)

    Hi,

    When you select English the cookie will be removed, that is by design. The default language does not need a cookie. So if there is no cookie set you can presume that you are on default language in your code.

    Thanks! ??

    Thread Starter vishakhanehe

    (@vishakhanehe)

    Yeah, I understand.
    As this depends on how you design any feature so I have done customization in my code but this is very weird that if I change anything in gTranslate.php file then nothing reflects so I have to use another plugin for CSS and JS related changes.

    Plugin Author edo888

    (@edo888)

    Hi,

    The customizations can be made in Widget Code section in GTranslate settings page, it takes priority over changes in gtranslate.php file, which is not a good idea, since you will have issues with updating our plugin in future.

    Thanks! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issues with the gTranslate popup’ is closed to new replies.