From 92ec44d8d21e479ba4a07f8fb0148f422b9d035a Mon Sep 17 00:00:00 2001 From: Gabben <43146729+gabbhack@users.noreply.github.com> Date: Fri, 10 Dec 2021 23:00:42 +0000 Subject: [PATCH] Typo fix (#774) --- 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.