I have set up a page with two languages (English, German). I have two users, one should get the German backend and the other user only understands English, he should get the English backend. The frontend should be able to switch between the languages and the backend should always remain the same in the language. I have also set up a language switch for the website and I use the AdminToolbar. I also tried the following, but unfortunately it didn't help:
At the moment I'm rather confused with the languages. The backend always jumps with the language and the menus can no longer be easily adapted with their translation. I now strongly suspect that this is due to the "recognition and selection" function and the order of the recognition methods. But so far I haven't found an optimal order for the recognition methods myself. So first it should show the language for the backend correctly and then control the frontend via the paths "de" and "en".
But I would be very grateful if you could help me. Oh, I use the latest Drupal 9 and use the Drupal Core standard modules for the translations. So I would be grateful for any tips! I've already done some research, but haven't found the right solution yet.
Thanks and greetings