Allow customizing instance languages

This commit is contained in:
tusooa 2023-01-26 20:17:13 -05:00
commit bc7ec43179
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
3 changed files with 24 additions and 1 deletions

View file

@ -1052,6 +1052,15 @@ config :pleroma, :config_description, [
description:
"Minimum required age (in days) for users to create account. Only used if birthday is required.",
suggestions: [6570]
},
%{
key: :languages,
type: {:list, :string},
description:
"Languages to be exposed in /api/v1/instance. Should be in the format of BCP47 language codes.",
suggestions: [
"en"
]
}
]
},