How to add a Language detection hint?
-
I don’t want to redirect users according to their browser language, no. I want to add an explicit hint.
I’m working on a multilingual (thus multisite, using the Multisite language Switcher plugin) website with WordPress.
I’ve seen there are plenty of tutorials in php for language detection, mainly from the user’s browser. I quite understood how to do that, but these techniques usually force or redirect users to another web site.
I want them to read the page in the current language, but simply indicate that a version of the site exists in their language.
I would like to add a hint, a bit like when a user w/ a browser in Portuguese visits the English wordpress forum for example (see example).
Any answer is welcome of course, and could you please point some tutorials to better understand that? Thanks!
- The topic ‘How to add a Language detection hint?’ is closed to new replies.