WPML compatibility guide

annasta Filters plugin supports all the basic WPML options. To ensure the smooth work of our plugin in combination with WPML platform, you can consult the following checklist:

  • You need to have the Woocommerce Multilingual WPML component installed on your site to provide support for Woocommerce translations.
  • Always edit annasta settings (especially the preset settings) in the default language of the site. Sometimes changing the WPML language in a different tab of the same browser can lead to unpredicted switch of WPML language. When in doubt, reload the admin settings page to refresh the current language indicator:
  • Make sure that the hierarchical Woocommerce taxonomies (product categories etc) are translated and synced in WooCommerce > WooCommerce Multilingual > Categories > Hierarchy Synchronization before testing the filters, otherwise filtering will not function properly (AJAX and product counts may not work).
  • If the product counts display wrong values after you change some WPML options, please go to annasta Filters > Plugin settings, and push the Clear Products Counts Cache button at the bottom of the page.

You are welcome to use our Contact form for further feedback / questions / bug reports related to the annasta Filters compatibility with WPML plugin.

AJAX support

For AJAX filters to function properly, please make sure that WPML > Languages > Language filtering for AJAX operations (Store a language cookie to support language filtering for AJAX) is enabled.

When testing the work of AJAX filters on a WPML-supported site, please don’t open different languages in the tabs of the same browser. Use different browsers for different languages to avoid irregular results produced by the changing WPML language cookie “switching” the languages for AJAX queries.

Base slugs

If you use our plugin on WPML-translated archive pages, please remember that only latin characters are supported for built-in taxonomies  (categories / tags / product attributes) archive pages slug base translations!

You can review base slug translations for your product categories, tags, and attributes in the WooCommerce > WooCommerce Multilingual > Store URLs admin tab.

annasta String Translations

If you wish to use WPML String translation tool to translate the built-in strings of your annasta filter presets, please search for strings starting with admin_texts_awf_ prefix.