Title: Dennis Ploetner's Replies | WordPress.org

---

# Dennis Ploetner

  [  ](https://wordpress.org/support/users/realloc/)

 *   [Profile](https://wordpress.org/support/users/realloc/)
 *   [Topics Started](https://wordpress.org/support/users/realloc/topics/)
 *   [Replies Created](https://wordpress.org/support/users/realloc/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/realloc/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/realloc/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/realloc/engagements/)
 *   [Favorites](https://wordpress.org/support/users/realloc/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 2,030 total)

1 [2](https://wordpress.org/support/users/realloc/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/realloc/replies/page/3/?output_format=md)…
[134](https://wordpress.org/support/users/realloc/replies/page/134/?output_format=md)
[135](https://wordpress.org/support/users/realloc/replies/page/135/?output_format=md)
[136](https://wordpress.org/support/users/realloc/replies/page/136/?output_format=md)
[→](https://wordpress.org/support/users/realloc/replies/page/2/?output_format=md)

 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Multisite Language Switcher] IMHO Most logical option for translating WordPress](https://wordpress.org/support/topic/imho-most-logical-option-for-translating-wordpress/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/imho-most-logical-option-for-translating-wordpress/#post-18830880)
 * Thank you for the review! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] msls loses connection between sites](https://wordpress.org/support/topic/msls-loses-connection-between-sites/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/msls-loses-connection-between-sites/#post-18790836)
 * MSLS uses lots of the WordPress API functions. So this bug has its roots in WordPress
   core:
   If you look into the WordPress core -> [http://github.com/WordPress/wordpress-develop/blob/6.9/src/wp-admin/includes/ms.php#L633-L673](http://github.com/WordPress/wordpress-develop/blob/6.9/src/wp-admin/includes/ms.php#L633-L673),
   it just prints English in case it is different from American or British English.
   But this not the whole problem. It creates an array with keys (en_US, en_GB, 
   and en). To visualize what I mean:
 *     ```wp-block-code
       $output = array(    'en_US' => 'American English',    'en_GB' => 'British English',    'en'    => 'English',);
       ```
   
 * This means it would work for 3 English websites but fails from with 4. The connections
   should work in any other case. I had similar setups with lots of languages.
    -  This reply was modified 4 months, 2 weeks ago by [Dennis Ploetner](https://wordpress.org/support/users/realloc/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] msls loses connection between sites](https://wordpress.org/support/topic/msls-loses-connection-between-sites/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/msls-loses-connection-between-sites/#post-18785942)
 * There are 2 possible scenarios:
    - The websites are not tied together with the same “Reference User” -> check
      the plugin’s settings
    - Some of the websites have the same language (region_code) set -> check the
      websites’ settings
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Connection problems between languages](https://wordpress.org/support/topic/connection-problems-between-languages/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [5 months ago](https://wordpress.org/support/topic/connection-problems-between-languages/#post-18777489)
 * Great news! Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] How to unlink a post between languages](https://wordpress.org/support/topic/how-to-unlink-a-post-between-languages/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/how-to-unlink-a-post-between-languages/#post-18703471)
 * I believe one possibility could be to check the box “Exclude blog” in the settings
   of the plugin.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Multisite Language Switcher] Great plugin and awesome support!](https://wordpress.org/support/topic/great-plugin-and-awesome-support-215/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/great-plugin-and-awesome-support-215/#post-18657699)
 * Thank you so much! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] language flag always only links to main site and not the connected page, post](https://wordpress.org/support/topic/language-flag-always-only-links-to-main-site-and-not-the-connected-page-post/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/language-flag-always-only-links-to-main-site-and-not-the-connected-page-post/#post-18653576)
 * Glad, it helped! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] language flag always only links to main site and not the connected page, post](https://wordpress.org/support/topic/language-flag-always-only-links-to-main-site-and-not-the-connected-page-post/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/language-flag-always-only-links-to-main-site-and-not-the-connected-page-post/#post-18653327)
 * Yes, indeed. Seems my screenshot is not going up. This markup here seems not 
   to come from MSLS:
 *     ```wp-block-code
       <div class="ast-builder-language-switcher-wrapper ast-builder-language-switcher-layout-horizontal">    <div class="ast-builder-language-switcher-element">        <nav class="ast-builder-language-switcher" aria-label="Language Switcher">            <ul class="ast-builder-language-switcher-menu">                <li class="ast-builder-language-switcher-menu-item-header">                    <a href="/" aria-label="English" role="link" class="ast-builder-language-switcher-item">                        <span class="ast-lswitcher-item-header">                            <span class="ahfb-svg-iconset ast-inline-flex svg-baseline">                                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30">                                    <clipPath id="a"><path d="M0 0v30h60V0z" /></clipPath>                                    <clipPath id="b"><path d="M30 15h30v15zv15H0zH0V0zV0h30z" /></clipPath>                                    <g clip-path="url(#a)"><path d="M0 0v30h60V0z" fill="#012169" />                                        <path d="M0 0l60 30m0-30L0 30" stroke="#fff" stroke-width="6" />                                        <path d="M0 0l60 30m0-30L0 30" clip-path="url(#b)" stroke="#C8102E" stroke-width="4" />                                        <path d="M30 0v30M0 15h60" stroke="#fff" stroke-width="10" />                                        <path d="M30 0v30M0 15h60" stroke="#C8102E" stroke-width="6" />                                    </g>                                </svg>                            </span>													                        </span>                    </a>                </li>                <li class="ast-builder-language-switcher-menu-item-header">                    <a href="" aria-label="German" role="button" class="ast-builder-language-switcher-item">                        <span class="ast-lswitcher-item-header">                            <span class="ahfb-svg-iconset ast-inline-flex svg-baseline">                                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5 3">                                    Flag of Germany                                    <rect id="black_stripe" width="5" height="3" y="0" x="0" fill="#000" />                                    <rect id="red_stripe" width="5" height="2" y="1" x="0" fill="#D00" />                                    <rect id="gold_stripe" width="5" height="1" y="2" x="0" fill="#FFCE00" />                                </svg>                            </span>                        </span>                    </a>                </li>            </ul>        </nav>    </div></div>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] language flag always only links to main site and not the connected page, post](https://wordpress.org/support/topic/language-flag-always-only-links-to-main-site-and-not-the-connected-page-post/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/language-flag-always-only-links-to-main-site-and-not-the-connected-page-post/#post-18652408)
 * Hey, I just saw this here, which doesn’t come from a MSLS widget or block. It
   reminded me of another plugin:
 * ![](https://wordpress.org/b48715ce-bdb7-4067-a18f-82e1f3bd2abd)
    -  This reply was modified 8 months, 2 weeks ago by [Dennis Ploetner](https://wordpress.org/support/users/realloc/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] language flag always only links to main site and not the connected page, post](https://wordpress.org/support/topic/language-flag-always-only-links-to-main-site-and-not-the-connected-page-post/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/language-flag-always-only-links-to-main-site-and-not-the-connected-page-post/#post-18651803)
 * OK, now just use the language-switcher coming from Multisite Language Switcher.
   The one you have comes from TranslatePress, as far as I can see. 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] language flag always only links to main site and not the connected page, post](https://wordpress.org/support/topic/language-flag-always-only-links-to-main-site-and-not-the-connected-page-post/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/language-flag-always-only-links-to-main-site-and-not-the-connected-page-post/#post-18651564)
 * Please, check also the settings in “Reference User”. Are they the same?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] language flag always only links to main site and not the connected page, post](https://wordpress.org/support/topic/language-flag-always-only-links-to-main-site-and-not-the-connected-page-post/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [8 months, 4 weeks ago](https://wordpress.org/support/topic/language-flag-always-only-links-to-main-site-and-not-the-connected-page-post/#post-18639503)
 * Hi Becki,
 * thanks a lot for your kind words and for using the plugin!
 * You’re right — the language flags should not just point to the start page of 
   each site. If the pages (or posts) are correctly connected in the MSLS settings,
   then the German flag on /contact should indeed lead to /de/kontakt, and so on.
 * I’ve just moved the demo site [msls.co](https://msls.co) to a new provider and
   finished setting it up, so now the demo should show the correct behavior. Could
   you please have another look there?
 * If your flags still link only to the main site (like /de/), then usually one 
   of these things is happening:
    - The pages aren’t actually connected yet in the MSLS meta box.
    - Caching (object cache or page cache) is showing outdated links.
 * Can you double-check if the correct connections show up in the page editor under“
   Multisite Language Switcher”? If they do, and the problem still persists, please
   let me know — a link to your site would help me understand better.
 * Thanks again for reporting this and for your feedback!
 * Best,
   Dennis
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Link added to post descriptiom](https://wordpress.org/support/topic/link-added-to-post-descriptiom/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/link-added-to-post-descriptiom/#post-18619675)
 * Yes, you probably activated the checkbox for the hint.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] CZ.png flag image broken (redirected)](https://wordpress.org/support/topic/cz-png-flag-image-broken-redirected/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [10 months, 4 weeks ago](https://wordpress.org/support/topic/cz-png-flag-image-broken-redirected/#post-18555586)
 * Sorry for responding so late. As far as I can see, there is a custom folder with
   your flags configured. The original folder has a flag, but this one seems not
   to have it: /wp-content/Flags/cz.png
   Cheers!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] PHP Fatal Error: Uncaught TypeError: lloc\Msls\MslsOutput::get()](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-llocmslsmslsoutputget/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-llocmslsmslsoutputget/#post-18493885)
 * Great to read that! Cheers

Viewing 15 replies - 1 through 15 (of 2,030 total)

1 [2](https://wordpress.org/support/users/realloc/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/realloc/replies/page/3/?output_format=md)…
[134](https://wordpress.org/support/users/realloc/replies/page/134/?output_format=md)
[135](https://wordpress.org/support/users/realloc/replies/page/135/?output_format=md)
[136](https://wordpress.org/support/users/realloc/replies/page/136/?output_format=md)
[→](https://wordpress.org/support/users/realloc/replies/page/2/?output_format=md)