Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is trying to replace the flags with text labels (NO and EN) in the language switcher at the top left corner of their site, but is unable to do so.
Solution:
We explained that the language switchers displayed are controlled by the AVIA builder within the Enfold theme, not directly by WPML. We suggested checking with the Enfold theme support team if there is an option to display language names instead of flags. The support link for Enfold is https://kriesi.at/support/.
Additionally, if the client prefers to use a WPML-based language switcher, they can implement this using shortcodes or PHP code. We provided documentation on how to add language switchers using PHP and shortcodes, which can be found here: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/adding-language-switchers-using-php-and-shortcodes/#language-switcher-shortcodes.

If this solution does not apply because it might be outdated or not relevant to your case, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum at WPML support forum.

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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Mihai Apetrei 1 year ago.

Assisted by: Mihai Apetrei.

Author Posts
May 24, 2024 at 12:49 pm #15667841

Therese

I am very hard trying, also after reading similar issues on your forum to replace the flags in the top left corner with text (NO and EN), but nothing seems to remove the flags.

Can you help me?
hidden link

Remove-flags-to-replace-with-short-text.jpg
May 24, 2024 at 12:57 pm #15667932

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Of course, I am happy to help.

The switchers that you have at the top of your site are not served by WPML directly but by the AVIA builder that comes with the Enfold theme.

I'm attaching a screenshot below so that you can see the code of that content part and you will see it is AVIA-related.

You will see multiple "avia" words in there.

I am not sure if avia builder or the enfold theme has the possibility to show the language names instead of the language flags, I would recommend that you check this with their support team here:
hidden link

If they have an option to show the language names instead of the flags, then you can also go to WPML > Languages > Edit languages > and change the name of the languages to the short form that you mentioned, so that it will show that naming.

On the other hand, if you would prefer to serve language switcher that come directly from WPML, you can use shortcodes or php code to display them anywhere you want on your site.

Here is the documentation for that:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/adding-language-switchers-using-php-and-shortcodes/#language-switcher-shortcodes

I hope that you will find this information helpful. 🙂

Please let me know how things go.

Mihai Apetrei

Screenshot 2024-05-24 at 15.52.04.png
May 27, 2024 at 5:24 am #15671950

Therese

Thank u 🙂 I used the shortcode. That was great ☺️ And yes Enfold Helpdesk me remove the flaks in the top left corner 🙂