Describe the bug
I would like to prefix all urls by my locale slug. For example, english would be on a domain.com/en/... and all the austrian articles would be on domain.com/at/... i do not wish to have domain.com/ urls and would redirect them to the default locale if someone navigated to "/". however, when i set this, all the links generated in control panel stop working, because they generate /en/cp, while cp still works on url /cp.
setting "$control_panel" to 'sk/cp' doesn't work neither, as then the control panel generates links like /sk/sk/cp.
Describe the bug I would like to prefix all urls by my locale slug. For example, english would be on a domain.com/en/... and all the austrian articles would be on domain.com/at/... i do not wish to have domain.com/ urls and would redirect them to the default locale if someone navigated to "/". however, when i set this, all the links generated in control panel stop working, because they generate /en/cp, while cp still works on url /cp.
setting "$control_panel" to 'sk/cp' doesn't work neither, as then the control panel generates links like /sk/sk/cp.
To Reproduce Steps to reproduce the behavior:
Expected behavior A working control panel that generates correct control panel links, regardless of default locale's root url
Environment details (please complete the following information):