Support » Plugin: GDPR Cookie Consent » Q translate X to translate Cookie Law Info

Viewing 4 replies - 1 through 4 (of 4 total)
  • Richard

    (@richardashby)

    You are using the wrong syntax, it is:

    [:en]example[:es]ejemplo[:]

    If you have further issues your best bet is first checking the qtranslate documentation to make sure you’re using it correctly. If you still have issues post back here.

    Frequently Asked Questions

    Cheers

    Hi!

    I translated correctly everything including the message and buttons, but when I try to put a translation on my “read more” link url it just deletes it. This is what I’ve tried:

    [:es]http://mysite.com/politica-cookies[:en]http://mysite.com/en/cookies-policy[:]

    Also I’ve tried translating only the part that changes, but it encodes the qtranslate tags and the url is broken:

    http://mysite.com/[:es]politica-cookies[:en]en/cookies-policy[:]
    
    http://mysite.com/%5B:es%5Dpolitica-cookies%5B:en%5Den/cookies-policy%5B:%5D

    By the way, great plugin, simple and with everything I need. Thanks!

    RolandasZa

    (@rolandasza)

    Hi,

    I have same problem. Has anyone found solution to this one? 🙂

    Thanks 🙂

    RolandasZa

    (@rolandasza)

    I found how to fix this 🙂

    In file wp-content\plugins\cookie-law-info\admin\cli-admin.php, line 318 you have this:

    case 'button_2_url':
    $ret = esc_url( $value );
    break;

    change to:

    case 'button_2_url':
    $ret = $value;
    break;

    You’ll be able to save url with q translatex syntax.

    But this will get deleted on next plugin update, so watch out 🙂

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