generic users do not load the expected language #441

Open
opened 2026-10-04 23:58:41 +02:00 by adam · 7 comments
Owner

it's as if Piwigo automatically uses the browser language, without caring about the user language.

it's as if Piwigo automatically uses the browser language, without caring about the user language. <!-- github-sync-id:147433274 -->
Author
Owner

but generic users are made for multiple users so it sounds normal for me to give priority to the browser lang

but generic users are made for multiple users so it sounds normal for me to give priority to the browser lang <!-- github-comment-id:208353016 -->
Author
Owner

even if $conf['browser_language'] = false ?

even if $conf['browser_language'] = false ? <!-- github-comment-id:208356640 -->
Author
Owner

actually a user told me the behavior changed between 2.7 and 2.8, I will investigate

actually a user told me the behavior changed between 2.7 and 2.8, I will investigate <!-- github-comment-id:208357068 -->
Author
Owner

even if $conf['browser_language'] = false ?

that was not specified ;)

> even if $conf['browser_language'] = false ? that was not specified ;) <!-- github-comment-id:208363579 -->
Author
Owner

I noticed, that always English (UK)is used for non-logged-in users, even when German was selected during the installation (it is marked as Defaultin the Admin>Language panel, and when German is the Browser language.

(Ugly) workaround: I deactivated all English languages. Then German (Default) is indeed the default language on the main screen.

I noticed, that always ``English (UK)``is used for non-logged-in users, even when German was selected during the installation (it is marked as ``Default``in the Admin>Language panel, and when German is the Browser language. (Ugly) workaround: I deactivated all English languages. Then German (Default) is indeed the default language on the main screen. <!-- github-comment-id:347144087 -->
Author
Owner

Probably because English was the language of the guest user

Le 27 nov. 2017 11:42, "Wikinaut" notifications@github.com a écrit :

I noticed, that always English (UK)is used for non-logged-in users, even
when German was selected during the installation (it is marked as Defaultin
the Admin>Language panel, and when German is the Browser language.

(Ugly) workaround: I deactivated all English languages. Then German
(Default) is indeed the default language on the main screen.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Piwigo/Piwigo/issues/461#issuecomment-347144087, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAs-jcWLhkkmb3cGaA3_OXu6TuqtMcCjks5s6pILgaJpZM4IEaJm
.

Probably because English was the language of the guest user Le 27 nov. 2017 11:42, "Wikinaut" <notifications@github.com> a écrit : > I noticed, that always English (UK)is used for non-logged-in users, even > when German was selected during the installation (it is marked as Defaultin > the Admin>Language panel, and when German is the Browser language. > > (Ugly) workaround: I deactivated all English languages. Then German > (Default) is indeed the default language on the main screen. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/Piwigo/Piwigo/issues/461#issuecomment-347144087>, or mute > the thread > <https://github.com/notifications/unsubscribe-auth/AAs-jcWLhkkmb3cGaA3_OXu6TuqtMcCjks5s6pILgaJpZM4IEaJm> > . > <!-- github-comment-id:347161724 -->
Author
Owner

@flop25 If this is the "guest" user language, then this is clear a bug in the installer.

When I set up Piwigo with "German", it is a bug if the guest user gets "English (UK)" as default language.

@flop25 If this is the "guest" user language, then this is clear a bug in the installer. When I set up Piwigo with "German", it is a bug if the guest user gets "English (UK)" as default language. <!-- github-comment-id:347228718 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#441