Hello Laura,
The plugin can figure the user language by checking the “accept-language” variable sent by browser in every http request. This reflect the language of the browser application, not the location (if a user lives in China but his web browser is configured in italian, it will be italian).
But there is no cookie or stuff to remember what a user language is. So on every page, if the language isn’t specified by url (like mysite.com/some-page) the user will be redirected either to mysite.com/en/some-page or mysite.com/es/some-page (or whatever your languages are).
For activation, go in Sublanguage options and check both “Show slug for main language” and “Auto-detect language”.
Thread Starter
Laura
(@syccylinders)
I have tried to put my browser in English to enter the page and continues redirecting to the Spanish language… I don’t know if you can try to enter my website: http://www.teemovsall.com and see if it works for you and redirects you to http://www.teemovsall.com/en/
Thank you!
Yes it’s actually redirecting to https://www.teemovsall.com/en/ by me
Can you go there: https://www.cylog.org/headers/ with your browser
and tell me what is the “Accept-Language” value?
Thread Starter
Laura
(@syccylinders)
Yes! It’s working, I tested on other sites and it change language, thanks for verify me.
Thanks a lot