Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eternnoir/pyTelegramBotAPI
/ main.py
File
main.py
examples/middleware/function_based/i18n_gettext/main.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
In this example you will learn how to adapt your bot to different languages
3
Using built-in
class
I18N.
4
You need to install babel package
'https://pypi.org/project/Babel/'
Callers
nothing calls this directly
Calls
5
StateMemoryStorage
Class · 0.90
TeleBot
Class · 0.90
I18N
Class · 0.90
add_custom_filter
Method · 0.45
infinity_polling
Method · 0.45
Tested by
no test coverage detected