[Bug Fix] Translation doesn’t translate everything
-
Hello it misses the string
A link to set a new password will be sent to your email address.
My solution:
add_filter( 'gettext', 'bbloomer_translate_woocommerce_strings', 999, 3 ); function bbloomer_translate_woocommerce_strings( $translated, $untranslated, $domain ) { if ( ! is_admin() && 'woocommerce' === $domain ) { switch ( $translated ) { case 'A link to set a new password will be sent to your email address.': $translated = 'Your translate :)'; break; } } return $translated; }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Bug Fix] Translation doesn’t translate everything’ is closed to new replies.