• Resolved noumi123

    (@noumi123)


    I want to translate my whole site in Arabic directly. for this purpose i add following code in my footer.php file.

    <script>
    if(localStorage.getItem("ChangeLanguageFirstTime") === null) {
        document.cookie = 'googtrans=/en/ar';
        localStorage.setItem("ChangeLanguageFirstTime", true);
    }
    </script>

    but above code translate my site too late. First my site load in English the auto translate in Arabic after sometime.

    I want to open my site directly in Arabic

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

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

    (@edo888)

    Hi,

    Unfortunately it will not be possible with GTranslate. The site will load then the language will change to Arabic.

    Thanks! 🙂

Viewing 1 replies (of 1 total)

The topic ‘Site is not translate first after document.cookie = ‘googtrans=/en/ar’;’ is closed to new replies.