• LQ2′

    (@lq2apostrophe)


    This plugin shows wrong flag for Vietnamese language. It’s because files containing flag icons are named using country codes, not language codes.

    The country code for Vietnam is VN, so the name is vn.png.

    WP uses language codes (not country codes) to identify languages. So in my case, the site is in Vietnamese, the language code is VI, and this plugin shows vi.png (which is the flag of US Virgin Islands).

    And Virgin Islands actually uses English as the language. (Source)

    Everytime I update this plugin, I have to rename the two flag files in order to show the correct flag for Vietnamese site.

    Please delete vi.png and rename vn.png to vi.png in future releases!

Viewing 1 replies (of 1 total)
  • Hello,
    The same goes for the catalan flag. WP calls for ca.png instead of ca_ES.png thus the canadian flag shows up, not the catalan.
    Thanks in advance.

    • This reply was modified 8 years, 11 months ago by vilatours.
Viewing 1 replies (of 1 total)

The topic ‘Wrong flag for Vietnamese language’ is closed to new replies.