aiogram/docs/utils
mahisafa82 53ad537739
i18n: normalize Telegram region codes in locale detection
Resolve user locale by checking the Telegram language code as-is, then
its Babel-normalized form, then the base language. This fixes lowercase
regional codes such as pt-br failing to match available translations like
pt_BR. Add tests covering region-code variants and fallback behavior, and
update i18n documentation plus changelog notes.
2026-02-26 03:07:37 +03:30
..
callback_answer.rst Callback answer feature (#1091) 2023-01-08 16:49:34 +02:00
chat_action.rst Bot API 5.7 and some new features (#834) 2022-02-19 01:45:59 +02:00
deep_linking.rst Update deep linking documentation and bump version to 3.19.0 2025-03-19 21:04:48 +02:00
formatting.rst [docs] fix typo (#1599) 2024-10-27 20:03:21 +02:00
i18n.rst i18n: normalize Telegram region codes in locale detection 2026-02-26 03:07:37 +03:30
index.rst Add serialization utilities and update documentation (#1515) 2024-06-19 00:54:36 +03:00
keyboard.rst Small documentation improvements and texts update 2023-08-26 23:18:20 +03:00
media_group.rst Add MediaGroupBuilder for media group construction (#1293) 2023-09-03 00:25:31 +03:00
serialization.rst Add serialization utilities and update documentation (#1515) 2024-06-19 00:54:36 +03:00
web_app.rst doc updated for WebApp (#1433) 2024-03-06 01:37:37 +02:00