This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is unsure about the type of language switcher used on their website and whether they need to replace the Twig templates.
Solution:
If you're experiencing uncertainty about the type of language switcher on your website, we recommend checking if you added the language switcher via WPML → Languages. If this is the case, it confirms that you are not using Twig templates for the language switcher, and everything should be functioning correctly.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.