Another question. I have adjusted the flags. Unfortunately, the language switch now exists in the footer and not in the header. I don't want a language switch in the footer but in the header
You can modify this by navigating to WPML → Languages → Menu language switcher. Remove the language switcher from the footer menu and add it to the header.
the language change function is correct from start to finish. Go to the website and check it out. I ask you to forward the ticket to a developer. I can't get any further with you.
There has to be someone who can fix bugs and edit the code
You have two language switchers because they are activated in two locations. One language switcher is added in WPML → Languages → Menu Language Switcher, while the other is included in your Elementor header template. You can remove the one you don't need.
Would you like me to assign your ticket to one of my teammates?