• Resolved PeterBocan

    (@peterbocan)


    Hello guys,
    my wordpress blog has two options: English/Slovak language set, when I visit Slovak mutation, language switcher offers me English mutation, that’s ok, but when I am on the English site, the language switcher does not offer me Slovak mutation of the site… I feel quite dumb… what have I missed?

    I am using the latest versions of WP and the plugin.

    http://wordpress.org/plugins/polylang/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Chouby

    (@chouby)

    Did you write any content in Slovak?

    Thread Starter PeterBocan

    (@peterbocan)

    Not published yet.

    Plugin Author Chouby

    (@chouby)

    So Polylang does not create a link which would lead to an ugly 404 error. That’s why the language switcher does not offer Slovak.

    Thread Starter PeterBocan

    (@peterbocan)

    So I am not allowed to have posts only in English or only in Slovak?

    Plugin Author Chouby

    (@chouby)

    You can do that if you want. But the language switcher will not display a link to a non existing content.

    Thread Starter PeterBocan

    (@peterbocan)

    I see, but it should work on main page, right?

    Plugin Author Chouby

    (@chouby)

    No. If you haven’t any content written in Slovak, even your homepage does not exist. So it can’t work.

    If you are using a static front page, then translate it in Slovak.
    If you are displaying posts on front page, create at least one post in Slovak.

    Thus some content will be available for the homepage in Slovak and the language switcher will display a link to the Slovak content (if no translation is found for an English page or post, it will link to the homepage is Slovak).

    Thread Starter PeterBocan

    (@peterbocan)

    Ah, now it works fine. Thank you, I appreciate your help. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Two language variants – one language switcher option’ is closed to new replies.