Multisite-Language-Switcher
Multisite-Language-Switcher copied to clipboard
The current language is displayed even if "Show only links with a translation" set
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:
- Add two sites with two languages
- Enable the option "Show only links with a translation" on both sites
- 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