There are 2 languages of the site. Default and other. how it looks like:
http://example.com/some_page - default language
http://example.com/ru/some_page - another language
how can you create routes so that when you receive the ru prefix, the locale changes, you do not need to duplicate all the routes that are registered in the default language
so. we received a request with the prefix->change the locale-> remove the prefix from the routing so that all other routers that are defined by default will continue to work