• Resolved Igor Lopasovsky

    (@igorlopasovsky)


    Hey Fernando,

    Probably a bug with Polylang integration, not sure though. As soon as I translated all strings in Polylang I get this strange behaviour. In my primary language (Slovak) the “REQUIRED” cookie category behaves like “CHECKED” (there’s a toggle button instead of “Required” label) and “UNCHECKED” category behaves like “CHECKED” (it’s checked by default). In English language all is good.

    You can check here:
    Slovak language https://viaiuris.sk/
    English language https://viaiuris.sk/en/

    It was working perfectly until I started translating strings in Polylang.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Fernando Claussen

    (@fclaussen)

    Hmm.
    I see.

    The problem is, when I did the polylang/wpml compatibility, I had to allow ALL options to be translatable, even though you shouldn’t translate all of them.

    You probably translated the status from required to something else.
    There’s the word Required and there’s a status word called required that should not change.

    If you translate that one, it will break the “required” status and display the toggle.

    All other possible options for the status internal wording should not change.

    For the checked/unchecked situation, the code is looking for the word “off” that is probably translated.

    Thread Starter Igor Lopasovsky

    (@igorlopasovsky)

    Thank you very much for advice and help Fernando. You were right. I translated both “off” and “required” in Polylang. As soon as I revert it back, everything is fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possible Polylang bug’ is closed to new replies.