WPML » Multilingual

Multilingual

Running WordPress in multiple languages

Posts list with language selection

Posts list with language selection

Once multilingual operation is enabled, language options are added to the admin screens.

You can:

  • Create contents in any language
  • Add and edit translations
  • Search for posts, pages, tags and categories in each language or in all languages

When you create new contents, you will choose in which language it is. Then, you can add translations to other languages.

Arranging multilingual contents for visitors

Language Negotiation

Language Negotiation

WPML lets you select how to arrange contents in different languages.

You can use a language parameter (like example.com/?lang=es), language directories (example.com/es/) or completely independent domains.

When visitors go to one language, everything appears in that language. WPML will also set the correct language variables so that the theme localization kicks in.

Setting up multiple languages

The getting started guide includes a section about language setup.

Before you can enable multiple languages for your site, you’ll need to select the language in which existing contents are written. Since WPML associates each page or a language, it needs to know what to do with existing contents. From that point, you can add more languages to the site and add translations for contents.

Creating and viewing translations

language switcher with flags

language switcher with flags

WPML doesn’t care what’s translated to other languages and what’s not. When you create new pages or pages, you will select which language they’re written in. Then, you can add translations.

The language switcher that WPML creates help move between languages.

WPML comes with its drop-down language swithcer which includes country flags, native and translated language names (all optional). This language switcher can be included in the theme using a single line of PHP, or as a widgets. WPML also makes it easy to build custom language switchers, which can be useful for many purposes.

Theme localization

WPML will set the language locale and load the theme’s .mo file. It also includes a handy locale administration panel that lets you select the desired locale for each language and checks that the localization (.mo files) exist for both the WordPress texts and the theme’s texts.

In addition, WPML makes it easy to display a theme differently in each language. A global PHP variable will tell the currently active language. This variable can be used to display the theme different in each language. The easiest way to apply different visual display in different languages is to load a CSS that depends on the active language. This can give your site a completely different look in each language, with minimal work.

3 Responses to “Multilingual”

  1. Hi,
    how much does this translation service cost?

    thanx

  2. [...] is a intriguing idea. You install the Icanlocalize plugin and [...]

  3. [...] ICanLocalize Translator & ICanLocalize Comment Translator [...]

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>