When setting queries in the URL for posts on a page then changing the language by polylang plugin it resets the link and gets rid of the parameters and queries. The page is built on Wordpress on a custom theme I develop. ./en/projects/?tag_kem_en%5B%5D=three-springs gets changed to ./projekty/
I change the language with this code:
pll_the_languages($args);