WPML
状态
已解决
相关插件/主题
YITH WooCommerce Request a Quote
主题标签
Compatibility

问题概述

如果您使用的是 YITH Request a Quote for WooCommerce Premium 插件,在通过 Send Quote 按钮发送给客户的电子邮件中,您可能会遇到未翻译的字符串。

临时解决方法

在继续操作之前,请确保为您的站点进行完整备份


  • 打开 …/wp-content/plugins/yith-woocommerce-request-a-quote-premium/templates/emails/customer-details.php 文件。

  • 找到第 25 行。

  • 将:
    <h2 style="margin-top: 40px"><?php esc_html_e( 'Customer's details', 'yith-woocommerce-request-a-quote' ); ?></h2>

  • 替换为:
    <?php
    	load_plugin_textdomain('yith-woocommerce-request-a-quote', false, plugin_basename(dirname(__FILE__)) . '/languages/');
    ?>
    <h2 style="margin-top: 40px"><?php esc_html_e( 'Customer's details', 'yith-woocommerce-request-a-quote' ); ?></h2>

所有已知问题 →