WordPress.org

Ready to get started?Download WordPress

Forums

Multisite Language Switcher
[resolved] Flag display customization (2 posts)

  1. animasola
    Member
    Posted 1 year ago #

    I can't seem to get it right.

    I just have a 2 language site, english and filipino:
    http://splash.inting.org/wp/

    Here are my settings:
    Sort output by description
    Display link to current language
    Description for each language

    I did the suggestion in another post to have Custom URL for flag-images for each site but what I noticed is that this plug-in always looks for the us.png regardless.

    Here are some questions I have:

    1. Why can't we setup the flag files manually?
    2. Why does it always find us.png regardless? Can I make it look for another flag?
    3. Can I display the language list in a drop-down, with the current language as the selected item?

    http://wordpress.org/extend/plugins/multisite-language-switcher/

  2. realloc
    Member
    Plugin Author

    Posted 1 year ago #

    Seems you have already found the right solution ... but I'll answer your questions anyway:

    1. The plugin expects a directory with flags (it's own or another one you can set up) so I don't know exactly what your are missing here.

    2. MSLS returns 'us' as a fallback if WordPress returns nothing. This is true for English WordPress sites. But you can change this behavior:
    https://github.com/lloc/Multisite-Language-Switcher/wiki/Change-the-output

    3. Please have a look here: https://github.com/lloc/Multisite-Language-Switcher/wiki/Generate-the-output

    Cheers,
    Dennis.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic