You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-05-11 14:20:33

Radek Malík
Member
Registered: 2022-05-11
Posts: 9

Change language in main Login

Currently GLPI use default english language for web interface and log entry. Is there option to change language only for log? I changing language on system, but login is still English. Thanks for your help.

Offline

#2 2022-05-11 14:41:37

WebGreg
Member
Registered: 2020-02-27
Posts: 740

Re: Change language in main Login

What log entry?

Which version of glpi are you using?
Windows? Linux?
Logs from /var/log/?
Is it about the login screen?

Your descriptions are very imprecise


--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS

Offline

#3 2022-05-11 15:32:38

Radek Malík
Member
Registered: 2022-05-11
Posts: 9

Re: Change language in main Login

GLPI 10
on Webserver on Linux

It is screen when I want login to GLPI on web pages. The login is on English, but I want the Czech language. System GLPI I have set on Czech language.

Offline

#4 2022-05-11 16:24:24

WebGreg
Member
Registered: 2020-02-27
Posts: 740

Re: Change language in main Login

You mean the inscription: "Login to your account"? Strange... it seems ok

The translations are in the file: /var/www/html/glpi/locales/cs_CZ.po

#: templates/pages/login.html.twig
msgid "Login to your account"
msgstr "Přihlášení k vašemu účtu"

Last edited by WebGreg (2022-05-11 16:26:47)


--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS

Offline

#5 2022-05-12 03:59:34

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,819
Website

Re: Change language in main Login

When not logged in, the browser's language takes priority over the GLPI default language as long as the browser asks for a valid/available language. This was changed in 9.5.3.
When I just checked to verify this was still the case, it seemed like this was no longer working (at least for me). There may be a bug with this.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#6 2022-05-12 08:13:43

Radek Malík
Member
Registered: 2022-05-11
Posts: 9

Re: Change language in main Login

Yes. It is it. When I used older version GLPI, login screen was in right language. But here no. I used browser and OS system only in Czech language, then I thing that it is apparently bug.

Offline

#7 2022-05-12 08:15:04

Radek Malík
Member
Registered: 2022-05-11
Posts: 9

Re: Change language in main Login

WebGreg: Yes, I know. In czech translation file is all OK.

Offline

#8 2022-05-12 09:10:46

WebGreg
Member
Registered: 2020-02-27
Posts: 740

Re: Change language in main Login

Maybe it's a problem with the browser? I checked at Edge - in english. In Chrome - I have polish.


Radek Malík maybe try with:

cd /var/www/html/glpi
sudo php /var/www/html/glpi/bin/console locales:compile
sudo php /var/www/html/glpi/bin/console glpi:cache:clear

Just to make sure...

Last edited by WebGreg (2022-05-12 09:16:03)


--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS

Offline

#9 2022-05-12 09:59:25

Radek Malík
Member
Registered: 2022-05-11
Posts: 9

Re: Change language in main Login

I testing it on 3 different computer and problem is the same everywhere. And systems and browsers are all in czech language. Testing in Chrome, Firefox and Edge.

Last edited by Radek Malík (2022-05-12 10:00:04)

Offline

#10 2022-05-18 09:44:21

Oventrop
Member
Registered: 2022-05-18
Posts: 1

Re: Change language in main Login

GLPI 10.0.0 has the same issue..

Offline

Board footer

Powered by FluxBB