feat(bot): add i18n support with grammy-i18n package

Add internationalization support to the bot using grammy-i18n package.
Includes English and Russian locale files and updates to session handling.
Disabled db:generate in Dockerfile as it's not needed during build.
This commit is contained in:
Yuu Ottosoka
2025-07-12 16:37:09 +03:00
parent 701e9c0ef8
commit df8bfa049f
8 changed files with 104 additions and 42 deletions

View File

@@ -11,11 +11,12 @@
"clean": "rm -rf dist"
},
"dependencies": {
"@grammyjs/i18n": "^1.1.2",
"@hono/node-server": "^1.15.0",
"@repo/config": "*",
"@repo/db": "*",
"@repo/typescript-config": "*",
"@repo/logger": "*",
"@repo/typescript-config": "*",
"dotenv": "^17.1.0",
"grammy": "^1.37.0",
"hono": "^4.8.4",