mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
#236 remove bad link
This commit is contained in:
parent
856c938871
commit
23325e09e3
1 changed files with 1 additions and 2 deletions
|
|
@ -62,8 +62,7 @@ async def cmd_start(message: types.Message):
|
|||
|
||||
@dp.message_handler(commands='lang')
|
||||
async def cmd_lang(message: types.Message, locale):
|
||||
# For setting custom lang you have to modify i18n middleware, like this:
|
||||
# https://github.com/aiogram/EventsTrackerBot/blob/master/modules/base/middlewares.py
|
||||
# For setting custom lang you have to modify i18n middleware
|
||||
await message.reply(_('Your current language: <i>{language}</i>').format(language=locale))
|
||||
|
||||
# If you care about pluralization, here's small handler
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue