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

Translation not applied #14708

Closed
AnythingOverIP opened this issue Jan 5, 2024 · 2 comments
Closed

Translation not applied #14708

AnythingOverIP opened this issue Jan 5, 2024 · 2 comments
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@AnythingOverIP
Copy link

Deployment Type

Self-hosted

NetBox Version

v3.7.0

Python Version

3.8

Steps to Reproduce

Log into Netbox, access your profile preferences (/user/preferences/), select a language other than Auto.
Click Save, and logout.
Log back in

Expected Behavior

UI should show the translated strings as per selected language.

Observed Behavior

Selected language is not applied.

Tested in both on-prem and demo site, with Firefox, Chrome and Edge.

@AnythingOverIP AnythingOverIP added the type: bug A confirmed report of unexpected behavior in the application label Jan 5, 2024
@jeremystretch
Copy link
Member

Do you have localization enabled? Set ENABLE_LOCALIZATION = True set in configuration.py.

@AnythingOverIP
Copy link
Author

Didn't thought of that as the option was available for the user without it. Added the option and it worked as expected. Thanks!
I will close this Bug and instead open a feature request to hide the language selection when ENABLE_LOCALIZATION is set to False.
Thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants