Skip to content
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

Fix i18n in CLI for password complexity checker #2566

Closed
wants to merge 2 commits into from

Conversation

quaxsze
Copy link
Contributor

@quaxsze quaxsze commented Nov 3, 2020

fix #2561

@quaxsze quaxsze requested a review from abulte November 3, 2020 17:09
Copy link
Contributor

@abulte abulte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this will work. AFAIK lazy_gettext is used to translate on the fly, based on the currently selected locale (eg user/request preference). This would break language switching in the form. Cf https://pypi.org/project/speaklater/.

@quaxsze
Copy link
Contributor Author

quaxsze commented Nov 6, 2020

Seems to be fix by #2567

@quaxsze quaxsze closed this Nov 6, 2020
@quaxsze quaxsze deleted the fixi18nCli branch November 6, 2020 12:42
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.

CLI user creation raises exception because of i18n
2 participants