How to Translate WordPress Menu into Multiple Languages - TranslatePress (2022)

Translating a website requires more than a simple translation of the content. For instance, a major concern is how to translate a WordPress menu. The menu is one of the first elements of a site that users notice, and they base their first impression on it.

When building a multilingual WordPress menu, there are several aspects you need to pay attention to. Some of your pages or products may be related or available only to some countries, so you may have to hide those menu items for certain languages.

The translation also impacts the menu design. For example, it’s well known that German words are on average longer than English words, which influences the spacing between menu items.

TranslatePress is a WordPress translation plugin that helps you translate any WordPress menu, in just a couple of clicks, using a visual translation editor.

Below we’ll go into the simple steps to achieve this.

Related: How to Translate Custom Fields in WordPress

Setting Up a WordPress Menu

Due to the way it’s built, TranslatePress works out of the box with any theme or plugin, so you can use the theme of your choice, or even a menu plugin. Most themes support a primary and footer menu, but some give users more options for displaying menus.

To create a WordPress menu go to Appearance Menus Edit Menus determine its structure and add the desired menu items.

How to Translate WordPress Menu into Multiple Languages - TranslatePress (1)

Next, go to Appearance Menus Manage Locations to choose the location of the menus. The available locations are defined by the theme you’re using.

How to Translate WordPress Menu into Multiple Languages - TranslatePress (2)

Let’s assume that you already have a primary menu filled with items and subitems that needs to be translated. In our example here, we will translate the primary menu which is the main navigation of your website.

Install and Setup TranslatePress

After creating our WordPress menu, we’ll move forward to install and configure TranslatePress.

Simply navigate to Plugins Add New in the WordPress admin dashboard and type “TranslatePress” into the search form. Find the TranslatePress plugin, install and activate it.

How to Translate WordPress Menu into Multiple Languages - TranslatePress (3)

Then go to TranslatePress Settings General to choose the proper setup for your multilingual website.

How to Translate WordPress Menu into Multiple Languages - TranslatePress (4)

Start with choosing the default language—British English in our example—and the language you want to translate the menu into—Romanian in our example.

Next, set up the plugin to suit your needs. You can enable Google Translate for automatic translation, use directories for the default language, or customize the language switcher.

How to Translate WordPress Menu Items

In our example, we will translate the WordPress menu of a membership website selling online courses. Once you finish the creation of your menu, click the Translate Page link in the top admin bar. This will open a visual translation interface and allow you to translate your site content.

How to Translate WordPress Menu into Multiple Languages - TranslatePress (5)

Next, simply hover the mouse over the first item in the menu and it will display a blue pencil icon. Click it and in the sidebar make sure to input the translated term from default language to the desired language (English to Romanian here). Do this for each main item on the menu.

How to Translate WordPress Menu into Multiple Languages - TranslatePress (6)

You will notice that when hovering over some items, the blue pencil icon is replaced by a green arrow icon. That means that the plugin has detected the strings generated by the theme and plugins (gettext strings). Don’t worry, the translation process is similar.

At this stage, you should have all the main menu items—the ones visible by default—translated. Next, apply the same process for the submenu items. Hover over each submenu item and input the translation in the sidebar.

And as simple as that, your entire menu is now translated!

Show Different Menu Items for Different Languages

There are situations where you may want to have a different menu structure based on the selected language. This is useful when you want to display different pages for different languages. Or for when certain content is not translated in a specific language and you don’t want it to appear in the menu for that language.

TranslatePress comes with a few add-ons for extended functionality.

For instance, Only Translate Certain Paths lets you translate only the desired pages, while the premium add-on Navigation Based on Language makes it easy to display different menu items for different languages.

Using these 2 addons you’ll have a lot of flexibility as to what menu items to display in certain languages, as well as what content you can exclude from being translated.

Setting Up the Navigation Based on Language Add-On

The Navigation Based on Language add-on is available in the pro versions of TranslatePress. After purchase, you can activate the add-on by navigating to Settings TranslatePress Addons tab. Locate the add-on in the Pro Add-ons section and click the Activate button to its right.

How to Translate WordPress Menu into Multiple Languages - TranslatePress (7)

Next, go to Appearance Menus Menu Structure and by opening a certain menu item you will see the option to Limit this menu item to certain languages. Make sure to select only the languages where you want to show that menu item.

How to Translate WordPress Menu into Multiple Languages - TranslatePress (8)

For our example, I want to eliminate the About page from the German and Spanish versions of the site. To do this, I’ll uncheck the All Languages checkbox and only check the English language instead. Now, you can see that this item is hidden when visiting the German version of the site.

How to Translate WordPress Menu into Multiple Languages - TranslatePress (9)

Translate your entire Website

Turning your site multilingual doesn’t end with just translating the WordPress menu. You have to translate all the elements of your future multi language website. The same visual translation process can be applied for any text on your site.

Besides standard text translation, you can use TranslatePress to translate different types of elements, like: images containing text, WooCommerce products, custom fields & post types, forms, popups, etc. Or if you created your website using a popular page builder, like Elementor or Beaver Builder, you’ll be able to translate it easily with TranslatePress. It works out of the box, no extra compatibility needed.

Simply navigate each page using TranslatePress translation editor, select and translate each piece of content, and head to the next one. You’ll have your site translated in no time.

If you’re looking to speed up the translation process, check out the Automatic Translation available in TranslatePress. Using automatic translation tools like Google Translate or DeepL, TranslatePress will automatically translate your site instantly.

Afterwards you can manually refine the translations and make sure your translated content is high quality.

Wrapping Up

Translating a WordPress menu is really straightforward using TranslatePress. We’ve summed up all the steps covered above in this short video below:

In our example, I used only one translation language for learning purposes and to streamline your onboarding, but you can translate WordPress menu (and your entire site) into as many languages as you need.

On top of that, you can use the navigation based on language add-on to customize which menu items are displayed based on the active language.

TranslatePress Multilingual

TranslatePress is the easiest way to translate your WordPress site. It's fast, won't slow down your website, works with ANY theme or plugin and it's SEO friendly.

Get the plugin

Or download FREE version

If you haven’t used TranslatePress yet, make sure to play with the demo or check out the free version.

Do you still have questions about translating WordPress menus? Let us know in the comments!

If you found this post helpful, please check out ourYouTube channel, where we constantly upload short & easy-to-follow video tutorials. You can also follow us onFacebookandTwitterto be the first to know each time we post.

Top Articles

You might also like

Latest Posts

Article information

Author: Frankie Dare

Last Updated: 12/24/2022

Views: 5874

Rating: 4.2 / 5 (73 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Frankie Dare

Birthday: 2000-01-27

Address: Suite 313 45115 Caridad Freeway, Port Barabaraville, MS 66713

Phone: +3769542039359

Job: Sales Manager

Hobby: Baton twirling, Stand-up comedy, Leather crafting, Rugby, tabletop games, Jigsaw puzzles, Air sports

Introduction: My name is Frankie Dare, I am a funny, beautiful, proud, fair, pleasant, cheerful, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.