Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi, the backend isn’t setup for translations unfortunately- at some point I will do that but I’ve had an extremely busy last few months and the near future isn’t looking much clearer. If you want a multilingual cookie notification then you can use WPML (see the support forum here for instructions- thread is called WPML). All the best

    What do you want to translate? If just the Accept button – and everything else you can change in the dashboard – you have to go to editor, choose cookie-law-info/php/shortcodes.php go to

    /** Returns HTML for a standard (green, medium sized) 'Accept' button */

    and change

    ' . $colour . '">Accept';

    to whatever you want it to say.

    Hi, please don’t do it like that, there is a setting that lets you choose the text to display in the button. If you hack the code then it will be overwritten by the next plugin update. The same goes for all plugins and themes- don’t hack the code like that, if you need to you can write a pluggable function but that’s an entirely separate topic.

    To update the text go to the plugin settings page, open the “Customise Button” section and update the field to say e.g. “Ok” or whatever you’d like it to say in your language.

    Thank you for your reply.

    Unfortunately I’m using those 2 customizable buttons as well and [cookie_accept] isn’t customizable there.

    I’m fine with Accept coming back after every update as I only update plug-ins manually (and test them first on a test version of the website) so I am able to change it back the second it gets overwritten.

    I haven’t tested the code yet so can’t say for certain but I think you’ve stumbled across a bug there! That function should lookup the value in the ‘accept text’ field and display that, not hard code it to “accept”. I’ll add that to the list for things to fix in a future version. Nice one for finding that- thanks!

    Thank you

    Hi,
    any news on this issue?

    Hi,

    Have been swamped with work for several months unfortunately but I am now actively developing the new version of this plugin and have a working prototype, so watch this space πŸ™‚

    All the best
    Richard

    This is fixed in the next release, due later today. Once again, great job finding this bug- thank you for reporting it πŸ™‚ All the best, Richard

    Hello,
    thank you for continuously developing this plugin!

    I feel a bit lost as the where should I input my translation for accept. The plugin seems to take it from custom button anyway, and in my previous setup I was using 3 different buttons with different messages.

    Thanks in advance.

    Hi symp, I think you are maybe using the plugin incorrectly. If you wish to translate the cookie bar contents then you should use a plugin like WPML or qTranslate. Official support for WPML is coming very soon- look out for Cookie Law Info version 1.3

    I am using WPML and qtranslate.
    But where can I edit the text and the links for the plugin?
    Did not find it…

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

The topic ‘Is possible to translate the plugin?’ is closed to new replies.