_e () function – string is not translated
-
Hello guys,
im using the following code in the woocommerce plugin, under loop/no-products-found.php
?> <p class="woocommerce-info"><?php _e( 'Unfortunately no matching articles were found online. Write us your request, we will contact you immediately if we can offer you a suitable article from our offline network: <a href="mailto:[email protected]">[email protected]</a>', 'woocommerce'); ?></p>
my issue is that this string with _e is not translated. It appears in english all the time. The original code, before I changed it, looked like this
<p class="woocommerce-info"><?php esc_html_e( 'Unfortunately no matching articles were found online. Write us your request, we will contact you immediately if we can offer you a suitable article from our offline network: [email protected]', 'woocommerce' ); ?></p>
This one was translated into German automatically.
What am I doing wrong?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘_e () function – string is not translated’ is closed to new replies.