Skip to content Skip to sidebar

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by Goran Deak 1 year ago.

Assisted by: Noman.

Author Posts
September 8, 2025 at 11:29 am #17383392

Goran Deak

Background of the issue:
I am trying to ensure that the filter widget on my site, hidden link, retains selected filters when changing the language. The filters are taxonomy-based. I am following documentation that includes translating taxonomy terms, enabling post object translation, setting custom fields translation, and using WPML's 'Language Switcher → Preserve URL arguments' option. Additionally, I might need to use custom PHP remapping if filters don't display correct results after switching language.

Symptoms:
When changing the language of the site, all selected filters are not retained, and the widget is reset.

Questions:
How can I ensure that selected filters are retained when switching languages on my site?
What steps should I follow to correctly configure WPML and JetSmartFilters for taxonomy-based filters?