Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Polylang (and WPML): Custom woocommerce tabs are not duplicated for translation

Home / Forums / Virtue Theme / Polylang (and WPML): Custom woocommerce tabs are not duplicated for translation

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
March 10, 2017 at 2:11 am

Hi,

polylang pro and wpml have a nice feature that you can copy over the original content when a translation is added:

This makes the workflow for translating content much easier because the markup, images, links, galleries are already in place and do not need to be hand-copied each by each from the Visual Editor.

For Virtue Premium this does not work for the three custom woocommerce tabs. I think, they are not copied by default because they are not in the wpml-config. Custom fields can be added to the whitelist thanks to wpml-config.xml file.

Take the woocommerce Germanized plugin as an example:

Here the custom field _mini_desc is copied (that is duplicated) while the others are synchronized. The same way it would be good if the 3 custom woocommerce tabs of Virtue would be added to the virtue wpml-conflg.xml as well with attribute “copy” so they can be duplicated initially.

See the doc of the wpml-conflg.xml fie:

Could this be added to Virtue? I guess it’s just a small change in the virtue wpml-config.xml. You can also past the new wpml-config.xml here, then I can re-test it if you want (and could immediately use it)

  • The forum ‘Virtue Theme’ is closed to new topics and replies.