मल्टीसाइट भाषा स्विचर

विवरण

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.

कृपया, इस प्लगइन को रेटिंग देना न भूलें! 🙂

Translators

Thanks to all the translators for their great work.

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.

स्क्रीनशॉट्स

  • Plugin configuration
  • पोस्ट सूची
  • पोस्ट संपादित करे
  • Widget

ब्लॉकस

यह प्लगइन 1 ब्लॉक प्रदान करता है।

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

इंस्टॉलेशन

  • 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 -> मल्टीसाइट भाषा स्विचर

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
  • you can 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.

आप अपनी उपयोगकर्ता प्रोफ़ाइल की सेटिंग में डैशबोर्ड की भाषा चुन सकते हैं।

Do I 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?

कृपया ऐड-ऑन MslsMenu देखें।

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

कृपया ऐड-ऑन MslsSelect देखें।

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

हां, आपको वर्डप्रेस एपीआई फ़ंक्शन get_locale() का उपयोग करना चाहिए, लेकिन आप इस तरह का कोड भी उपयोग कर सकते हैं

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.

समीक्षाएं

मई 7, 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, 2023 1 जवाब
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, 2023 1 जवाब
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.
मार्च 29, 2023
I am very happy with the plugin’s operation – it is extremely easy to use and does not cause any problems.Works with WordPress Multisite great! However, there is a feature missing from the plugin that has already been popping up on the web, namely support for reciprocal hreflang (return tag: which is missing Missing x-default). When I audit any page with this plugin, I get “Missing reciprocal hreflang (no return-tag)”, you can find info at Ahrefs site “”Missing reciprocal hreflang (no return-tag)” error in Site Audit” I will be very grateful if this functionality is added :)As I can see this needs to add one line of code 🙂 Greeting from PolandPaweł
मार्च 10, 2023
highly customizable, high performance, indispensable – thanks a lot. theo
94 के सभी समीक्षा पढ़ें

सहायक &डेवलपर्स

यह खुला स्रोत सॉफ्टवेयर है। अनुगामी लोगो ने इस प्लगइन के लिए योगदान दिया है।

योगदानकर्ता

“मल्टीसाइट भाषा स्विचर” has been translated into 16 locales. Thank you to the translators for their contributions.

Translate “मल्टीसाइट भाषा स्विचर” into your language.

Interested in development?

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

बदलाव विवरण

This project has a separate Changelog.