Skip to content

[2.x] "Show language selector" setting switch initialized wrong #4785

Description

@claudiushenrichs

Current Behavior

The "Show language selector" switch does not represent the correct state when starting to use it

Steps to Reproduce

  1. On a new Flarum installation enable your first language pack beyond English
  2. Open Admin -> Basics and check the state of the "Show language selector" switch and compare to the language selector being present on the forum frontend

Expected Behavior

The "Show language selector" should be initialized in the switched on state in admin.

Screenshots

Image

Environment

  • Flarum version: 2.0.0-rc.4
  • PHP version: 8.5.7

Output of php flarum info

No response

Possible Solution

Probably similar issue as with slug driver defaults fixed in #4488 with this setting being absent from flarum.settings.default

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions