This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

MSLS Grouping

Description

“Multisite Language Switcher” is very attractive plugin.
However, It may not be available for your site plan.

  • Site A (English) example-site.com/
  • Site A (Japanese) example-site.com/jp/
  • Site B (English) example-site.com/siteB/
  • Site B (Japanese) example-site.com/siteB-jp/
  • Site C (English) example-site.com/siteC/
  • Site C (Japanese) example-site.com/siteC-jp/

“Multisite Language Switcher” cannot tell the difference between site A, site B and site C.
Therefore you cannot connect the language when there are site A, site B, site C.

“MSLS Grouping” adds “group_key” to settings of “Multisite Language Switcher”.
For example, you set “group_key” with “SiteA” or “SiteB” or “SiteC”.
You can limit a language site in a group by doing this plugin.
You can display only the first site when there are multiple same language sites in a group.

And, it provide shortcode “SameLangSites” and widget “SameLangSites”.
You can output the list of different groups of the same language.
For example, “SameLangSites” of “site A (English)” lists ” site B (English)” and “site C (English)”.

  • Site A (English) => Site B (English), Site C (English)
  • Site B (Japanese) => Site A (Japanese), Site C (Japanese)

And, it provide “Language” column on the Table of Sites in network.

And, it provide “Language Flag” in Admin-Bar.

Screenshots

  • e.g. Sites List.

  • Multisite Language Switcher Options.

  • Set "group_key".

  • Widget "SameLangSites".

  • Shortcode "SameLangSites".

  • e.g. English Site.

  • e.g. Japanese Site.

  • Language flags in Admin-Bar.

Installation

  1. “Multisite Language Switcher” is required.
  2. Upload the plugin files to the /wp-content/plugins/asm-MSLS_Grouping directory, or install the plugin through the WordPress plugins screen directly.
  3. 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).
  4. Use the Settings->Multisite Language Switcher Options screen to configure the plugin
  5. Set a site group key to “group_key”.
  6. Shortcode “SameLangSites” : [SameLangSites](list-template)[/SameLangSites]

FAQ

What is the replacment strings in list-template?
  • %before_item% : Prefix of the list item.
  • %item_class% : List-item CSS class.
  • %lang_class% : Item-language CSS class.
  • %group_class% : Group-key CSS class.
  • %url% : Item link url.
  • %link_target% : Link target.
  • %name% : Item name.
  • %after_item% : Suffix of the list item.
How do you not come to display language column on the Table of Sites in network?

You must add the following cord to functions.php in the theme.

add_filter( ‘asm_language-column.blogs.network’, create_function( ”, ‘return false;’ ) );

How do you not come to display language flags?

You must add the following cord to functions.php in the theme.

add_filter( ‘asm_language-flags.admin-bar’, create_function( ”, ‘return false;’ ) );

How do you not come to force WPLANG in the setting-general?

You must add the following cord to functions.php in the theme.

add_filter( ‘asm_force_WPLANG.options_general’, create_function( ”, ‘return false;’ ) );

Reviews

There are no reviews for this plugin.

Contributors & Developers

“MSLS Grouping” is open source software. The following people have contributed to this plugin.

Contributors

Translate “MSLS Grouping” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.1

  • created 2017.01.01.

0.2

  • po/mo files updated.
  • Language column on the Table of Sites in network added.
  • Language flags in Admin-Bar displayed.
  • Malfunction of WPLANG in the setting-general supported.
  • Fix. Spelling is corrected from “Gouping” to “Grouping”.

0.2.1

  • bug fix.