• Resolved Gregosz

    (@gregosz)


    Hi!
    I have a problem with Language Switcher.
    After enabling it, in Chrome DevTools I found incomplite html code:

    1) “/.svg” should be: “/en.svg”

    English flagEnglish

    2) <ul class=”lang-dropdown-menu”>

    In my testing domain it works ok:

    <ul class=”lang-dropdown-menu”>
    <li class=”lang-dropdown-menu-item”>
    Polski

    <li class=”lang-dropdown-menu-item”>
    English

    Grzegorz

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Ales

    (@alesmal)

    Hi @gregosz, could you share your website URL?

    Thread Starter Gregosz

    (@gregosz)

    Sure,
    https://batiment.com.pl/

    and…
    I have no idea how to use message filed in WordPress support page. I mean how to insert html code to be see as html code.

    Thread Starter Gregosz

    (@gregosz)

    I would like to add that I am surprised.
    I have exactly the same two pages on two domains. One test and one production. And there is a problem with this production domain.
    Grzegorz

    Thread Starter Gregosz

    (@gregosz)

    Plugin Author Ales

    (@alesmal)

    Yeah, it’s broken for some reason, could you paste a screenshot of your language Polylang configuration?

    Ales

    Thread Starter Gregosz

    (@gregosz)

    I am not experienced in using WordPress suppport page and have no idea how to attach or paste screenshot. In the message field I can paste only text.

    So I can tell you that in Polylang I have added only two languages: Polish and English.
    Thats all. I did nothing more in Polylang. So at the moment there is no additional settings there.

    Thread Starter Gregosz

    (@gregosz)

    So I didn’t add any entries or pages to the default language. In my case it is Polish.

    Plugin Author Ales

    (@alesmal)

    Thanks @gregosz, I did same thing, and it seems to be working fine.
    Could you please send the screenshot to [email protected]?

    thanks Ales

    Thread Starter Gregosz

    (@gregosz)

    The reason for the Language Switcher not working was as follows:
    In Polylang we have to have at least one translated page or entry for every language.
    Now it works beautifully!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Language Switcher issue, incomplite html code’ is closed to new replies.