glpi icon indicating copy to clipboard operation
glpi copied to clipboard

Wrong language selected for login panel

Open wojtek19022 opened this issue 2 months ago • 6 comments

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • [x] I have searched the existing issues

Version

10.0.18

Bug description

When trying to log in to a main panel i encountered weird issue. When i have more than 1 language in web browser, it selects by default english. I have to delete all other languages to make it select my actual language.

It appears despite having default language Polish on my web browser and system. I'm using Windows 11 and 10 OS.

I also tested it from a CMD level by a curl command and it didn't have to select correct language to display - Polish. On a Linux Ubuntu and Windows it both displayed polish for a login panel - It is a good behavior.

Please let me know if it was fixed because i didn't find solutions in changelogs and glpi forum

Relevant log output


Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

v10.0.18 GLPI extra plugins: ActualTime, GroupCategory, taskList

Anything else?

No response

wojtek19022 avatar Dec 10 '25 10:12 wojtek19022

GLPI 10.0.18 has been released on February. It is pretty hard to remember every fix done, so you should test on GLPI 10.0.22 by yourself to see if the problem persists.

Also, please indicate what is the request headers sent by your browser, it may help to investigate.

cedric-anne avatar Dec 10 '25 10:12 cedric-anne

Maybe that will suit your need better :) https://sla.envirosolutions.pl/. This is a url for our GLPI

wojtek19022 avatar Dec 11 '25 15:12 wojtek19022

Maybe that will suit your need better :) https://sla.envirosolutions.pl/. This is a url for our GLPI

Not really. The result depends on the headers sent by your browser. For instance, your GLPI's login page is correctly displayed in French on my machine, according to the sent headers (accept-language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7).

cedric-anne avatar Dec 11 '25 15:12 cedric-anne

Oh sorry my bad.

wojtek19022 avatar Dec 11 '25 15:12 wojtek19022

Microsoft edge: Image

DuckDuckGo:

Image

On a duckduck it displays english but on the microsoft edge it displays correctly polish

wojtek19022 avatar Dec 11 '25 15:12 wojtek19022

On microsoft edge i left only polish for displaying content of website. On duckduck i couldn't do the same because there is no such option

wojtek19022 avatar Dec 11 '25 15:12 wojtek19022

Fixed in #22387

trasher avatar Dec 17 '25 13:12 trasher