Closed bone6000 closed 3 months ago
NetBox Version v4.0.5
Python Version 3.10
I see the same behavior with the language "German". But a little different.
However, the language does not reset when I "log out" and "log in" in my Case. After a period of time unknown to me, the language changes automatically back to "German". And then I have the same behaviour like bone6000:
All menus are in german but in profile configuration language "english" is selected
Thanks for reporting a problem you're experiencing with NetBox.
In an attempt to reproduce this issue, I set up the following systems:
The server looks like this:
ubuntu@nb405-repro-16512:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
ubuntu@nb405-repro-16512:~$ echo $LANG
C.UTF-8
And the desktop looks like this:
jeffg@el-jefe-u2404-es:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04 LTS"
jeffg@el-jefe-u2404-es:~$ echo $LANG
es_ES.UTF-8
As the screen recording below shows, I did not manage to reproduce the problem as described using this setup.
https://github.com/netbox-community/netbox/assets/1209268/ca5fda0a-59d9-4c22-af22-557795da2655
Can you please provide the equivalent details about your desktop and server systems? It seems plausible that the C
locale on my server side might be responsible for US English being the default language that gets rendered. If your server side is set to an es
locale, perhaps that's leading to Spanish being the default rendered language.
I can reproduce this following these steps:
Hello,
My desktop is a Windows 11 in spanish language. The netbox server is a Centos 8 distribution with "es" locale configured
[usertst@netbox01]$ cat os-release NAME="CentOS Linux" VERSION="8" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="8" PLATFORM_ID="platform:el8" PRETTY_NAME="CentOS Linux 8" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:8" HOME_URL="https://centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-8" CENTOS_MANTISBT_PROJECT_VERSION="8"
Regards
Deployment Type
Self-hosted
NetBox Version
v4.0.2
Python Version
3.10
Steps to Reproduce
Expected Behavior
Language settings should not be "lost" when logout
Observed Behavior
Language changes to spanish (default machine language) when logging out but user profile settings is in english