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.
Step 1 — Install the plugins
Section titled “Step 1 — Install the plugins”-
Add GTranslate. In WordPress, go to Plugins » Add New, search for GTranslate, then install and activate it.
-
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.
Step 2 — Configure GTranslate
Section titled “Step 2 — Configure GTranslate”-
Open the settings. Go to Settings » GTranslate.
-
Set the widget look. Change Widget look to Flags so visitors see clear flag icons.
-
Pick your languages. Check the languages you want to offer.
-
Save your changes.
Step 3 — Add the switcher to your menu
Section titled “Step 3 — Add the switcher to your menu”-
Open your menu. Go to Appearance » Menus and select the menu where the switcher should appear (for example, your header menu).
-
Add a Shortcode item. Add a new menu item of type Shortcode (or Custom), and give it a title.
-
Insert the shortcode. In the item’s content field, enter:
[gtranslate] -
Save the menu. Click Save Menu. The language switcher now appears wherever that menu is displayed.
Optional — style the switcher
Section titled “Optional — style the switcher”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;}