I created a custom drop-down language bar and I want that whenever a user will choose a language from that drop-down the page automatically will be redirected to the home page of that certain language. Here are two screenshots for your convenience.
Here is the basic idea of the process:
1. As default, the user will enter the english homepage (mysite.com/en).
2. When a user will click on a different language using the drop-down bar I made, such as German, the page will be transferred automatically to the German homepage (mysite.com/ger).
Any suggestion on how to make this happen?