• Resolved AngeloLazzari

    (@angelolazzari)


    HI, as you can see on the checkout page, the message appears only in English. I load loco translate and no translation string in there, I tried with poedit opening the pot file…but no sign of the sentence… where is it?

    thank you very much!
    Angelo

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author YITHEMES

    (@yithemes)

    HI @angelolazzari,
    we have update the language file of the plugin. Could you tell us if now you can translate the string?

    Thread Starter AngeloLazzari

    (@angelolazzari)

    yep, the string is now present!!! great job!!! thank you!!!

    Do you want to insert the spanish translation already?

    EN: I accept to receive review requests via email
    ES: Acepto de recibir solicitudes de opinión por correo electrónico

    One more thing, do you think you can put the message in the bottom section? at the top of the term checkbox? in this way, we would have all the checkboxes in the same place.

    thank you
    Angelo

    Plugin Author YITHEMES

    (@yithemes)

    Hi @angelolazzari,
    we will provide very soon to translate them.

    About the checkbox position, you can try to put this snippet in the functions.php file of your theme:

    if ( function_exists( 'YITH_WRR' ) ) {
    	remove_action( 'woocommerce_after_checkout_billing_form', array( YITH_WRR(), 'ywrr_show_request_option' ) );
    	add_action( 'woocommerce_review_order_before_submit', array( YITH_WRR(), 'ywrr_show_request_option' ) );
    }
    Thread Starter AngeloLazzari

    (@angelolazzari)

    hi, ok it’s working well. But the (optional) string is not translatable… do you mind including it in the string? I tell you this because if it would be mandatory it should have the red asterisc…so I think it is not necessary… in my point of view…

    thank you very much, guys!
    Angelo

    Plugin Author YITHEMES

    (@yithemes)

    Hi @angelolazzari,
    that checkbox cannot be mandatory due to GDPR. We will update the plugin localization very soon. If you need to change the text of the checkbox you can use this snippet

    add_filter('ywrr_checkout_option_label', 'my_ywrr_checkout_option_label');
    
    function my_ywrr_checkout_option_label(){
    	return 'YOUR CUSTOM STRING';
    }
    
    Thread Starter AngeloLazzari

    (@angelolazzari)

    oookkk thank you great job!!!

    Angelo

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘GPRD sentence appears only in english’ is closed to new replies.