WPML

问题概述

如果您使用的是 Flatsome 主题,在尝试翻译添加到 WooCommerce 产品的自定义选项卡时,您可能会遇到困难。

临时解决方法

  1. 前往WPML设置自定义 XML 配置,添加以下 XML 并保存:
    XML
    <wpml-config>
      <custom-fields>
        <custom-field action="translate">wc_productdata_options</custom-field>
      </custom-fields>
      <custom-fields-texts>
        <key name="wc_productdata_options">
          <key name="*">
            <key name="*" />
          </key>
        </key>
      </custom-fields-texts>
    </wpml-config>
  2. 编辑原始产品并保存。
  3. 再次翻译该产品。自定义选项卡标题、选项卡内容和“新建”气泡文本现在已包含在翻译中。

所有已知问题

需要有关此问题的帮助?

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