PHP Logic Script with check Browser Language
-
Hi, I’m trying to find a way to show widgets depending on the Users Browser Language. I tried seveal things but nothing worked. Do you have any idea?
here is an example I tried:if (($lang==”en_EN”) OR ($lang==”en-EN”) OR ($lang==”de_CH”) OR ($lang==”de-CH”) OR ($lang==”de_DE”) OR ($lang==”de-DE”)) {
return true;
}else {
return false;
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘PHP Logic Script with check Browser Language’ is closed to new replies.