WPML

问题概述

如果您使用的是 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>

所有已知问题

仍然遇到此问题?

如果更新无法解决问题,请提出支持问题,我们将与您一起排查。