How to switch language on login page?

I need to be able to switch languages for login page, can’t find how to do it. Expecting something like https://example.com/panel?language=en or https://example/panel/login?language=en

Can you provide some more context under which condition you want to redirect which user to which location?

Maybe you can set the Panel language conditionally.

Website is multilingual, and visitors of website can be different language speakers, so this login page https://example.com/panel should be shown in their native language. They start from frontend, so if someone selected EN language in frontend, and then goes to login page, it should be in same EN language.

If it’s not possible, we can do login on frontend, but then still question, how to do password reset in selected language? As password reset seems to work from https://example.com/panel, which has only one language.