Improve language configuration options

This commit is contained in:
Stefano Pigozzi
2020-05-03 11:41:12 +02:00
parent 8356565bd2
commit 5c79ec7581
5 changed files with 60 additions and 38 deletions

View File

@@ -8,14 +8,20 @@
version = 18
; Set this to no when you are done editing the file
is_template = yes
; Language code for string file
; Uses the https://en.wikipedia.org/wiki/IETF_language_tag name of the language
# Language parameters
[Language]
; Available languages:
; it - Italian, by Steffo
; en - English, by https://github.com/DarrenWestwood (incomplete, please improve it!)
; it - Italian, by https://github.com/Steffo99
; en - English, by https://github.com/DarrenWestwood
; uk - Ukrainian, by https://github.com/pzhuk
; ru - Russian, by https://github.com/pzhuk
language = it
; The lanugages that messages can be displayed in
enabled_languages = it | en | uk | ru
; The default language to be set for users whose language cannot be autodetected or whose language is not enabled
default_language = it
; The language to fallback to if a string is missing in a specific language
fallback_language = en
# Telegram bot parameters
[Telegram]