Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eternnoir/pyTelegramBotAPI
/ i18n.py
File
i18n.py
examples/asynchronous_telebot/middleware/i18n.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/python
2
3
# This example shows how to implement i18n (internationalization) l10n (localization) to create
4
# multi-language bots with middleware handler.
Callers
nothing calls this directly
Calls
5
AsyncTeleBot
Class · 0.90
LanguageMiddleware
Class · 0.85
run
Method · 0.80
setup_middleware
Method · 0.45
polling
Method · 0.45
Tested by
no test coverage detected