TranslatePress includes a dedicated Language Switcher tab in the Settings, making it simpler to configure and manage your switchers. This enhances usability, maintains full backward compatibility, and delivers a modern, more flexible language-switching experience.
The tab centralizes all options related to the switcher and is divided into three sections:
This separation provides a clearer structure and a more intuitive setup experience.
The “Revert changes” button from the Language Switcher tab restores the last saved configuration, not the legacy defaults.
With this design, you can now customize your Floating Language Switcher from the Language Switcher tab -> Floating section:
You can now choose the switcher type of your Floating Language Switcher:
You can select a preset from the available design options and apply it to your website without creating a custom one.
However, if you want to customize your language switcher, you can do this using the Customize Design section, where you can modify the backgrounds, text color, and border radius.
To adjust the appearance of the floating language switcher, go to the Customize Layout section. From there, you can define how the switcher should look on both desktop and mobile devices.
The available options include:
When editing using WordPress’s Gutenberg Editor, you can easily add the Language Switcher block. To do this, open the block inserter by clicking the “+” Add Block button in the editor toolbar or within your content area. In the search bar, type “Language Switcher” and select it from the list of available blocks. Once added, the Language Switcher block will appear in your layout.
TranslatePress provides also a shortcode that allows you to place a language switcher anywhere on your site. The [language-switcher] shortcode can be inserted into:
<?php echo do_shortcode('[language-switcher]'); ?>
From the Shortcode section in the Language Switcher tab, you can:
This ensures consistency whether you are working with the classic editor (shortcode) or the Gutenberg block editor.
The Menu Item Language Switcher allows you to add language options directly into any WordPress menu. It automatically adapts to the styling of your theme’s menu, ensuring a seamless look and feel.
You can choose creating a menu switcher using the Current Language block, or place the languages as singular items into your menu. In case of using only 2 languages, you have the option to create an Opposite Language switcher by using the proper menu block.
In the Menu Item section of the Language Switcher tab, you can customize how the switcher items appear by choosing whether to display the flag icons, adjusting their position and shape, or enabling / disabling language names (or combining them with flags).
Configuring these layouts can be done independently for desktop and mobile navigation.
Beginning with TranslatePress – Multilingual 2.9.25, the Language Switcher has been completely redesigned (as shown above), making configuration and management more intuitive and streamlined.
To ensure a smooth transition from the old design, a Load legacy Language Switcher option has been introduced in TranslatePress Settings → Advanced tab → Troubleshooting section:
Disabling the Load legacy Language Switcher option automatically switches to the new design structure. This ensures that disabling legacy mode does not reset or remove previous customizations of the switchers which are migrated automatically by the system, including: