Code stopped working
-
The code I was given last week to automatically translate my page from English to Portuguese has now stopped working. The page is back to automatically opening in English and you have to choose Portuguese every time.
Here is the code I was given and placed in my site’s theme.
<script>
if (!localStorage.getItem("ChangeLanguageFirstTime")) { document.cookie = 'googtrans=/en/pt'; localStorage.setItem("ChangeLanguageFirstTime", true);}
</script>I need our English site to automatically open in Portuguese every time without having to change anything on the GTranslate plugin on the screen.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Code stopped working’ is closed to new replies.