mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 23:42:12 +08:00

This commit adds a new Localization config page for admins, as a basic filtered site setting page similar to Legal and Notifications. Included settings are: * default locale * allow user locale * set locale from accept langauge header * onebox locale * display local time in user card * discourse local dates enabled * support mixed text direction * unicode usernames * allowed unicode username characters
17 lines
422 B
YAML
17 lines
422 B
YAML
plugins:
|
|
discourse_local_dates_email_format:
|
|
default: "YYYY-MM-DDTHH:mm:ss[Z]"
|
|
client: true
|
|
discourse_local_dates_enabled:
|
|
default: true
|
|
client: true
|
|
area: "localization"
|
|
discourse_local_dates_default_formats:
|
|
default: "LLL|LTS|LL|LLLL"
|
|
client: true
|
|
type: list
|
|
discourse_local_dates_default_timezones:
|
|
default: "Europe/Paris|America/Los_Angeles"
|
|
client: true
|
|
type: list
|