If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Tagged: multilanguage avisio
I have one websites with two languages (in fact ; two websites)
1 – http://www.recital-audio.com/fr (French)
2 – http://www.recital-audio.com/en (English)
When anyone goes on http://www.recital.com he is linked on /fr or /en depending the language of the browser.
But I would like to allow anyone to switch EN to FR or FR to EN by click a little flag on each website.
How to simply add a little picture (flag) with link on the top right of each website ?
This is actually pretty simple since its just two images that need to be linked. In your header.php replace:
<a href="http://www.recital-audio.com/fr"><img src="yourimage.png" /></a>
<a href="http://www.recital-audio.com/en"><img src="yourimage.png" /></a>
Just replace yourimage.png with the url for the image of the flag you want to use for each item. I’ve added in the links since you already provided them.
Then, in your style.css add the following all the way at the bottom of the files:
It may need a bit of adjusting to your exact taste, but that should get you 90% of the way there :)
The topic ‘Add a little flag in the top right on the website to change language’ is closed to new replies.