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

Translations: zh locale folder names might not correct #11919

Open
j-z10 opened this issue Nov 5, 2024 · 0 comments
Open

Translations: zh locale folder names might not correct #11919

j-z10 opened this issue Nov 5, 2024 · 0 comments
Labels
question Further information is requested

Comments

@j-z10
Copy link

j-z10 commented Nov 5, 2024

Describe your question

  1. The folder name of these two locale codes, zh-Hans and zh-Hant, should be locale/zh_Hans and locale/zh_Hant, not locale/zh-Hans or locale/zh-Hant. They are both named zh_Hans and zh_Hant in django and django-reset-framework
  2. Why don't we add the django.middleware.locale.LocaleMiddleware to MIDDLEWARE in root/settings.py. The Log in button of Identification Stage will never be translated if we don't enable it

Relevant info
"Log in" string is the primary_action here

Screeshots
The "Email or Username" has been translated to "电子邮箱或用户名", but the "Log in" doesn't be translated to "登录"
image

Version and Deployment (please complete the following information):

  • authentik version: [e.g. 2024.10.0]
  • Deployment: [e.g. docker-compose, helm]
@j-z10 j-z10 added the question Further information is requested label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant