Dear Rodrigo, I think we are a little bit confused here… or me absolutely…so please take a look on the
digitalflow.hu/contact-lang.php page and you will see my problem.
All the items (texts) on the pages will be replaced accordingly with variables from the language database eg. the language files itsel as hu.php, en.php etc…
So, when I change the language (flag) in the drop-down menu the test word – Home- changes to Hungarian and back to English accordingly, but the main flag doesn’t change.
the row from html code is:
<li class="nav-item dropdown nav-item-left-border nav-item-left-border-remove nav-item-left-border-md-show"> <a href="contact-lang.php"> <img src="img/blank.gif" alt="Magyar" /> Magyar <i class="fas fa-angle-down"></i> </a> <div class="dropdown-menu" aria-labelledby="dropdownLanguage"> <a href="contact-lang.php?lan=hu"><img src="img/blank.gif" alt="Magyar" /> Magyar </a> <a href="contact-lang.php?lan=en"><img src="img/blank.gif" alt="English" /> English </a> < </div> </li>
I also used a php language selector which is works, but please help to fix this issue.
I also tried yours, but actually doesn’t work. The drop-down yes, it did but the flags no.
I hope I made myself clear and understandable without doubts 🙂
The previous pages worked with this kind of selector in 7 languages – true the flags were fixed on a globe image 🙂
Waiting your reply or your questions,
Your Levy