Title: MSLS Grouping
Author: Asumaru
Published: <strong>February 11, 2017</strong>
Last modified: March 28, 2017

---

Search plugins

![](https://ps.w.org/msls-gouping/assets/banner-772x250.png?rev=1594566)

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.

![](https://ps.w.org/msls-gouping/assets/icon-256x256.png?rev=1594566)

# MSLS Grouping

 By [Asumaru](https://profiles.wordpress.org/asumaru/)

[Download](https://downloads.wordpress.org/plugin/msls-gouping.zip)

 * [Details](https://wordpress.org/plugins/msls-gouping/#description)
 * [Reviews](https://wordpress.org/plugins/msls-gouping/#reviews)
 *  [Installation](https://wordpress.org/plugins/msls-gouping/#installation)
 * [Development](https://wordpress.org/plugins/msls-gouping/#developers)

 [Support](https://wordpress.org/support/plugin/msls-gouping/)

## 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.⌉⌊e.g. Sites List.⌉[

e.g. Sites List.

[⌊Multisite Language Switcher Options.⌉⌊Multisite Language Switcher Options.⌉[

Multisite Language Switcher Options.

[⌊Set "group_key".⌉⌊Set "group_key".⌉[

Set “group_key”.

[⌊Widget "SameLangSites".⌉⌊Widget "SameLangSites".⌉[

Widget “SameLangSites”.

[⌊Shortcode "SameLangSites".⌉⌊Shortcode "SameLangSites".⌉[

Shortcode “SameLangSites”.

[⌊e.g. English Site.⌉⌊e.g. English Site.⌉[

e.g. English Site.

[⌊e.g. Japanese Site.⌉⌊e.g. Japanese Site.⌉[

e.g. Japanese Site.

[⌊Language flags in Admin-Bar.⌉⌊Language flags in Admin-Bar.⌉[

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

 *   [ Asumaru ](https://profiles.wordpress.org/asumaru/)

[Translate “MSLS Grouping” into your language.](https://translate.wordpress.org/projects/wp-plugins/msls-gouping)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/msls-gouping/), check
out the [SVN repository](https://plugins.svn.wordpress.org/msls-gouping/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/msls-gouping/) by
[RSS](https://plugins.trac.wordpress.org/log/msls-gouping/?limit=100&mode=stop_on_copy&format=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.

## Meta

 *  Version **0.2.1**
 *  Last updated **9 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.6 or higher **
 *  Tested up to **4.7.33**
 * Tags
 * [international](https://wordpress.org/plugins/tags/international/)[language](https://wordpress.org/plugins/tags/language/)
   [multilingual](https://wordpress.org/plugins/tags/multilingual/)[multisite](https://wordpress.org/plugins/tags/multisite/)
   [switcher](https://wordpress.org/plugins/tags/switcher/)
 *  [Advanced View](https://wordpress.org/plugins/msls-gouping/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/msls-gouping/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/msls-gouping/reviews/)

## Contributors

 *   [ Asumaru ](https://profiles.wordpress.org/asumaru/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/msls-gouping/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://asumaru.com/business/wp-plugins/asm-msls-grouping/)