Support » Plugin: Multisite Language Switcher » Blog language can’t handle fr-FR vs fr-CA

  • The Language Settings page button:
    Blog Language
    is very confusing when both fr and fr-CA is installed on a WordPress site.
    It shows a dropdown with two
    French
    French
    entries, making it impossible to figure out which is which, have to manually try them.

    WordPress itself shows it like this:
    Français du Canada
    Français
    and does use the English word “French” as MSLS plugin, but english is fine, as long as the drop down adds “Canada” to the fr-CA language.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes, I totally agree with this, in addition it would be nice to have hreflang as hreflang=”ca_fr” hreflang=”be_fr” etc. rather than just hreflang=”fr” is this possible? Overall the plugin is absolutely fantastic though!

    Hello, is it possible to have hreflang as hreflang=”ca_fr” hreflang=”be_fr” etc. rather than just hreflang=”fr”?

    Plugin Author Dennis Ploetner

    (@realloc)

    Sorry for letting you wait here. There is a filter for the “hreflang” ‘msls_head_hreflang’. So you could just define your filter like

    add_filter( 'msls_head_hreflang', function ( $lang ) {
        return $lang; 
    } );
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.