Hide or translate search parameters from url

Right now i’m developing a yii2 powered application, and it needs to support 2 languages. When searching in a gridview, the resulting url is something like this:

books/?BookSearch[code]=&BookSearch[name]=pet

Is there a way to translate or hide the search parameters? (hiding would probably be the best option for me). The books/?BookSearch part could even stay the same, what i want to change is the attributes (in this case code and name)

by default fiorm is submitted using a get request and search params are sent as url query params which are visible to the end user, this is default behavior you could try modifying this by overriding the behavior and send a post request instead. it would require significant effort see following github issue on the topic