mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: new site setting to set locale from cookie for anonymous users. (#18377)
This new hidden default-disabled site setting `set_locale_from_cookie` will set locale from anonymous user's cookie value.
This commit is contained in:
@@ -123,6 +123,11 @@ basic:
|
||||
default: false
|
||||
client: true
|
||||
validator: "AllowUserLocaleEnabledValidator"
|
||||
set_locale_from_cookie:
|
||||
default: false
|
||||
hidden: true
|
||||
client: true
|
||||
validator: "AllowUserLocaleEnabledValidator"
|
||||
support_mixed_text_direction:
|
||||
client: true
|
||||
default: false
|
||||
|
||||
Reference in New Issue
Block a user