Skip Navigation

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 4 replies, has 2 voices.

Last updated by Mihai Apetrei 1 year, 8 months ago.

Assisted by: Mihai Apetrei.

Author Posts
July 28, 2023 at 2:10 pm #14117817

marthaZ

I am trying to change the Spain flag to Ecuador’s on the language switcher but it’s not working, and when I try to follow the link you recommend for “Using Flags” (https://wpml.org/documentation/getting-started-guide/language-setup/custom-language-flags/?utm_source=plugin&utm_medium=gui&utm_campaign=languages) all I get is a 404 page.

Could you please helo me with this? I would like the right flag to show.

hidden link

Screenshot at Jul 28 10-09-23.png
July 28, 2023 at 2:14 pm #14117847

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

I think that URL that you shared is an older one.

This is the correct one for adding custom language flags:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/custom-language-flags/

I hope that helps 🙂

Mihai Apetrei

July 28, 2023 at 2:56 pm #14118201

marthaZ

Mihai, I shred the link that you have on the “Edit Languages” page, which would make it impossible for me to find (or guess) what the correct URL is rather than following the one you suggest from your plugin.

Screenshot at Jul 28 10-52-17.png
July 28, 2023 at 2:58 pm #14118227

marthaZ

On my original message I added the debug code so you could see if there is something wrong because I believe I am following the right steps, could you please help me solve this issue?

July 31, 2023 at 6:58 pm #14129253

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

Sorry, it was not clear for me that you were referring to that URL.

Thank you for sharing it, I will investigate and report it forward.

In regards to the flag that you want to use, you will need to select the 'custom flag' radio checkbox and you will need to find an Ecuador flag image that you want to use for Spanish, then add it to your site as explained in the documentation URL that I shared.

Please let me know how things go.

Mihai