• Resolved jplew

    (@jplew)


    In my default English version of the post, my div is rendered like so:
    <section id="section-3">

    In the Russian translation, it looks like this: `
    <section id="%d0%b3%d0%b0%d1%80%d0%bc%d0%be%d0%bd%d0%b8%d1%87%d0%bd%d0%b0%d1%8f-%d0%b6%d0%b8%d0%b7%d0%bd%d1%8c-%d0%b2-%d1%88%d1%80%d0%b8-%d0%bc%d0%b0%d1%8f%d0%bf%d1%83%d1%80-%d0%b4%d1%85%d0%b0%d0%bc%d0%b5">

    I think it’s trying to translate the CSS id’s. Can you please tell me how to avoid this?

    My permalinks are set to Post Name. I am using a static front page. There’s a screenshot of my settings here: http://imageshack.com/a/img812/2566/cljs.png

    https://ww.wp.xz.cn/plugins/polylang/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jplew

    (@jplew)

    ok, I figured it out. My problem is that my theme is using the page slug as a section ID. Polylang is translating the page slug, based on the title of the translated post.

    I know that I can manually change the slug on the edit page, but is there a way to prevent Polylang from translating the slug, by default?

    Thanks! Great plug-in by the way.

    Plugin Author Chouby

    (@chouby)

    Polylang does not translate anything. WordPress creates the default slug based on what you entered as title. And it should work well with Russian characters. I believe that the problem is with your theme which for some reason does not work well with Russian characters. Disable Polylang and I am quite sure that you will have the same problem.

    Thread Starter jplew

    (@jplew)

    you are right, sorry for the confusion on my part. I’ll talk to the theme developer. Thanks a lot.

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

The topic ‘CSS classes not encoding properly’ is closed to new replies.