Skip to content
Nixe WordPress Theme

Multi Language

Nixe keeps all its default strings in one language file, nixe/languages/nixe.pot. You translate them with Loco Translate or Poedit. The current steps, file names and folders are in Translating theme strings.

WPML lets one website show the same content in several languages. You do not need a separate site for each language: every page, post, portfolio item and room can appear in each language on the same domain. How to set up WPML and translate content is in Translating with WPML or Polylang. This section covers what is specific to Nixe.

When WPML is active, its language switcher shows on your site below the navigation. Visitors click a flag to see the page in that language, if the page exists in it.

  • A page or post that has no translation in a language does not show in that language.
  • Flags show only for the languages you activated.
  1. Create the page with all its content, including the featured image, other images and attachments, and publish it.
  2. In the page list, click the plus icon in the column of the language you want, or open the page in the WPML translation editor.
  3. Translate the content. If you copy the original content and leave it as it is, visitors who switch the language see the same page, still untranslated.
  4. Do not forget to publish the translated version.
  5. Repeat steps 2 to 4 for each language.

For help with theme-related WPML issues, create a support ticket in your dashboard.

Nixe’s custom post types, Portfolio, Rooms, Team and Testimonials, can be grouped into categories just like WordPress posts. To list posts by category:

  1. Create a post.
  2. Create a category.
  3. Assign the category to the post.
  4. Publish the post.

A category page lists all posts in that category in the sort order you chose. You can add categories to a menu, so a click on the menu item shows the list of posts in that category. When you translate the category and its posts, each translated category page lists the translated posts in its own language.

WPML includes String Translation. Nixe registers its own text fields with it, so you can translate them there instead of duplicating content. You can read more about String Translation on wpml.org.

For widgets that string translation does not cover, WPML explains how to show different widgets in each language. See the WPML guide Translating widgets.

We cannot help with how WPML works. WPML has its own support forum and documentation, free and paid, and its how-to guides cover the common questions, including using WPML with a theme. We support the theme code and fix our own mistakes.

Polylang is a free alternative to WPML. When you install it, its language menu appears in the header, as with WPML. Read the Polylang documentation and Translating with WPML or Polylang.