0
I visualized on a site that exists in the upper right corner a dropdown menu where the user can make the language selection. Below a print of the site with the open selection option. When the user clicks on Français, for example, the flag of France appears instead of the flag of Brazil. I would like to know how to do this using javascript/jquery! I searched and found no code.
Specify more because there are several ways to do it, with JS you can change the src of the image with the flag of Brazil, putting the src of the image you want. Could you also when you click redirect to the same page with the language other than my/site/index.php? lang=fr, and puts the flag according to the language via php.
– Neuber Oliveira
in javascript/jquery preference. if you have something send
– Tiago NET
ta using some css framework? bootstrap, Foundation?
– Neuber Oliveira
using bootstrap
– Tiago NET
Do you already have something? You only want the
dropdown
with the images or make the translation of the website as well?– Randrade
translation already made using cookies, Session and a php file for each translation using array! the url is like this: index.php? lang=br
– Tiago NET