Overview of the Issue
When using WooCommerce Fast Cart with WPML, the “Button text” setting of the cart button and the text of a [fast_cart text="..."] button stay in the default language on translated pages.
Workaround
- Go to WPMLSettingsCustom XML Configuration, add the following XML and save:
XML
<wpml-config> <shortcodes> <shortcode> <tag>fast_cart</tag> <attributes> <attribute>text</attribute> </attributes> </shortcode> </shortcodes> </wpml-config>
- Add the cart button to your pages with the
[fast_cart text="..."]shortcode, and translate the pages. The button text then translates with the page. - The “Button text” setting has no workaround at the moment.