For the multilingual Drupal 8 based website I have created a view with a list of nodes. On the top of the page I have implemented a custom block with a autocomplete textfield, the textfield 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 about is after submitting the textfield, update the fields output. But for this I would need to create some URL for the fields output. How can I create a URL for the fields section with Drupal tools? Is it possible to distinguish the areas on the view? Please, help.