mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
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. |
||
|---|---|---|
| .. | ||
| .template.rst.jinja2 | ||
| 47.misc.rst | ||
| 1687.bugfix.rst | ||
| 1755.bugfix.rst | ||
| 1768.bugfix.rst | ||