diff --git a/examples/middleware/class_based/i18n_class_based/i18n_base_midddleware.py b/examples/middleware/class_based/i18n_middleware/i18n_base_midddleware.py similarity index 100% rename from examples/middleware/class_based/i18n_class_based/i18n_base_midddleware.py rename to examples/middleware/class_based/i18n_middleware/i18n_base_midddleware.py diff --git a/examples/middleware/class_based/i18n_class_based/keyboards.py b/examples/middleware/class_based/i18n_middleware/keyboards.py similarity index 100% rename from examples/middleware/class_based/i18n_class_based/keyboards.py rename to examples/middleware/class_based/i18n_middleware/keyboards.py diff --git a/examples/middleware/class_based/i18n_class_based/locales/en/LC_MESSAGES/messages.po b/examples/middleware/class_based/i18n_middleware/locales/en/LC_MESSAGES/messages.po similarity index 100% rename from examples/middleware/class_based/i18n_class_based/locales/en/LC_MESSAGES/messages.po rename to examples/middleware/class_based/i18n_middleware/locales/en/LC_MESSAGES/messages.po diff --git a/examples/middleware/class_based/i18n_class_based/locales/ru/LC_MESSAGES/messages.po b/examples/middleware/class_based/i18n_middleware/locales/ru/LC_MESSAGES/messages.po similarity index 100% rename from examples/middleware/class_based/i18n_class_based/locales/ru/LC_MESSAGES/messages.po rename to examples/middleware/class_based/i18n_middleware/locales/ru/LC_MESSAGES/messages.po diff --git a/examples/middleware/class_based/i18n_class_based/locales/uz_Latn/LC_MESSAGES/messages.po b/examples/middleware/class_based/i18n_middleware/locales/uz_Latn/LC_MESSAGES/messages.po similarity index 100% rename from examples/middleware/class_based/i18n_class_based/locales/uz_Latn/LC_MESSAGES/messages.po rename to examples/middleware/class_based/i18n_middleware/locales/uz_Latn/LC_MESSAGES/messages.po diff --git a/examples/middleware/class_based/i18n_class_based/main.py b/examples/middleware/class_based/i18n_middleware/main.py similarity index 100% rename from examples/middleware/class_based/i18n_class_based/main.py rename to examples/middleware/class_based/i18n_middleware/main.py diff --git a/examples/middleware/i18n.py b/examples/middleware/function_based/i18n.py similarity index 100% rename from examples/middleware/i18n.py rename to examples/middleware/function_based/i18n.py diff --git a/examples/middleware/session.py b/examples/middleware/function_based/session.py similarity index 100% rename from examples/middleware/session.py rename to examples/middleware/function_based/session.py