{"id":371431,"date":"2026-09-23T12:47:47","date_gmt":"2026-09-23T12:47:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/multilingual-manager-language-switcher-with-hreflang-tags\/"},"modified":"2026-09-24T05:29:57","modified_gmt":"2026-09-24T05:29:57","slug":"slim-language-switcher","status":"publish","type":"plugin","link":"https:\/\/ru.wordpress.org\/plugins\/slim-language-switcher\/","author":23490777,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.2","stable_tag":"1.1.2","tested":"7.1.2","requires":"6.6","requires_php":"7.4","requires_plugins":null,"header_name":"Slim Language Switcher - Multilingual Manager with hreflang SEO Tags","header_author":"Slim Plugins","header_description":"Manage alternative language URLs and display a customizable language switcher.","assets_banners_color":"9da8b7","last_updated":"2026-09-24 05:29:57","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.slimplugins.com\/slim-language-switcher-wordpress-plugin\/","header_author_uri":"https:\/\/www.slimplugins.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":77,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.1":{"tag":"1.1.1","author":"slimplugins","date":"2026-09-23 14:19:44","revision":3709491},"1.1.2":{"tag":"1.1.2","author":"slimplugins","date":"2026-09-24 05:29:57","revision":3710524}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.gif":{"filename":"icon-128x128.gif","revision":3709499,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.gif":{"filename":"icon-256x256.gif","revision":3709490,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3709490,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3709490,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"slim-language-switcher\/language-switcher":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"slim-language-switcher\/language-switcher","version":"1.1.2","title":"Language Switcher","category":"widgets","icon":"translation","description":"Display a customizable language switcher.","keywords":["language","switcher","multilingual","hreflang"],"textdomain":"slim-language-switcher","attributes":{"layout":{"type":"string","default":""},"theme":{"type":"string","default":""},"flags":{"type":"string","default":""},"names":{"type":"string","default":""}},"supports":{"html":false,"align":true,"className":true,"spacing":{"margin":true,"padding":true}},"editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css"}},"tagged_versions":["1.1.1","1.1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3709490,"resolution":"1","location":"assets","locale":"","width":853,"height":759},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3709490,"resolution":"2","location":"assets","locale":"","width":1586,"height":858},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3709490,"resolution":"3","location":"assets","locale":"","width":1870,"height":1026},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3709490,"resolution":"4","location":"assets","locale":"","width":905,"height":1026},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3709490,"resolution":"5","location":"assets","locale":"","width":1066,"height":1048}},"screenshots":{"1":"Frontend language switcher dropdown on a post.","2":"Languages screen \u2014 add languages, flags, default URLs, and reorder the list.","3":"Appearance designer with live preview and a copyable shortcode.","4":"Settings for hreflang, JSON-LD, switcher visibility, and uninstall behavior.","5":"Help screen with shortcode, block, and PHP usage."}},"plugin_section":[],"plugin_tags":[2993,1385,99,1140,2333],"plugin_category":[48],"plugin_contributors":[282277],"plugin_business_model":[],"class_list":["post-371431","plugin","type-plugin","status-publish","hentry","plugin_tags-hreflang","plugin_tags-language","plugin_tags-multilingual","plugin_tags-switcher","plugin_tags-translation","plugin_category-language-tools","plugin_contributors-slimplugins","plugin_committers-slimplugins"],"banners":{"banner":"https:\/\/ps.w.org\/slim-language-switcher\/assets\/banner-772x250.png?rev=3709490","banner_2x":"https:\/\/ps.w.org\/slim-language-switcher\/assets\/banner-1544x500.png?rev=3709490","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/slim-language-switcher\/assets\/icon-128x128.gif?rev=3709499","icon_2x":"https:\/\/ps.w.org\/slim-language-switcher\/assets\/icon-256x256.gif?rev=3709490","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/slim-language-switcher\/assets\/screenshot-1.png?rev=3709490","caption":"Frontend language switcher dropdown on a post."},{"src":"https:\/\/ps.w.org\/slim-language-switcher\/assets\/screenshot-2.png?rev=3709490","caption":"Languages screen \u2014 add languages, flags, default URLs, and reorder the list."},{"src":"https:\/\/ps.w.org\/slim-language-switcher\/assets\/screenshot-3.png?rev=3709490","caption":"Appearance designer with live preview and a copyable shortcode."},{"src":"https:\/\/ps.w.org\/slim-language-switcher\/assets\/screenshot-4.png?rev=3709490","caption":"Settings for hreflang, JSON-LD, switcher visibility, and uninstall behavior."},{"src":"https:\/\/ps.w.org\/slim-language-switcher\/assets\/screenshot-5.png?rev=3709490","caption":"Help screen with shortcode, block, and PHP usage."}],"raw_content":"<!--section=description-->\n<p>Slim Language Switcher helps you present the same content in multiple languages without replacing WordPress\u2019s own language files.<\/p>\n\n<p>Add the languages you support, assign a default URL to each one, then optionally override those URLs on posts, pages, products, and terms. The plugin outputs a language switcher (shortcode or block) and can print hreflang tags plus JSON-LD for search engines.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Language directory stored in WordPress options (no custom database tables)<\/li>\n<li>Light, dark, and auto themes with editable color palettes<\/li>\n<li>Dropdown, list, and inline layouts<\/li>\n<li>Live appearance designer with a copyable shortcode<\/li>\n<li>Language Switcher block with layout and theme controls<\/li>\n<li>Alternate URL fields on posts, pages, public post types, and public taxonomies<\/li>\n<li>Optional WooCommerce shop, product category, and product tag support<\/li>\n<li>Optional hreflang and JSON-LD output<\/li>\n<\/ul>\n\n<p>This plugin does not translate content automatically. Pair it with translated pages or a separate translation workflow.<\/p>\n\n<h3>Developer Notes<\/h3>\n\n<p>Render the switcher in a theme:<\/p>\n\n<pre><code>echo slim_language_switcher_get_switcher( array( 'layout' =&gt; 'dropdown', 'theme' =&gt; 'auto' ) );\n<\/code><\/pre>\n\n<p>CSS custom properties used by the switcher:<\/p>\n\n<ul>\n<li><code>--mlmgr-bg<\/code><\/li>\n<li><code>--mlmgr-text<\/code><\/li>\n<li><code>--mlmgr-border<\/code><\/li>\n<li><code>--mlmgr-hover-bg<\/code><\/li>\n<li><code>--mlmgr-hover-text<\/code><\/li>\n<li><code>--mlmgr-accent<\/code><\/li>\n<li><code>--mlmgr-radius<\/code><\/li>\n<li><code>--mlmgr-font-size<\/code><\/li>\n<\/ul>\n\n<p>Post and term meta key for alternate URLs: <code>_slim_language_switcher_urls<\/code>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>slim-language-switcher<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory, or install the plugin from the WordPress plugins screen.<\/li>\n<li>Activate the plugin through the Plugins screen.<\/li>\n<li>Open <strong>Slim Language Switcher \u2192 Languages<\/strong> and add your languages.<\/li>\n<li>Style the switcher under <strong>Appearance<\/strong>, then place it with the shortcode, the Language Switcher block, or the PHP helper.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20display%20the%20switcher%3F\"><h3>How do I display the switcher?<\/h3><\/dt>\n<dd><p>Use the shortcode <code>[slim_language_switcher]<\/code>, insert the Language Switcher block, or call <code>slim_language_switcher_get_switcher()<\/code> in a theme template.<\/p><\/dd>\n<dt id=\"what%20shortcode%20attributes%20are%20available%3F\"><h3>What shortcode attributes are available?<\/h3><\/dt>\n<dd><p>layout (<code>dropdown<\/code>, <code>list<\/code>, <code>inline<\/code>), <code>theme<\/code> (<code>light<\/code>, <code>dark<\/code>, <code>auto<\/code>), <code>flags<\/code> (<code>yes<\/code> or <code>no<\/code>), and <code>names<\/code> (<code>yes<\/code> or <code>no<\/code>). Omit an attribute to inherit the value saved in Appearance.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20translate%20my%20site%3F\"><h3>Does the plugin translate my site?<\/h3><\/dt>\n<dd><p>No. It stores language metadata and alternate URLs, then helps visitors move between those URLs.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20i%20delete%20the%20plugin%3F\"><h3>What happens when I delete the plugin?<\/h3><\/dt>\n<dd><p>By default all plugin data is removed. Enable <strong>Keep languages, settings, and alternate URLs if the plugin is deleted<\/strong> in Settings if you want to preserve them.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Updated the directory title and plugin homepage URL.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Distinctive Slim Language Switcher name and slug.<\/li>\n<li>Hardened HTML escaping for switcher and flag output.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Add a customizable language switcher and manage alternate language URLs with hreflang support.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/371431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=371431"}],"author":[{"embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/slimplugins"}],"wp:attachment":[{"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=371431"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=371431"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=371431"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=371431"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=371431"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=371431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}