Title: Change WordPress Admin Flags
Last modified: August 20, 2016

---

# Change WordPress Admin Flags

 *  Resolved [zouzouille](https://wordpress.org/support/users/zouzouille/)
 * (@zouzouille)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/)
 * Hi,
 * My WordPress Multisite have on site for Portugal and one other for Brasil. The
   plugin displays portuguese flag for both.
 * In front office I can change that thanks this [function](https://github.com/lloc/Multisite-Language-Switcher/wiki/Change-the-output)
   and this code line
    $link = str_replace(‘pt.png’,’br.png’,$link);
 * How can i do the same in WordPress admin ? (Flags in managing column and flags
   in post or page meta box)
 * Thanks in advance !
 * [http://wordpress.org/extend/plugins/multisite-language-switcher/](http://wordpress.org/extend/plugins/multisite-language-switcher/)

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

 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/#post-3517862)
 * In my opinion there is a much easier way to accomplish this. Download the Brazilian
   version of WordPress from here -> [http://br.wordpress.org/](http://br.wordpress.org/)
   and copy just all files from /wp-content/languages to the same directory of your
   WordPress installation (or install just WP Native Dashboard and download these
   files with this plugin). Then you can choose Brazilian Portuguese (pt_BR) for
   the other site.
 * Let me know if this works for you!
 * Cheers,
    Dennis.
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/#post-3517872)
 * Was your problem resolved?
 *  Thread Starter [zouzouille](https://wordpress.org/support/users/zouzouille/)
 * (@zouzouille)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/#post-3517873)
 * Hi,
 * Thank you for your answer.
 * I’ve done it, I’ve copied these files but it doesn’t work for pt_BR version .
 * I also have 3 sites in English (us, uk and ca) I also copy .po and .mo files 
   of different versions and it works very well.
 * That is why I tried to change the display of flags.
 * Thanks again for your assistance.
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/#post-3517876)
 * Did you remove the additional code – which you mentioned earlier – too?
 *  Thread Starter [zouzouille](https://wordpress.org/support/users/zouzouille/)
 * (@zouzouille)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/#post-3517878)
 * Yes i did
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/#post-3517881)
 * OK … and the settings for the language too?
 *  Thread Starter [zouzouille](https://wordpress.org/support/users/zouzouille/)
 * (@zouzouille)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/#post-3517893)
 * In the settings for the language, WordPress only propose “Portuguese” without
   differentiating pt_PT or pt_BR
 * Oddly enough, for my 3 sites in English (us, ca, uk) wordpress propose only British
   English and English
 * So I have chosen British English for uk site and English for american and canadian
   sites, and Multisite Language Switcher correctly displays the American and Canadian
   flags
 *  Thread Starter [zouzouille](https://wordpress.org/support/users/zouzouille/)
 * (@zouzouille)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/#post-3517894)
 * I also have a website dedicated to Belgium (will be in French)
 * WordPress Belgium doesn’t exist so I have to use the french .po and .mo files,
   so MLS display french flag
 * I would like to change the flag (for diplay the Belgium flag) that’s why I use
   the additional code and I ask you how can I change the flags in the wordpress
   admin
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/#post-3517897)
 * Interesting problem! I will check what I can do for you and if there is a quick
   solution.
 *  Thread Starter [zouzouille](https://wordpress.org/support/users/zouzouille/)
 * (@zouzouille)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/#post-3517899)
 * ok, thanks for your help !
 *  Thread Starter [zouzouille](https://wordpress.org/support/users/zouzouille/)
 * (@zouzouille)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/#post-3518006)
 * Hi Dennis,
 * I could solve my problems.
 * For the Brazilian site, in NetWork Admin > Sites > “my site” > Settings > WPLANG
   > I could change pt_PT in pt_BR
 * And MSLS now recognizes the country
 * For the Belgian site, that doesn’t have a specific version of wordpress, I created.
   po and .mo files (fr_BE), I changed the NetWork Admin settings like Brazilian
   site
 * And now it works correctly
 * Thank you for your help !
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/#post-3518007)
 * OK, very good!

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

The topic ‘Change WordPress Admin Flags’ is closed to new replies.

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

 * 12 replies
 * 2 participants
 * Last reply from: [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/change-wordpress-admin-flags/#post-3518007)
 * Status: resolved