Background of the issue:
I am using WPML together with Elementor, and I want the language switcher to display only language codes (e.g., 'NL', 'EN', 'FR') instead of full language names ('Nederlands', 'English', 'Français'). I have tried using CSS and a PHP filter in functions.php to replace the language name with the language code, but these solutions did not affect the Elementor WPML language switcher.
Symptoms:
The Elementor WPML language switcher does not display language codes, and there is no option in WPML settings to switch from full names to language codes.
Questions:
How can I properly change the Elementor WPML language switcher to display only language codes instead of full names?