Skip to content Skip to sidebar

Resolved by author

Resolved in: Flatsome 3.18.4

Topic Tags: Compatibility

Overview of the issue

If you are using Flatsome theme, you may encounter difficulties when attempting to translate Custom Tabs added to WooCommerce products.

Workaround

  • Go to WPML > Settings > Custom XML Configuration page.
  • Add the following 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 name="*"/>
          	</key>
          </key>
        </key>
      </custom-fields-texts>
    </wpml-config>
    
  • Do a small modification on the original product and save.
  • Translate the strings. Keep in mind that you may need to look for them in the Search box.