Support » Plugin: Multisite Language Switcher » [Plugin: Multisite Language Switcher] Used to work but disappeared

  • So I had a multisite installation with 2 sites: and for the French version. Several site and network administrators, a few editors and authors (we all work in the same office). I installed and configured Multisite Language Switcher and it worked fine, people were able to associate pages and posts in the back-end (I wasn’t displaying anything on the front-end yet).

    Then, some work was done directly in the DB by a colleague; data was imported and manipulated, and a slew of other subsites were created (none of which has the plugin activated).

    At some point, Multisite Language Switcher was deactivated somehow. I do not know how. Was it one of the other administrators who inadvertently deactivated it? I doubt it, but possible. Did it have something to do with the DB manipulation? Quite possible.

    So I reactivated the plugin on and Everything is normal in the /fr/ site (posts/pages can be associated to their English counterparts, the MLS settings page shows both languages/sites), BUT on the main site, there are 2 problems:

    1. The MLS box on the post/page edit screen says “You should define at least another blog in a different language in order to have some benefit from this plugin!”
    2. The MLS settings page does NOT show the FR, only Example Site / us (presumably this means us-EN).

    So I am at a loss as to what went wrong and what to do. My colleague who is better than me at understanding the DB says that the old data for the EN site is still there; so, for some reason the plugin doesn’t see it anymore or something.

    So, any suggestions as to what I might do or how I might troubleshoot this?


Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Dennis Ploetner


    Please check first if you have the correct language settings in “General settings” of the English and the French blog. The problem seems to be there …

    Hmm. So the French site is configured as French on the Settings screen, and the English site is configured as English (I saved both just to make sure the setting “sticks”). However, on the MLS settings page, in the English site is still says “Example site / us”, where the French site says “Example site / fr_FR”. Shouldn’t is say “us_EN”? Why would it NOT say that? Interesting.

    Ok, so what’s next to look at?

    Plugin Author Dennis Ploetner


    There is no language-file for the English version of WordPress. The API will not return anything when you ask for the language and the Multisite Language Switcher returns just ‘us’. So you can take that as normal.

    Could you save your Multisite Language Switcher again? Just for to be sure.

    Plugin Author Dennis Ploetner


    Forget what I said. I red your first post again and I think I got it.

    There is an open issue with “Multisite Language Switcher” and more then one administrator. You added a new admin which is now first in the list of the administrators and has just access to but no access to, right?

    If so there are 2 possibilities:

    1. Give him/her access to the fr-blog to or
    2. Override the blog collection


    Thanks for that idea, but I don’t think that’s the issue. I just checked with my own account and another account which is also an administrator. We are BOTH Super-admins AND Site administrators on the English and French sites. We both see the same thing as described above: no fr_FR on the English side, yet I can associate English posts to French posts on the French side.

    Plugin Author Dennis Ploetner


    Is there another admin, or not? What you can see or not is not important for the plugin which just tries to collect (or “guess” in this special case) the relevant blogs in the network.

    What about the second option? You could give it a try …

    Ah ha! Thanks to you, I found it!

    My English site had 5 site admins, and my French site had only 4. I removed the extra site admin from the English site, and Boom! Everything is now working as expected and as it should!

    So now on re-reading your last post from yesterday, I understand better what you meant. That’s an odd bug, isn’t it?

    So my problem is fixed now, and I thank you very much for your help. before marking this as “Resolved”, do you want any further information from me to help you fix this bug permanently?

    Plugin Author Dennis Ploetner


    Yes, this is a bug and there will be for sure a solution in the next version. If you have any ideas let me know …

    Hmm, no ideas right now, sorry. But thanks for the plugin and your help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Multisite Language Switcher] Used to work but disappeared’ is closed to new replies.