This commit is contained in:
Gabben 2021-12-10 23:00:42 +00:00 committed by GitHub
parent 24a805d517
commit 92ec44d8d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ On top of your application the instance of :class:`aiogram.utils.i18n.code.I18n`
.. code-block::
i18n = I18n(path="locales", language="en", domain="messages")
i18n = I18n(path="locales", default_locale="en", domain="messages")
After that you will need to choose one of builtin I18n middleware or write your own.