Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter vishakhanehe

    (@vishakhanehe)

    Hi Team,
    Is there any update on this?

    Plugin Author edo888

    (@edo888)

    Hi,

    I have checked and I was not able to replicate the issue.

    I see that you have modified the language selector extensively and that could be the reason of the issue.

    Thanks! ??

    Thread Starter vishakhanehe

    (@vishakhanehe)

    I have shared the video with you. You can check the URL too.. and after second or third time you will get the same issue..

    This issue is happening after your latest update. Before that everything was perfect..

    If you are talking about ‘I see that you have modified the language selector extensively and that could be the reason of the issue.’ -> Then as per our product requirement, we needed a popup automatically for lang selection, and for the same, I have written few lines of code..

    As, I have already raised a bug that for ‘eng’ you do not save anything in the cookie and even if any user selects again the eng lang, you delete the cookie for that var.. And that’s why I have to write my code.

    Even, If I delete my custom code, your variable is getting saved two times in the cookies.. very strange.

    Plugin Author edo888

    (@edo888)

    Hi,

    GTranslateGetCurrentLang() call must return null when on default language. In your case it does not do that always and sometimes it returns ‘en’.

    If you are setting a cookie to remember some state, then make sure that it is a different cookie, so it does not interfere with our code.

    Thanks! ??

    Thread Starter vishakhanehe

    (@vishakhanehe)

    Well, I am kinda curious to know when I am not selecting ‘afrikaans’ language to be shown up on the widget popup then how that language even can come and convert into the language automatically on selecting english..

    Plugin Author edo888

    (@edo888)

    Hi,

    It is the first language in the list of available languages and you are interfering with googtrans cookie. As I have already suggested, you need to use a different cookie to not interfere with our logic.

    Thanks! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘On selecting eng lan, af lang is getting selected randomly’ is closed to new replies.