• Hi,

    Thank you for developping the Multisite Language Switcher plug-in. I am trying to setup a bilingual multisite on promopubdesign.com

    I have installed a French Multisite WordPress in the root and added a secondary English Site in a /en subfolder. When I go to General Settings to change the /en site language to Canadian English or any other language for that matter, it keeps reverting back to French as soon as I hit the save button.

    Is there anything I am doing wrong?

    Thank you for your help,
    Raymond

    https://www.ads-software.com/plugins/multisite-language-switcher/

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

    (@realloc)

    Hi,

    there are lots of possibilities and it for sure quit difficult to say what’s going on there. I’m not sure if this has much to do with the functionalities provided by the plugin. Would you please check your wp-config.php fist? Is there any language set?

    Cheers,
    Dennis.

    Thread Starter rrocan

    (@rrocan)

    Hi Dennis,

    Thank you very much for your reply.

    There is no language set in the config.php but I read here that is is not required in WordPress 4.0 and up – https://codex.www.ads-software.com/Editing_wp-config.php#Language_and_Language_Directory

    Plugin Author Dennis Ploetner

    (@realloc)

    Yes I know but I just wanted to exclude it. The language setting in the “General”-section should work without any plugin because it is core-functionality. Which plugins are installed?

    Thread Starter rrocan

    (@rrocan)

    Multisite Language Switcher
    Bulletproof Security
    No comments on Pages

    Plugin Author Dennis Ploetner

    (@realloc)

    Please deactivate the Multisite Language Switcher and set the language again. Let me know what it does…

    Thread Starter rrocan

    (@rrocan)

    I really appreciate your help Dennis!

    Half of the problem is solved; The English site is now in English. I can now select the English counterpart page each French page but the English site does not “see” the French site.

    I tried deactivating the plugin again ti respecify the French site as French language but that did not work.

    Plugin Author Dennis Ploetner

    (@realloc)

    Do you have different users for these sites? There is also an option named “Reference user” that helps to set the same user for each site. You can find it in the plugin settings.

    Thread Starter rrocan

    (@rrocan)

    I was wondering why it created a “en” username when I create the English site but you are right; I swichted the users and both sites “see” eachother now and all pages are linked to their counterpart.

    How to I get the flag or link showing on the page now?

    Thread Starter rrocan

    (@rrocan)

    The Valerie theme does not allow for a side bar. Is there a specific code snippet I can place somewhere in the header.php?

    Thread Starter rrocan

    (@rrocan)

    I resarched the problem and found this solution that you posted on a previous post:
    if ( function_exists ( ‘the_msls’ ) ) {
    $args = array(
    ‘before_item’ => ‘

    • ‘,
      ‘after_item’ => ‘
    • ‘,
      ‘before_output’ => ‘

      ‘,
      ‘after_output’ => ‘

    ‘,
    );
    the_msls( $args );
    }

    I added the code to the header.php but I get multiple flags.
    You can take a look at promopubdesign.com

    Plugin Author Dennis Ploetner

    (@realloc)

    There is a widget or you can use a short PHP snippet. Please check the Install and the FAQ sections first!

    Thread Starter rrocan

    (@rrocan)

    Thank you Dennis.

    I’ve added the MSML-Menu plugin and added the <li class=”msls-menu”> line where indicated but it still does not work.

    Thanks anyway for your help.

    Plugin Author Dennis Ploetner

    (@realloc)

    Please put the code above in Backticks. The add-on MslsMenu needs to know which menu you want to use. It is for NavMenus only…

    Thread Starter rrocan

    (@rrocan)

    Text/HTML before each item: <li class="msls-menu">
    Text/HTML after each item: </li>

    Still does not work.

    Plugin Author Dennis Ploetner

    (@realloc)

    Please put also the code above in Backticks. “Still does not work” isn’t helpful. What have you done exactly? Do you have any NavMenu? Did you choose a NavMenu in the options?

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Keeps reverting back to French’ is closed to new replies.