I was navigating thought Koha and once I hit addbook the UI switched to French (my browser set Accept-Language en-GB,fr;q=0.9,es;q=0.8,en;q=0.7) I don't have the cookie lang. No idea what happened but I think the "$lang" variable in the controller might conflict with... a global $lang? I don't have time to investigate more at the moment.
Created attachment 194442 [details] [review] Bug 41989: Rename $lang in addbooks I was navigating thought Koha and once I hit addbook the UI switched to French (my browser set Accept-Language en-GB,fr;q=0.9,es;q=0.8,en;q=0.7) I don't have the cookie lang. No idea what happened but I think the "$lang" variable in the controller might conflict with... a global $lang? It actually switched to French then Italian and German...
See screenrecord posted on MatterMost: https://chat.koha-community.org/koha-community/pl/m6ketiy9ypfxbryujdr3eq4qgw