• Resolved stavroch

    (@stavroch)


    How can I translate the Cookie Consent plugin?

    I want to translate the “Heading Text”, “Notification Text” but I don’t know how.

    Can you help me please?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tim W

    (@timwhitlock)

    Have you read the beginner’s guide?

    If you need help with a specific plugin please provide a download link to it.

    Thread Starter stavroch

    (@stavroch)

    Yes I have already read the beginners guide.

    But the https://www.ads-software.com/plugins/uk-cookie-consent/ give a change to the users to type their own message in the pop up message. So this message cannot be translated with Loco Translate as I can see. Or if there is any other way to happen this.

    Regards,
    Stavros.

    Plugin Author Tim W

    (@timwhitlock)

    You are correct.

    The strings “Heading Text” and “Notification Text” are translatable only as labels for the form fields in the admin area.

    The values you enter into these form fields have not been made translatable via PO files. So as you say, Loco Translate (which is a PO file editor) has no way of letting you translate these values.

    At a very quick glance it seems the plugin offers various filters which can be used to alter these values. e.g. ctcc_heading_text. With some coding you could use these filters to look up translations.

    Can you put an example of use for the filter “ctcc_heading_text”?
    I’ll appreciate it. Thanks for this plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cookie Consent translate’ is closed to new replies.