Multisite Language Switcher

Beskrivelse

A simple, powerful, and user-friendly plugin that adds multilingual support to your WordPress multisite installation, whether using multiple subdomains or folders. Multisite Language Switcher allows you to effortlessly manage translations for posts, pages, custom post types, categories, tags, and custom taxonomies.

The plugin uses flag icons from FamFamFam. Thanks to Mark James for his great work. In addition, I would like to thank Jürgen Mayer for creating the plugin’s banner.

Please, don’t forget to rate this plugin! 🙂

Oversættere

Tak til alle oversættere for deres flotte arbejde.

You can translate this plugin on translate.wordpress.org, or if you prefer and have created your language pack, or have an update of an existing one, you can send me your Gettext PO and MO so that I can
bundle it into the Multisite Language Switcher. You can download the latest POT file
from here.

Skærmbilleder

  • Plugin configuration with labels
  • Plugin configuration with flag
  • Posts list with label
  • Post list with flag
  • Edit post with label and select2
  • Edit post with flag and dropdown
  • Non-styled output of the widget, block and shortcode

Blokke

Dette plugin giver 1 blok.

  • Multisite Language Switcher Review the settings for the Multisite Language Switcher plugin, as the block utilizes the API function `the_msls()` for its output.

Installation

  • Use the WordPress admin to install the plugin from there or
  • Download the plugin and uncompress it with your preferred unzip programme and copy the entire directory in the plugin directory of your WordPress blog (/wp-content/plugins)
  • Activate the plugin in your plugin administration page (by the network administrator on all the blogs or by the blog administrator for each particular blog).
  • You need to activate the plugin once in each blog, by setting the configuration in Settings -> Multisite Language Switcher

Nu kan du:

  • Connect your translated pages and posts in Posts -> Edit or Page -> Edit
  • Connect your translated categories and tags in Posts -> Categories or Post -> Tags
  • connect your Custom Post Types and Custom Taxonomies across languages
  • Brug widget’en, shortcode [sc_msls] eller/og en content_filter som viser et hint til brugeren hvis oversættelse er muligt
  • you can find also a shortcode for the widget [sc_msls_widget]
  • Valgfrit kan du sætte koden <?php if ( function_exists( 'the_msls' ) ) the_msls(); ?> direkte ind i dine tema filer.

Se Multisite Language Switcher Website for mere information.

FAQ

Jeg har ikke nogen sprogvalg i de Generelle Indstillinger.

You might read first WordPress in your language.

But I’d like the interface to stay in English.

You can choose the language of the dashboard in the settings of your user profile.

Do I need a multisite?

Det er op til dig – selvfølgelig. Men ja, hvis du vil bruge vores Multisite Language Switcher.

Hvordan kan jeg automatisk omdirigere brugere baseret på browserens sprog?

The Multisite Language Switcher does not redirect the users automatically. I’m not sure if the plugin should do that. You might check out this jQuery plugin or this approach with a theme
if you need such functionality.

Hvordan kan jeg tilføje Multisite Language Switcher til navigationsmenuen på min blog?

Tjek venligst add-on’et MslsMenu ud.

Jeg vil gerne have sprogene i en HTML select. Hvordan kan jeg gøre det?

Tjek venligst add-on’et MslsSelect ud.

Can I call a function to get the language of the page the user is viewing?

Yes, you should use the WordPress API function get_locale() but you could also use code like that

use lloc\Msls\MslsBlogCollection;

$blog     = MslsBlogCollection::instance()->get_current_blog();
$language = $blog->get_language();

If I have another question, where can I ask?

Please visit the MSLS website or use the WordPress support forum for more information.

Anmeldelser

11. januar, 2026
At first I had some trouble with the plugin. But now – I wouldn’t want to be without it! I really like the plugin’s functional simplicity! Thanks, Dennis, for this wonderful plugin!
25. september, 2025 1 svar
I think we still need to wait some time before WordPress core implementation for Multilingual sites. See WordPress roadmap I’ve tried WPML in the past but did not really like it. Haven’t tried Polylang plugin yet In my opinion the best setup for multilingual sites is a wordpress multisite setup. Then this great Multisite Language Switcher plugin is the way to go. Simply loving it and also top support deserves a 5 * star rating please keep up the good work you’re doing! greetingsBecki
7. maj, 2024
There is a learning curve and i think someone should make a tutorial how to implement the language switcher and menu and how to work with it. But after all a great plugin.
13. november, 2023 1 svar
This is a fantastic plugin: it does exactly what promises to do, it’s not bloated with extra features and it’s been around for a long time. I can’t thank the plugin author enough for developing this plugin, maintaining it for years and having the patience to deal with occasional 1-star reviews from people who can’t be bothered to read the docs.
7. november, 2023 1 svar
I’m not keen to write reviews, but in this case I was so overwhelmed of this plugin’s simple features and ease of use that I had to. This is by far THE easiest multisite multilanguage plugin I ever tried. Over the years I tested several multilingual approachs (plugins for standalone WP sites, multisite “premium” plugins, country domains, etc.). But this here exceeds all my expectactions for its simplicity. Multilanguage should not be an option in WordPress, but part of the core, out of the box. This plugin deserves a 10 of 10. Two thumbs way up! Thank you for this peace of art.
Læs alle 97 anmeldelser

Bidragsydere & udviklere

“Multisite Language Switcher” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere

“Multisite Language Switcher” er blevet oversat til 17 sprog. Tak til oversætterne for deres bidrag.

Oversæt “Multisite Language Switcher” til dit eget sprog.

Interesseret i udvikling?

Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.

Ændringslog

This project has a separate Changelog.