Skip to content

Multi-language (GTranslate)

You can add instant, on-the-fly translation to your Nexgen site using the free GTranslate plugin together with Shortcode in Menus. Visitors pick a language from a switcher in your menu and the page translates immediately — no separate translated copies to maintain.

  1. Add GTranslate. In WordPress, go to Plugins » Add New, search for GTranslate, then install and activate it.

  2. Add Shortcode in Menus. Still under Plugins » Add New, search for Shortcode in Menus, then install and activate it. This lets you place a shortcode inside a menu item.

  1. Open the settings. Go to Settings » GTranslate.

  2. Set the widget look. Change Widget look to Flags so visitors see clear flag icons.

  3. Pick your languages. Check the languages you want to offer.

  4. Save your changes.

The Settings » GTranslate page, showing the Widget look option set to Flags and the language checklist used to pick which languages to offer.
  1. Open your menu. Go to Appearance » Menus and select the menu where the switcher should appear (for example, your header menu).

  2. Add a Shortcode item. Add a new menu item of type Shortcode (or Custom), and give it a title.

  3. Insert the shortcode. In the item’s content field, enter:

    [gtranslate]
  4. Save the menu. Click Save Menu. The language switcher now appears wherever that menu is displayed.

To fine-tune the switcher’s spacing and alignment within your menu, add the following to Theme Settings » Advanced » Custom CSS:

.navbar-nav .glink {
margin: 0 5px;
}
.menu .menu-item-object-gs_sim {
display: flex;
padding: 15px 0;
}