Skip to content
WordPress Plugin: Multisite Language Switcher
PHP CSS Shell JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Deploy reviewed Apr 1, 2020
bin New svg flags with 'old' logic aligned Apr 3, 2020
build New svg flags with 'old' logic aligned Apr 3, 2020
css-flags New svg flags with 'old' logic aligned Apr 3, 2020
css Deploy files updated Apr 1, 2020
docs Hotfix Apr 10, 2020
flags New svg flags with 'old' logic aligned Apr 3, 2020
images Silent is golden Dec 23, 2018
includes Bug fix HrefLang - Check for count May 21, 2020
js Silent is golden Dec 23, 2018
languages Silent is golden Dec 23, 2018
legacy-tests First step to move to real unit-tests Sep 2, 2019
tests Coverage Apr 10, 2020
.distignore Bump new version Apr 1, 2020
.gitattributes Deploy files updated Apr 1, 2020
.gitignore Tests MslsOptions Nov 1, 2019
.scrutinizer.yml Scrutinizer config May 9, 2014
Changelog.md Bug fix HrefLang - Check for count May 21, 2020
MultisiteLanguageSwitcher.php Bug fix HrefLang - Check for count May 21, 2020
README.md Fix for get_users if there are a lot of them Nov 15, 2019
composer.json Move old tests to legacy tests Jun 12, 2019
index.php Silent is golden Dec 23, 2018
package.json Widget fix Dec 4, 2019
phpdoc.xml Docs added Dec 19, 2018
phpunit.xml Move old tests to legacy tests Jun 12, 2019
readme.txt Bug fix HrefLang - Check for count May 21, 2020
setup.sh chore(Test): setup.sh added + composer.phar, composer.lock, vendor/* … Jan 12, 2016

README.md

Multisite Language Switcher

Please keep in mind that the version of the Multisite Language Switcher at GitHub is a work in progress.

Run composer install --no-dev if you plan to use the repository anyways.

Download the latest stable from the WordPress Plugin Directory and please, don't forget to give this plugin a (five) star-rating.

Scrutinizer Code Quality

A simple, powerful and easy to use plugin that will add multilingual support to a WordPress multisite installation, i.e. multiple subdomains or folders (if you need to set up multiple sites across multiple domains, you'll also want to use the WordPress MU Domain Mapping plugin as well - as long as the domains are all hosted on the same server.).

The Multisite Language Switcher enables you to manage translations of 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.

Installation

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

Review the Multisite Language Switcher Website for more information.

Translators

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.

You can’t perform that action at this time.