Jump to content

Recommended Posts

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
 

screenshot.png

Share this post


Link to post
Share on other sites

Hello, I have the same issue.

Did you solve it?

 

Let me know.

 

Thanks

Angela

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More