Language switcher for subdomains
We are running a wordpress site with Greek content (political & economical analysis) and we want to set up an English site of our site.
My problem that I face is that I can not find a proper solution for the language switcher. Ideally I want a language switcher that recognizes the browser language and redirects accordingly and stores the language in cookie and if the user selects the other site to store that selection.
For example if I visit the main site by entering the url analyst.gr (or following some link) and landing on the main homepage and then switch language , effectively going to en.analyst.gr I would like to store this info so the next time I visit analyst.gr it will redirect me automatically to en.analyst.gr
I tried using WPML but it assumes that different languages go to the same wp installation using
vhosts and at the moment the mapping of posts and menus is not needed.