• Resolved penniepl

    (@penniepl)


    Hi, I am trying to solve an issue. I would like to have our site automatically translated from Finnish to English as default.

    I purchased the paid version of GTranslate, but there was no answer for that. Then I got quite poor help from plugin customer service and finally some code to add but no instruction where to exactly place it… So help.

    <script>

    if (!localStorage.getItem(“ChangeLanguageFirstTime”)) { document.cookie = ‘googtrans=/fi/en’; localStorage.setItem(“ChangeLanguageFirstTime”, true);} </script>

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

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

    (@edo888)

    Hi,

    We do not support that and we do not recommend that. GTranslate is not designed to be used like that.

    The code simply mimics prior language selection. It needs to go into your HTML body, good place is the footer. If you do not know what you are doing you better consult a developer.

    Thanks! 🙂

    Thread Starter penniepl

    (@penniepl)

    Thanks. I actually know what I am doing, but placed code did not work. Funny thing, that the code is from your GTranslate support agent, who gave it (twice) and said to ask instructions from here.

    Maybe you should inform them not to share that code if it is not good and figure out solution how to define easily default language… 🙂 By Google, I am not the only one who is asking it.

    I was ready to have a paid subscription but no answer from that either. 🙁

    Plugin Author edo888

    (@edo888)

    Hi,

    When I open your website I see it in English.

    Thanks! 🙂

    Thread Starter penniepl

    (@penniepl)

    Thanks, it wasn’t showing on Edge. Chrome & Safari ok. Cleared cache and cookies from Edge and now it’s working, my bad.

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

The topic ‘Default language code’ is closed to new replies.