From 33a9c7056aab28ea66989d4950fe524d78f6eee7 Mon Sep 17 00:00:00 2001 From: Gabben <43146729+gabbhack@users.noreply.github.com> Date: Fri, 10 Dec 2021 15:30:58 +0000 Subject: [PATCH] Typo fix --- docs/utils/i18n.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/utils/i18n.rst b/docs/utils/i18n.rst index 773ac99b..fbf6333f 100644 --- a/docs/utils/i18n.rst +++ b/docs/utils/i18n.rst @@ -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.