Skip to content

Installed languages are cached in the session until the next login #503

Closed

Description

@caseysoftware

CAppUI::loadLanguages() stores the list of installed languages in $_SESSION['LANGUAGES']. A language added to or removed from locales/ doesn't appear (or disappear) in the language pickers until the user logs out and in again, and a removed language stays selectable.

Fix: cache the list per request (a static) instead of per session. Scanning locales/*/ is cheap.

Part of #495.

Activity

  1. added 2 commits that reference this issue on Oct 24, 2026
    a5cc2d3
    33747d6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions