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. |
||
|---|---|---|
| .. | ||
| _static | ||
| api | ||
| dispatcher | ||
| locale/uk_UA/LC_MESSAGES | ||
| utils | ||
| changelog.rst | ||
| conf.py | ||
| contributing.rst | ||
| index.rst | ||
| install.rst | ||
| make.bat | ||
| Makefile | ||
| migration_2_to_3.rst | ||