adohogne Posted May 31, 2018 Share Posted May 31, 2018 Hello, Don't know if I'm in the right place to post this... I have a problem in the backoffice of one of my clients : I can't delete languages on the 'Localization' page. Prestashop version is 1.6.1.18 When I try to delete a language (any of them, enabled or disabled) I get this error : "You cannot delete the language currently in use. Please select a different language." I found where the problem comes from : - When deleting a language, Prestashop calls the "AdminLanguages" controller, with query string parameters "id_lang=X" and "deletelang". This is normal. - But I noticed that when using the "id_lang=X" parameter in the query string, the specified language "X" becomes the active language in the BO. (For example, if I try to delete the Spanish language, I will get the error message, but part of my BO (menu and some other texts) will show in Spanish) - So, if "id_lang=X" makes X the active language, I'll never be able to delete it... :-) Did any of you already have this problem ? Or is it normal (I doubt it) ? I can reproduce this behavior on any BO page : if I add "id_lang=X", the active language changes. I tested with another prestashop installation that I have (version 1.6.1.12), the "id_lang=X" query string parameter doesn't change anything to the active BO language... Can you help me please ? Thank you very much, Best regards, AD-DEV - Arnaud Dohogne Link to comment Share on other sites More sharing options...
afshop Posted October 7, 2019 Share Posted October 7, 2019 Hello, I have the same issue. Did you solve it? Let me know. Thanks Angela Link to comment Share on other sites More sharing options...
Luk001 Posted December 1, 2019 Share Posted December 1, 2019 Hello , I have the same problem , Do You find a solution ? Link to comment Share on other sites More sharing options...
RemQaz Posted October 25, 2020 Share Posted October 25, 2020 Just if it's helpful. I've been facing same problem in a clean installation, after all, it's not an issue, at least not for me. I found the language I tried to delete actually was in use, in my case by one of the users o employees, actually the admin. So when in admin's profiles I changed its language, then tried to delete the language, and Voilà! problem solved. Please give feedback if it helps someone else. Link to comment Share on other sites More sharing options...
RayBez Posted January 30, 2024 Share Posted January 30, 2024 Worked like a charm for me on v8.1 after a fresh install. Link to comment Share on other sites More sharing options...
Andy C Posted March 2, 2024 Share Posted March 2, 2024 Thanks V8.4.. Worked for me too... Now I just hope I haven't done any other major damage Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now