At the bottom of my web I give the option to the user to choose between English (default) and Spanish. I have two Instagram accounts set in both languages and I would like the links of both of them to change when the web language is also changed. In other words, when user goes and select Spanish as a language, I want the Instagram link to take me to the Spanish account when clicking on it, but if the user does not change the language, I want the Instagram link to take them to the English account
I have modified the code and I do not have any error, but it does not do anything. Could anyone shed some light on this? My code is as follows:
Thanks a lot in advance!
Note: I attach an screenshot just in case is of any help.