Multisite Language Switcher


マルチサイトとして、異なるサブドメインやフォルダに設置した WordPress に多言語対応を追加する、シンプルでパワフル、かつ使いやすいプラグインです。
複数のドメインで複数のサイトをセットアップする必要がある場合は、WordPress MU Domain Mapping プラグインの併用をおすすめします (ドメインがすべて同じサーバーでホストされている場合に限る)。

Multisite Language Switcher は、投稿、固定ページ、カスタム投稿タイプ、カテゴリー、タグ、カスタムタクソノミーの翻訳管理が可能です。

FamFamFam 作のフラグアイコンを使用しています。Mark James さんの素晴らしい仕事ぶりに感謝します。さらに、プラグインのバナーを作成してくれた Jürgen Mayer さんにも感謝します。

プラグインの評価をお忘れなく! 🙂


Thanks to all translators for their great work.

If you have created your own 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.


  • Plugin configuration
  • 投稿リスト
  • 投稿の編集
  • ウィジェット



  • Multisite Language Switcher


  • Download the plugin and uncompress it with your preferred unzip programme
  • Copy the entire directory in your 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 root blog administrator for each particular blog).
  • You need to activate the plugin once in each blog, set the configuration in Settings -> Multisite Language Switcher

Now you can:

  • 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
  • use the widget, the Gutenberg block, the shortcode [sc_msls] and/or a content_filter which displays a hint to the user if a translation is available
  • find also a shortcode for the widget [sc_msls_widget]
  • optionally you can place the code <?php if ( function_exists( 'the_msls' ) ) the_msls(); ?> directly in your theme files

Review the Multisite Language Switcher Website for more information.


I have no language options in the General settings.

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 really need a multisite?

It’s up to you – of course. But yes, if you want to use the Multisite Language Switcher.

How can I automatically redirect users based on the browser language?

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.

How can I add the Multisite Language Switcher to the nav-menu of my blog?

Please check the add-on MslsMenu out.

I want to have the languages in an HTML select. How can I do that?

Please check the add-on MslsSelect out.

I don’t want to upload the same media files for every site. What can I do?

You could try the plugin Network Shared Media. It adds a new tab to the “Add Media” window, allowing you to access the media files in the other sites in your multisite.

Is there a function I can call to get the language of the page the user is currently 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();

How can I move from WPML to MSLS?

There is a plugin which comes handy in here.


This simple yet amazing plugin is a must-have for any multilingual WordPress multisite. It's so easy to use, and provides me with everything that I need in just one plugin! Thank you!
Great plugin, does what it says it does. For MultilingualPress users: you can switch to this plugin without any problems. Be sure to read the documentation before you start. Another plugin from the same developer can be very useful for putting the language selector in your menu. See mslsmenu plugin Thanks Dennis
2021年1月28日 1 reply
I have been using this plugin in combination with MslsMenu for more than 7 years now. For me this is a simple, yet absolutely perfect solution for any multilingual WordPress site. Very easy to use. Easily linking cross-blog pages together without having to worry about any third-party plugin compatibility. Its simplicity allows website admins full control over the content of each individual blog. Perfect if not all your blogs offer the exact same content, like country-restricted services such as gift cards or house calls or payment methods. WordPress MultiSite handles all settings per blog and with MultiSite Language Switcher you can use different date/time formatting, even different email addresses, etc. tailored to the blog's locale. Thank you very much for providing the perfect solution, Dennis!
Literally the only tool, that allows for implementing proper hreflangs in all posts, pages, tags and categories. Language selector block and menu from the other addons are great as well. The only thing that seems not to be doing anything is "available translations hints" option, but still it's a 5 star plugin.


Multisite Language Switcher はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。


“Multisite Language Switcher” は14ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Multisite Language Switcher” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。


There is a separate Changelog for this project available.