WPML

问题概述

将YITH WooCommerce Points and Rewards Premium插件与 WPML 配合使用时,翻译后的横幅不会显示在My points页面上,并且在翻译后的页面上客户的级别已隐藏。翻译内容无法获取横幅和级别设置。

临时解决方法

  1. 前往 WPML设置 并打开自定义 XML 配置选项卡。
  2. 添加此代码并保存:
    XML
    <wpml-config>
      <custom-fields>
        <custom-field action="copy">_status</custom-field>
        <custom-field action="copy">_priority</custom-field>
        <custom-field action="copy">_type</custom-field>
        <custom-field action="copy">_simple_position</custom-field>
        <custom-field action="copy">_action_type</custom-field>
        <custom-field action="copy">_action_target_type</custom-field>
        <custom-field action="copy">_link_status</custom-field>
        <custom-field action="copy">_link_url</custom-field>
        <custom-field action="translate">_name</custom-field>
        <custom-field action="copy">_badge_enabled</custom-field>
        <custom-field action="copy">_level_color</custom-field>
      </custom-fields>
    </wpml-config>
  3. 更新横幅和级别的翻译。

所有已知问题

需要有关此问题的帮助?

提出支持问题,我们将与您一起调查。