Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

default language by polylang plugin not working

I installed Polylang Plugin and configed that but I have a problem when I set the default language in Persian language the site loaded in English mode and it is not deference if change default language because in any way in run site loaded by English version. I installed 3 languages: Persian, English, French Wordpress version is 4.1.1 and Polylang Plugin version is 1.8.5 How can I fixed the default language in fa-IR? please help me

like image 635
Soma Moradi Avatar asked Apr 18 '16 10:04

Soma Moradi


2 Answers

For me it was the Polylang setting

Detect browser language (When the front page is visited, set the language according to the browser preference).

Found in wp-admin > languages > settings.

Test to uncheck that.

like image 59
Björn Gustafsson Avatar answered Sep 19 '22 13:09

Björn Gustafsson


You can set default language by click on star in Polylang 'Languages' page, there will be a star for default language when someone is visiting your website. Also, don't forget to deactivate detect browser language in Polylang 'Settings' page, I hope this will work. This works fine for me.

like image 22
Hiral Avatar answered Sep 19 '22 13:09

Hiral