For the multilingual website based on Drupal 8, I created a view with a list of nodes. At the top of the page, I've implemented a custom block with a self-completion text field, the text field returns a JSON response with all available languages. After selecting the language, I want to update the fields (titles), so that they are displayed in the language selected by the user.
The approach I am thinking of is after submitting the text field, updating the output fields. But for that, it would be necessary to create a URL for the exit of the fields. How to create a URL for the fields section with Drupal tools? Is it possible to distinguish the areas on the view? Please, help.