[BUGFIX] Fixed bug with multiple localized urls

__Tasks:__

- [x] test coverage
- [x] gather feedback for my changes
- [ ] submit changes to the documentation


__Informations:__

| Q             | A
| ------------- | ---
| Tests pass?   | yes
| Fixed tickets | none
| BC Breaks     | none
| Doc           | none