How to set WPLANG by browser language
-
I’m developing a bilingual website. So the content is mostly in English and German. That is OK. But some texts like on buttons and messages for the user I don’t want to show in both languages as Next/Weiter or Read More / Weiterlesesen or Submit / Absenden etc.
The best solution would be, if the browser of the user is set to German WPLANG should set to German otherwise leave the default setting in English.
I guess it should be only some lines of code to do this – or not? Does anyone already has a solution for this? Or a link to an article?Any help appreciated
Tom
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to set WPLANG by browser language’ is closed to new replies.