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

Logging in - new user - i18n issue #3603

Closed
hitenvidhani opened this issue May 18, 2024 · 2 comments
Closed

Logging in - new user - i18n issue #3603

hitenvidhani opened this issue May 18, 2024 · 2 comments
Labels
help wanted Community contributors can implement this ready Ready for implementation type: bug Something isn't working work: backend Related to Python, Django, and simple SQL
Milestone

Comments

@hitenvidhani
Copy link
Contributor

Description

The text displayed while logging in with credentials of a newly created user and selecting language(at the time of login) as Japanese is shown in English.
Screenshot from 2024-05-19 01-34-31

Expected behavior

The text should be in Japanese instead of English

To Reproduce

  1. Create a new user from admin account
  2. Log out from admin user
  3. Enter new user's credentials [created in step 1] and select language as Japanese and log in
  4. It will show the screen with text in English [screenshot in description above]

Environment

  • OS: (eg. macOS 10.14.6; Fedora 32)
  • Browser: (eg. Safari; Firefox)
  • Browser Version: (eg. 13; 73)
  • Other info:

Additional context

@hitenvidhani hitenvidhani added needs: triage This issue has not yet been reviewed by a maintainer type: bug Something isn't working labels May 18, 2024
@seancolsen seancolsen added help wanted Community contributors can implement this work: backend Related to Python, Django, and simple SQL ready Ready for implementation and removed needs: triage This issue has not yet been reviewed by a maintainer labels May 20, 2024
@seancolsen seancolsen modified the milestone: Backlog May 20, 2024
@balachander712
Copy link

Hi @hitenvidhani @seancolsen,

This issue is because the translation was present in the .mo file but was missing in the .po file. Recompiling the messages fixed the issue.

python manage.py compilemessages .
I spun up the docker-container by adding the above command to the dev.sh file and django was successfully able to translate the page.

Screenshot 2024-06-02 at 23 10 00

Attaching the page for your reference.

Thanks and Regards,
Balachander

@seancolsen
Copy link
Contributor

Thanks for troubleshooting this, @balachander712! I've verified your findings too. That .po file is also regenerated when the development Docker container is rebuilt. So I think the main take-away here is that developers need to rebuild their docker container if they ever notice any missing translations. I'll keep this in mind when triaging issues in the future. I'm closing this now since I don't think any code changes are needed.

@seancolsen seancolsen closed this as not planned Won't fix, can't repro, duplicate, stale Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Community contributors can implement this ready Ready for implementation type: bug Something isn't working work: backend Related to Python, Django, and simple SQL
Projects
None yet
Development

No branches or pull requests

3 participants