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:
Harvey Tindall
2025-12-08 18:16:27 +00:00
parent d00507fd20
commit ca7c553147
3 changed files with 50 additions and 26 deletions
+6
View File
@@ -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