[Bug] Default language is always incorrect (English) unless you deactivate English language modules #737

Open
opened 2026-10-05 00:14:52 +02:00 by adam · 4 comments
Owner

The interface language is - different from what has been chosen during the installation (German) - always English (unless you fully deactivate English languages).

This is also the case when the language for the guest user is set to German.

The interface language is - different from what has been chosen during the installation (German) - always English (unless you fully deactivate English languages). This is also the case when the language for the guest user is set to German. <!-- github-sync-id:280069479 -->
Author
Owner

hello
please be more specific, the process to select the language is complex:
the language displayed is the one of the user if it's a normal/admin account

the guest and the generic accounts get the lang from the browser

So try to tune your local config
// Registering process and guest/generic members get language from the browser
// if language isn't available PHPWG_DEFAULT_LANGUAGE is used as previously
$conf['browser_language'] = true;

then come back here with more details
Thank you

hello please be more specific, the process to select the language is complex: the language displayed is the one of the user if it's a normal/admin account the guest and the generic accounts get the lang from the browser So try to tune your local config // Registering process and guest/generic members get language from the browser // if language isn't available PHPWG_DEFAULT_LANGUAGE is used as previously $conf['browser_language'] = true; then come back here with more details Thank you <!-- github-comment-id:349923995 -->
Author
Owner

@flop25 no, it is not. My language settings are all set to German, so there is not a single reason that Piwigo shows English for non-logged-in users.

Yo wrote:

the guest and the generic accounts get the lang from the browser ....

My browser's language is set to German, but not shown as interface language, only, when I deactivate the English languages as Admin, then German is shown as default interface language.

In gallery/includes/config_default.inc.php
it is set to

$conf['browser_language'] = true;

@flop25 no, it is not. My language settings are all set to German, so there is not a single reason that Piwigo shows English for non-logged-in users. Yo wrote: > the guest and the generic accounts get the lang from the browser .... My browser's language is set to *German*, but not shown as interface language, only, when I *deactivate* the English languages as Admin, then German is shown as default interface language. In ```gallery/includes/config_default.inc.php``` it is set to ```$conf['browser_language'] = true;``` <!-- github-comment-id:349926812 -->
Author
Owner

please use the Edit Function and/or wait before sending multiple message
You're currently decreasing the readability of your messages and our energy to help you

Avoid word in full caps also. Thank you

please use the Edit Function and/or wait before sending multiple message You're currently decreasing the readability of your messages and our energy to help you Avoid word in full caps also. Thank you <!-- github-comment-id:349928545 -->
Author
Owner

if you go to http://www.planete-flop.fr/gallerie/ with your german browser what's the language you get? (the identification block in the menu at the end)

if you go to http://www.planete-flop.fr/gallerie/ with your german browser what's the language you get? (the identification block in the menu at the end) <!-- github-comment-id:350510457 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#737