Multisite-Language-Switcher icon indicating copy to clipboard operation
Multisite-Language-Switcher copied to clipboard

The current language is displayed even if "Show only links with a translation" set

Open MatzeKitt opened this issue 3 years ago • 0 comments

Describe the bug If I enable "Show only links with a translation", this does only apply to other languages by using the_msls() in the template. The current site’s language will be always displayed.

To Reproduce Steps to reproduce the behavior:

  1. Add two sites with two languages
  2. Enable the option "Show only links with a translation" on both sites
  3. Access any page in the frontend

Expected behaviour Since we didn’t connect two pages yet, there should be no output of the MSLS.

Environment (please complete the following information):

  • OS: macOS
  • Browser: Safari
  • PHP Version: 7.4
  • Plugin Version: 2.4.12

MatzeKitt avatar Mar 28 '22 07:03 MatzeKitt