

Frontend language switcher dropdown on a post.
Slim Language Switcher helps you present the same content in multiple languages without replacing WordPress’s own language files.
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.
This plugin does not translate content automatically. Pair it with translated pages or a separate translation workflow.
Render the switcher in a theme:
echo slim_language_switcher_get_switcher( array( 'layout' => 'dropdown', 'theme' => 'auto' ) );
CSS custom properties used by the switcher:
--mlmgr-bg--mlmgr-text--mlmgr-border--mlmgr-hover-bg--mlmgr-hover-text--mlmgr-accent--mlmgr-radius--mlmgr-font-sizePost and term meta key for alternate URLs: _slim_language_switcher_urls.