Skip to content

Fix unused default locale in I18nMiddleware (#562) #563

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 5, 2021

Conversation

r4rdsn
Copy link

@r4rdsn r4rdsn commented Apr 11, 2021

Description

When user's locale is not available, I18nMiddleware(default=locale) uses given locale.

Fixes #562

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

@r4rdsn r4rdsn force-pushed the bug/#562-default-locale-unused branch from 3f743ea to e67cece Compare April 11, 2021 15:08
@evgfilim1 evgfilim1 added this to the 2.14 milestone Jun 29, 2021
@JrooTJunior JrooTJunior merged commit 8992289 into aiogram:dev-2.x Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default locale in I18nMiddleware is unused
3 participants