This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is using a dropdown in the language switcher and wants to display a custom image icon, not a flag, before the current language.
Solution:
To replace the flag with a custom image icon in the language switcher, you need to create a custom language switcher. We recommend checking our documentation on creating a custom language switcher at Custom Language Switcher. Additionally, you can find useful examples in our support forums:
As a simpler workaround, consider changing the default language flags in WPML by navigating to WPML>>Languages>>Site Languages>>Edit Languages. For more details, refer to Editing WPML's Languages Table and Adding custom language.
If this solution does not apply to your case, or if it seems outdated, 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 you still need assistance, 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.
This topic contains 1 reply, has 2 voices.
Last updated by 11 months, 2 weeks ago.
Assisted by: Bigul.