telegram: add "always use default lang", /lang default
For #451. Setting in integrations > chat bots > telegram makes jfa-go ignore the telegram users clients lanugage setting and always use whatever is set as the default language in jfa-go. Also added /lang default, to un-set a preferred language. the start message also now shows up on typing /help or !help too.
This commit is contained in:
@@ -1056,6 +1056,12 @@ sections:
|
||||
value: en-us
|
||||
description: Default telegram message language. Visit weblate if you'd like to
|
||||
translate.
|
||||
- setting: ignore_client_language
|
||||
name: Always use default language
|
||||
depends_true: enabled
|
||||
type: bool
|
||||
value: false
|
||||
description: When disabled, jfa-go will check the telegram user's language and use it if possible. Enable to ignore it and use your configured default language always.
|
||||
- section: matrix
|
||||
meta:
|
||||
name: Matrix
|
||||
|
||||
Reference in New Issue
Block a user