Перейти к содержимому Перейти к боковой панели

Помечено: 

Эта тема содержит 0 ответ, имеет 0 голосов.

Последнее обновление: theoH 1 год, 2 месяца назад.

При содействии: Bigul.

Автор Сообщения
18.02.2025 в 14:15 #16719457

theoH

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?