WPML

问题概述

当将 FooEvents for WooCommerce 与 WPML 一起使用时,翻译后的事件会丢失其路线、事件详情文本、选项卡标题、门票文本、感谢文本和门票电子邮件主题,并且会以默认语言显示场地。

临时解决方法

  1. 前往WPML设置自定义 XML 配置,添加以下 XML 并保存:
    XML
    <wpml-config>
      <custom-fields>
        <custom-field action="translate">WooCommerceEventsLocation</custom-field>
        <custom-field action="translate">WooCommerceEventsDirections</custom-field>
        <custom-field action="translate">WooCommerceEventsEventDetailsText</custom-field>
        <custom-field action="translate">WooCommerceEventsEventDetailsOverride</custom-field>
        <custom-field action="translate">WooCommerceEventsTicketText</custom-field>
        <custom-field action="translate">WooCommerceEventsThankYouText</custom-field>
        <custom-field action="translate">WooCommerceEventsEmailSubjectSingle</custom-field>
      </custom-fields>
    </wpml-config>
  2. 重新翻译事件产品。

所有已知问题

需要有关此问题的帮助?

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