uploader-bot/README.md

615 B
Raw Blame History

Sanic Telegram Bot [template]


Run

cd sanic-telegram-bot
# edit .env file
docker-compose up --build

Translations

Adding new language

  1. Update translations keys list from code
touch messages.pot
find app -name '*.py' -exec xgettext --keyword=translated -j -o messages.pot {} +
  1. Move messages.pot to locale/<lang>/LC_MESSAGES/<domain>.po
  2. Compilrequirements.txte .po to .mo
msgfmt ru.po -o ru.mo

Log description

Sources

  1. [SQL] MariaDB
  2. [User, options ] User log
  3. [Bot, options ] Telegram bot