Quantcast
Viewing all articles
Browse latest Browse all 11471

redyyu on "[Plugin: Polylang] 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 - http://www.djiplus.com/sample-post/

Polylang Settings:
checked When the front page is visited, set the language according to the browser preference

URL modifications -
The language is set from the directory name in pretty permalinks. Example: http://www.djiplus.com/en/my-post/

Remove /language/ in pretty permalinks. Example: http://www.djiplus.com/en/

Hide URL language information for default language

http://wordpress.org/plugins/polylang/


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>