legal_text translation in Checkout page
-
Hi there, I hope someone has an idea:
I use Woocommerce Germanized and WPML for a shop running in DE and EN. I cannot find a way to translate strings like “woocommerce_gzd_legal_text”. Whatever I write in the field will be shown in checkout – disregarding the language.Woocommerce Germanized saves texts like woocommerce_gzd_legal_text or woocommerce_gzd_legal_text_error in wp_options. In terms.php the function wc_gzd_get_legal_text() calls without any translatable text string and therefore gets the string with get_option( ‘woocommerce_gzd_checkout_legal_text’ ).
Mind, there is a translatable string in woocommerce_germanized that sound close to right “With your order, you agree to have read and understood our {term_link}Terms and Conditions{/term_link} and your {revocation_link}Right of Recission{/revocation_link}.” as default text in the text field. That does not seem to be used anywhere at least as a fall back.
Does anyone have an idea how to
translate these strings without changing plugin files
apply a filter to change to own registered and translatable string
???
- The topic ‘legal_text translation in Checkout page’ is closed to new replies.