mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 02:03:04 +00:00
Fixed path of I18n Class (#879)
The I18n Class gets imported in 3.0.0b2 as follows: from aiogram.utils.i18n import I18n Whereas the documentation implies that it should be: from aiogram.utils.i18n.code import I18n
This commit is contained in:
parent
e8432d38f5
commit
930bca0876
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ Configuring engine
|
|||
|
||||
After you messages is already done to use gettext your bot should know how to detect user language
|
||||
|
||||
On top of your application the instance of :class:`aiogram.utils.i18n.code.I18n` should be created
|
||||
On top of your application the instance of :class:`aiogram.utils.i18n.I18n` should be created
|
||||
|
||||
|
||||
.. code-block::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue