Home » Documentation » Getting started guide » Language Setup

Language Setup

The languages section allows you to turn a WordPress site multilingual.

To manage languages, go to WPML->Languages.

Site Languages

Choosing languages for the site

Choosing languages for the site

Language switcher

To let visitors select their language, you can add a language switcher to your theme.

WPML’s standard language switchers include a drop-down languages list and a list of languages for the site’s footer.

Enabling the language switcher widget

Enabling the language switcher widget

WPML can enable the language switcher widget automatically for you as a widget in one of the sidebars.

Alternatively, you can add with via the Widgets screen or manually to your theme using the following PHP code:

<?php do_action('icl_language_selector'); ?>

Choosing what to display in the language switcher

You can choose what to include in the language switcher. WPML can display a country flag, the native language name and the language name in the page’s language.

You can also choose colors for all parts of the language switcher.

Language switcher options

Customizing language switchers

Of course, you can style WPML’s language switcher so that it matches your site’s design. You can also create custom language switchers and add them to the site’s theme.

To change the flags that appear next to languages, you will need to edit WPML’s flags table in the database. You can find instructions for that in WPML’s table structure.

Advanced language setup options

Besides the basic setup, WPML offers additional options.

To these options, WPML needs to run in Advanced mode (click on the Advanced button at the top of WPML’s configuration page).

Visitor language selection

WPML lets you choose how to organize contents in different languages. You can select between:

  • Language directories (like wpml.org/es/ for Spanish and wpml.org/de/ for German).
  • Different domains per language
  • A language parameter added to the URL

Admin language

The default language is normally also the admin language. To see the WordPress admin in a different language, use the Admin language setting.

Websites that have several authors, each writing in a different language may need to have a different admin language per user. Individual users can select their admin language in their profile page.

3 Responses to “Language Setup”

  1. [...] und die Möglichkeit, meine Seiten mehrsprachig zu betreiben. Geht das? Klar geht das! WPML verleiht Wordpress nicht nur bei der Mehrsprachigkeit Flügel, sondern erweitert Wordpress auch um einige sehr nützliche CMS-Funktionen.1 Und außerdem [...]

  2. Peter Schmidt says:

    Is it normal that the language switcher works only in main page? Doesn’t matter which language is used. If I go through to other pages I can’t switch the language. Thanks.

  3. Peter Schmidt says:

    Sorry, I was stupid…
    No translated page, no active language selector.

Leave a Reply

Please leave here comments about this page only.
For technical support and feature suggestions, head to our forum. We are waiting there!

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">