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.

23 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.

  4. Catus Lee says:

    I tried to set up my blog with WPML but a few things are yet to be resolved:
    1. I use Feedburner to publicize new blog post. While using WPML, only the first post in the primary language is publicized. Can it be that all posts be publicized?
    2. How about the RSS feed? If someone subscribed to my sites RSS feed (also via Feedburner), will posts of secondary language be fed to the subscriber?
    3. Pages not in the languages will not be displayed in the top menu (e.g. About, Contact,…) Does it mean that I have to translate all pages to make them appear?

    Hope this can be resolved.

  5. Nimesh Kumar says:

    Hi,

    I have used your WPML language plugin for makiing multilingual wordpress site.Now All is working fine but i want to set italian as a default language of the wordpress frontend.

    I am logged in as an administrator of the site and when i am trying to configure the plugin it shows ” you dont have the premission for this ” but still i am looged in as administrator.

    Please let me know how i can change it.

    • amir says:

      This shouldn’t happen. Is there any chance you’re also using a different plugin for controlling use privileges?

      If you need more help, better open a thread in our forum.

  6. exploriada says:

    I have installed WPML and added Polish as additional language (English is default) and translated one of the posts to test the plugin. It seems that Polish cases do not work. I tried french, finish and spanish case – all work fine.
    Why is that?

  7. Murali Kumar says:

    For all arabic pages the header needs to have ‘ ‘in its header.

    But it has dir=”ltr”.

    How to achieve this?
    please help.

  8. julien says:

    big problem: “It looks like languages per directories will not function”

    I guess I didn’t check all…
    any ideas?
    way?

  9. Thanks I need to figure out more how to use this… need to translate my page to tree language.

  10. Sanjay says:

    Hello To ALL!!!

    I have RUNNING one word press blog WITH WPML 1.7.7.
    website are in 11 languages.
    i have use costume language switcher.
    how can i change language flag sequence on front side?
    Language Sequence On Front Side: EN, ES, DE, FR, AR, HU, IT, JP, NL, RU, TR
    Require Sequence On Front Side : EN, DE, FR, ES, IT, NL, TR, AR, RU, HU, JP

    WAITING FOR YOUR REPLY.

    THANKS,

    Reply

  11. Gregg says:

    I’m trying to set up this site to have two primary language options, but then also allow to publish versions of certain posts in additional language. So, for example, if I have a single article in Italian, I’d like to make it available in a listing of Italian articles, but I don’t want to translate the whole theme when viewing them, just simple have the translation available as a related article to the original language version. Is it possible to set up WPML in this manner?

  12. Andy Jones says:

    I have several languages set up, but when i click on ‘home’ in any language, it takes me to the English home – but I want it to go to the home page of the language I’m in – is this possible?

  13. Matt says:

    I chose the first, language directory option for a second language, but doesn’t that folder now need to be populated? Simply pointing to that folder doesn’t place the content there…I must be missing something obvious but I need some help please.

    I’ve checked everything else….htaccess, permissions, etc. everything appears to be in order…

    • amir says:

      We can help you check this on your server and see what’s wrong. You can get a support subscription and we’ll be able to dedicate the required time for this.

      • Matt says:

        I’m just evaluating your product, and now you want access to my server and money??? Thanks for the helpful suggestions and your AWESOME offer, but……NO!

        Pure genius! Create a buggy plugin, then sell “support subscriptions”. Good luck with that….

        • Nic says:

          Matt — the forum is free. Ask your question there. Consider the fact that it’s *possible* the plugin is fine, but your server is screwed.

          no need to be a d*ck about it. plenty of people are quite happy with the WPML plugin and the support they provide.

  14. Michiel says:

    Is there a setting to hide the language switcher in the footer if there is no translation of the current page or post yet? I want to translate some key pages, but not all pages. So I’d like the footer to only show the language switcher if there is actually a published page in a different language.

  15. John says:

    Is it possible to make the default language to use a custom URL http://www.example.com/en/ even if the default is English. It helps if we change the default language later, and the search engine would not penalize us, because the links will stay there, otherwise the way it works now, changing the default language, it turns the old URL not being the same which is not good, I think.

    • amir says:

      No, WPML doesn’t do it. The default language sits at the blog home.

      • John says:

        Cam we work to make an option to use the custom URL for default language as well ?
        As I said before, it may be useful if one changes the default language later.

  16. Sanjay says:

    Hello To ALL!!!

    I have RUNNING one word press blog WITH WPML 1.7.7.
    website are in 11 languages.
    i have use costume language switcher.
    how can i change language flag sequence on front side?
    Language Sequence On Front Side: EN, ES, DE, FR, AR, HU, IT, JP, NL, RU, TR
    Require Sequence On Front Side : EN, DE, FR, ES, IT, NL, TR, AR, RU, HU, JP

    WAITING FOR YOUR REPLY.
    i didnt get ans……….
    please reply me its urgent!!!!

    THANKS,

    Reply

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="">

Subscribe without commenting