• Resolved ollybach

    (@ollybach)


    hmm,
    this is kind of weird….

    the line on the checkout page that reads “I have read and accept the terms & conditions” (en) and “Ich habe folgende Bedingungen gelesen…etc” (de)
    ALWAYS uses the german translation…

    i can sort this out by adding
    remove_filter( ‘gettext’, ‘ddw_wcde_gettext_read_accept_string’, 10, 4 );
    remove_filter( ‘gettext’, ‘ddw_wcde_gettext_terms_string’, 10, 4 );

    to my functions file, but i guess that’s not really the way it was intended ?! (or am i doing something stupid here ?)

    http://wordpress.org/extend/plugins/woocommerce-de/

Viewing 1 replies (of 1 total)
  • Plugin Author David Decker

    (@daveshine)

    @ollybach:
    Thanks for your feedback! Yes, if you just want to remove these strings and not use my “suggestions” then this is the best way to do so! It also is good from performance point of view.

    In one of next versions I will also make a setting option to disable all or very essential gettext filters.

    In short: you did the right thang!

    Thanks, Dave 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘accept t&c translation’ is closed to new replies.