setting a different locale url ruins control panel links

i have a fresh statamic installation and i would like to use 2 languages, one for my native language and one for english like this

sk sk_SK Slovak http://my-dev-website.test/sk en en_US English http://my-dev-website.test/en

however, when i do this, all the links generated in control panel stop working, because they generate /sk/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.

is this a bug? how to override this issue?

>>>>>>> Unanswered <<<<<<<
1 Reply