Title: Polylang Custom Flags
Last modified: February 8, 2021

---

# Polylang Custom Flags

 *  Resolved [craiglambo](https://wordpress.org/support/users/craiglambo/)
 * (@craiglambo)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/polylang-custom-flags/)
 * I am trying to use my own custom flags for the menu language switcher which I
   have tried and following the steps on the following link [https://polylang.pro/doc/can-i-use-my-own-flags-for-the-language-switcher/](https://polylang.pro/doc/can-i-use-my-own-flags-for-the-language-switcher/)
   but nothing appears to be working at all.
 * I have created polylang directory in my theme folder and for example named the
   flag to update the Italian flag as ‘it.png’ and then saved the URL modifications
   settings in the ‘Polylang’ settings.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [codestylist](https://wordpress.org/support/users/codestylist/)
 * (@codestylist)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/polylang-custom-flags/#post-14020450)
 * [@craiglambo](https://wordpress.org/support/users/craiglambo/) The solution is
   in the document you rprovided the link for: “…and name them with the **WordPress
   locale**“.
 *  Thread Starter [craiglambo](https://wordpress.org/support/users/craiglambo/)
 * (@craiglambo)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/polylang-custom-flags/#post-14024498)
 * [@codestylist](https://wordpress.org/support/users/codestylist/) that’s great,
   As you said I have just followed the WordPress Locale and re-saved the URL modification
   settings in Polylang and it worked. Thank you.
 *  [Hermelijn](https://wordpress.org/support/users/studiozubli/)
 * (@studiozubli)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/polylang-custom-flags/#post-14629905)
 * Goodmorning all,
    I still don’t get it. Is it possible to be more specific? I
   created the folder ‘polylang’ in /wp-content and uploaded ‘flag_ES.png’ to it.
   After that I’m lost, even with the help from Polylang itself and this thread.
   Help much appreciated. 🙂
 *  [Hermelijn](https://wordpress.org/support/users/studiozubli/)
 * (@studiozubli)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/polylang-custom-flags/#post-14631895)
 * Got it!
 * The names of the new .png’s in the polylang folder needed to be es_ES.png (see
   list: [https://wpastra.com/docs/complete-list-wordpress-locale-codes/](https://wpastra.com/docs/complete-list-wordpress-locale-codes/))
 * Hope this helps others.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Polylang Custom Flags’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [flags](https://wordpress.org/support/topic-tag/flags/)

 * 4 replies
 * 3 participants
 * Last reply from: [Hermelijn](https://wordpress.org/support/users/studiozubli/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/polylang-custom-flags/#post-14631895)
 * Status: resolved