browser language according is not working, $_COOKIE[pll_language] not working
-
Problem is, when I set URL modifications with “directory” type,
1. language according to the browser is not working, and
2. Cookie: Array ( [pll_language] => en is never change. even I click the language switcher, the web page is correct language but the cookie still not change.but if only I changed URL modifications to “The language is set from content. Posts, pages, categories and tags urls are not modified.” everything just fine.
I am using Firefox and Chrome on Mac, both first language is not set to english.
and my polylang is update from 1.2.1? I am not sure, last update Time is some day in Oct 2013.I tired more than 10 hour to try fix it. but doesn’t end well……..
Some one can help me?
———————————
There is my settings below.WordPress is 3.7.1
Permalink Settings:
Post name - https://www.djiplus.com/sample-post/Polylang Settings:
checked When the front page is visited, set the language according to the browser preferenceURL modifications –
The language is set from the directory name in pretty permalinks. Example: https://www.djiplus.com/en/my-post/Remove /language/ in pretty permalinks. Example: https://www.djiplus.com/en/
Hide URL language information for default language
- The topic ‘browser language according is not working, $_COOKIE[pll_language] not working’ is closed to new replies.