XFCE 4.20 Update --> Locales not 100% correct

Message
Author
zopeck
Posts: 32
Joined: Mon Dec 02, 2024 3:55 pm

XFCE 4.20 Update --> Locales not 100% correct

#1 Post by zopeck »

Hi,

Today I updated my system from XFCE 4.18 to 4.20, and found out that many structures changed from my locale which is es_UY.UTF-8, to english.

I verified that the MX locales is correctly configured (to es_UY.UTF-8).

Which "structures" changed to english?:
- Whisker menu, "Favorites" "Recently used" and "All Applications" should be shown as "Favoritos" "Usados recientemente" and "Todas las aplicaciones" respectively.
- Thunar file manager appears now in english.
- The "Logout menu", the window title and the name of all buttons.
- Many of the plugins and XFCE tools like the screenshot, keyboard shortcuts, mouse and touchpad and so on.

Below you can find my system info:

Code: Select all

Snapshot created on: 20250103_0919
System:
  Kernel: 6.12.6-1-liquorix-amd64 [6.12-7~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable amd_pstate=disable BOOT_IMAGE=/boot/vmlinuz-6.12.6-1-liquorix-amd64
    root=UUID=<filter> ro quiet loglevel=3 splash
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel wm: Compiz v: 0.8.18 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.5_ahs_x64 Libretto October 15  2023 base: Debian GNU/Linux
    12 (bookworm)
Machine:
  Type: Laptop System: LENOVO product: 82SF v: IdeaPad 5 15IAL7 serial: <superuser required>
    Chassis: type: 10 v: IdeaPad 5 15IAL7 serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76463 WIN serial: <superuser required> UEFI: LENOVO
    v: JBCN28WW date: 12/15/2022
Battery:
  ID-1: BAT0 charge: 53.1 Wh (100.0%) condition: 53.1/57.0 Wh (93.1%) volts: 13.0 min: 11.5
    model: SMP L19M3PF6 type: Li-poly serial: <filter> status: full cycles: 170
CPU:
  Info: model: 12th Gen Intel Core i7-1255U bits: 64 type: MST AMCP arch: Alder Lake level: v3
    note: check built: 2021+ process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154) stepping: 4
    microcode: 0x435
  Topology: cpus: 1x cores: 10 mt: 2 tpc: 2 st: 8 threads: 12 smt: enabled cache: L1: 928 KiB
    desc: d-8x32 KiB, 2x48 KiB; i-2x32 KiB, 8x64 KiB L2: 6.5 MiB desc: 2x1.2 MiB, 2x2 MiB L3: 12 MiB
    desc: 1x12 MiB
  Speed (MHz): avg: 1105 high: 3942 min/max: 400/4700:3500 scaling: driver: intel_pstate
    governor: performance cores: 1: 3440 2: 400 3: 3942 4: 400 5: 817 6: 400 7: 400 8: 400 9: 1868
    10: 400 11: 400 12: 400 bogomips: 62668
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling mitigation: Clear Register File
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional; RSB filling;
    PBRSB-eIBRS: SW sequence; BHI: BHI_DIS_S
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Alder Lake-UP3 GT2 [Iris Xe Graphics] vendor: Lenovo driver: i915 v: kernel
    alternate: xe arch: Gen-12.2 process: Intel 10nm built: 2021-22+ ports: active: eDP-1
    empty: DP-1,DP-2,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:46a8 class-ID: 0300
  Device-2: NVIDIA TU117M [GeForce MX550] vendor: Lenovo driver: nvidia v: 535.216.03
    non-free: 530.xx+ status: current (as of 2023-03) arch: Turing code: TUxxx process: TSMC 12nm FF
    built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 4 link-max: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 02:00.0 chip-ID: 10de:1f9f class-ID: 0302
  Device-3: Bison Integrated Camera type: USB driver: uvcvideo bus-ID: 3-8:3 chip-ID: 5986:214d
    class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: Compiz v: 0.8.18 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 509x286mm (20.04x11.26") s-diag: 584mm (22.99")
  Monitor-1: eDP-1 model: BOE Display 0x08c2 built: 2019 res: 1920x1080 hz: 60 dpi: 142
    gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 24.2.2-1~mx23ahs renderer: Mesa Intel Graphics (ADL GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl alternate: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:51c8 class-ID: 0401
  API: ALSA v: k6.12.6-1-liquorix-amd64 status: kernel-api with: aoss type: oss-emulator
    tools: alsamixer,amixer
  Server-1: JACK v: 1.9.21 status: off tools: jack_control,qjackctl
  Server-2: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel modules: wl bus-ID: 00:14.3
    chip-ID: 8086:51f0 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: tempestbr state: down mac: <filter>
  IF-ID-2: tempesttap state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-10:4 chip-ID: 8087:0026
    class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 3 state: down bt-service: N/A rfk-block: hardware: no
    software: yes address: <filter>
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
Drives:
  Local Storage: total: 476.94 GiB used: 137.17 GiB (28.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WD PC SN740 SDDPMQD-512G-1101
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 73110001 temp: 35.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 198.04 GiB size: 193.87 GiB (97.90%) used: 137.17 GiB (70.8%) fs: ext4
    dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
  Kernel: swappiness: 3 (default 60) cache-pressure: 50 (default 100)
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 38.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 3271 libs: 1675 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mirrors.aliyun.com/mxlinux/mx/repo/ bookworm main non-free
    2: deb https://mirrors.aliyun.com/mxlinux/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code stable main
  Active apt repos in: /etc/apt/sources.list.d/warpdotdev.list
    1: deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/warpdotdev.gpg] https://releases.warp.dev/linux/deb stable main
Info:
  Processes: 350 Uptime: 1h 9m wakeups: 65255 Memory: 15.35 GiB used: 3 GiB (19.6%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

zopeck
Posts: 32
Joined: Mon Dec 02, 2024 3:55 pm

Re: XFCE 4.20 Update --> Locales not 100% correct

#2 Post by zopeck »

Hi there!
Happy new year to all!
Is there any news related to this bug? I would appreciate very much any insight. Regards.

User avatar
j2mcgreg
Global Moderator
Posts: 6813
Joined: Tue Oct 23, 2007 12:04 pm

Re: XFCE 4.20 Update --> Locales not 100% correct

#3 Post by j2mcgreg »

The problem with Post Image has now been fixed and you will have to repost the screenshot that you refer to in post #1.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
dolphin_oracle
Developer
Posts: 22265
Joined: Sun Dec 16, 2007 12:17 pm

Re: XFCE 4.20 Update --> Locales not 100% correct

#4 Post by dolphin_oracle »

Maybe post the output of your

Code: Select all

locales
command.

FWIW, I cannot reproduce it at the moment.

Code: Select all

locale
LANG=es_UY.UTF-8
LANGUAGE=
LC_CTYPE="es_UY.UTF-8"
LC_NUMERIC="es_UY.UTF-8"
LC_TIME="es_UY.UTF-8"
LC_COLLATE="es_UY.UTF-8"
LC_MONETARY="es_UY.UTF-8"
LC_MESSAGES="es_UY.UTF-8"
LC_PAPER="es_UY.UTF-8"
LC_NAME="es_UY.UTF-8"
LC_ADDRESS="es_UY.UTF-8"
LC_TELEPHONE="es_UY.UTF-8"
LC_MEASUREMENT="es_UY.UTF-8"
LC_IDENTIFICATION="es_UY.UTF-8"
LC_ALL=

screenshot of whisker.


Image
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

zopeck
Posts: 32
Joined: Mon Dec 02, 2024 3:55 pm

Re: XFCE 4.20 Update --> Locales not 100% correct

#5 Post by zopeck »

Hi,
Thanks for your answer, I am posting an image of my start menu so you can see what I am talking about. Regards.
Image

User avatar
fehlix
Developer
Posts: 12702
Joined: Wed Apr 11, 2018 5:09 pm

Re: XFCE 4.20 Update --> Locales not 100% correct

#6 Post by fehlix »

zopeck wrote: Tue Jan 14, 2025 9:08 am Hi,

Today I updated my system from XFCE 4.18 to 4.20, and found out that many structures changed from my locale which is es_UY.UTF-8, to english.

I verified that the MX locales is correctly configured (to es_UY.UTF-8).

Which "structures" changed to english?:
- Whisker menu, "Favorites" "Recently used" and "All Applications" should be shown as "Favoritos" "Usados recientemente" and "Todas las aplicaciones" respectively.
- Thunar file manager appears now in english.
- The "Logout menu", the window title and the name of all buttons.
- Many of the plugins and XFCE tools like the screenshot, keyboard shortcuts, mouse and touchpad and so on.
Perhaps a quick check:
open terminal and run these two commands:

Code: Select all

gettext -d xfce4-whiskermenu-plugin -s 'Recently Used'
and

Code: Select all

env LANG=es_UY.utf8 gettext -d xfce4-whiskermenu-plugin -s 'Recently Used'
the last one gives here:

Code: Select all

env LANG=es_UY.utf8 gettext -d xfce4-whiskermenu-plugin -s 'Recently Used'
Aplicaciones recientes
If not, seems your tweaked system is somehow in disorder regarding locale setup.
As mentioned already, please post the output of this command (not "locales" but "locale"):

Code: Select all

locale

zopeck
Posts: 32
Joined: Mon Dec 02, 2024 3:55 pm

Re: XFCE 4.20 Update --> Locales not 100% correct

#7 Post by zopeck »

Hi,
Thanks for answering. Here is the output of the commands:

First command: " gettext -d xfce4-whiskermenu-plugin -s 'Recently Used' "
Its output: "Aplicaciones recientes"

Second command: " env LANG=es_UY.utf8 gettext -d xfce4-whiskermenu-plugin -s 'Recently Used' "
Its output: "Aplicaciones recientes"

Third command: "locale"
Its output following:
LANG=es_UY.UTF-8
LANGUAGE=
LC_CTYPE="es_UY.UTF-8"
LC_NUMERIC="es_UY.UTF-8"
LC_TIME="es_UY.UTF-8"
LC_COLLATE="es_UY.UTF-8"
LC_MONETARY="es_UY.UTF-8"
LC_MESSAGES="es_UY.UTF-8"
LC_PAPER="es_UY.UTF-8"
LC_NAME="es_UY.UTF-8"
LC_ADDRESS="es_UY.UTF-8"
LC_TELEPHONE="es_UY.UTF-8"
LC_MEASUREMENT="es_UY.UTF-8"
LC_IDENTIFICATION="es_UY.UTF-8"
LC_ALL=es_UY.UTF-8

zopeck
Posts: 32
Joined: Mon Dec 02, 2024 3:55 pm

Re: XFCE 4.20 Update --> Locales not 100% correct

#8 Post by zopeck »

Following is the output of: "locale -a":

C
C.utf8
es_UY.utf8
POSIX

User avatar
fehlix
Developer
Posts: 12702
Joined: Wed Apr 11, 2018 5:09 pm

Re: XFCE 4.20 Update --> Locales not 100% correct

#9 Post by fehlix »

zopeck wrote: Sun Feb 16, 2025 5:55 am Hi,
Thanks for answering. Here is the output of the commands:

First command: " gettext -d xfce4-whiskermenu-plugin -s 'Recently Used' "
Its output: "Aplicaciones recientes"

Second command: " env LANG=es_UY.utf8 gettext -d xfce4-whiskermenu-plugin -s 'Recently Used' "
Its output: "Aplicaciones recientes"

Third command: "locale"
Its output following:
LANG=es_UY.UTF-8
LANGUAGE=
LC_CTYPE="es_UY.UTF-8"
LC_NUMERIC="es_UY.UTF-8"
LC_TIME="es_UY.UTF-8"
LC_COLLATE="es_UY.UTF-8"
LC_MONETARY="es_UY.UTF-8"
LC_MESSAGES="es_UY.UTF-8"
LC_PAPER="es_UY.UTF-8"
LC_NAME="es_UY.UTF-8"
LC_ADDRESS="es_UY.UTF-8"
LC_TELEPHONE="es_UY.UTF-8"
LC_MEASUREMENT="es_UY.UTF-8"
LC_IDENTIFICATION="es_UY.UTF-8"
LC_ALL=es_UY.UTF-8
Thanks, so it appears all is set properly. And the translation for the example string 'Recently Used'
is also properly provided by the underlying gettext-based locale system.
But still the whisker menu shows untranlsated English strings.
So it seems we need to dig a bit deeper.
Next: Please show system-wide defined default locale with this command :

Code: Select all

cat /etc/default/locale
and also
What happens if you are running this command:

Code: Select all

xfce4-popup-whiskermenu -p
I guess you still have "Favorites", "Recently Used" and "All applications" in English, right?
Another test: Can you create a new user (for testing) with the tool "MX User" ,
and login as the new user. Would the whisker menu still have untranslated strings?

zopeck
Posts: 32
Joined: Mon Dec 02, 2024 3:55 pm

Re: XFCE 4.20 Update --> Locales not 100% correct

#10 Post by zopeck »

Hi, here is the output of your last request:

cat /etc/default/locale:
# File generated by update-locale
LANG=es_UY.UTF-8
LC_ALL=es_UY.UTF-8

xfce4-popup-whiskermenu -p:
Image

And something strange:

I know that the translation of the whisker menu for example is located in:
/usr/share/locale/es/LC_MESSAGES/xfce4-whiskermenu-plugin.mo

And if I do:
find (or) sudo find /usr/share/locale/ -type f -iname 'xfce4-whiskermenu-plugin.m[o]' I get NOTHING on the CLI output (an empty line).

But if I do:
find /usr/share/locale/ -type f -iname 'yelp.m[o]' (another file that I know exists) I get all language versions of the file.

But if i do:
locate xfce4-whiskermenu-plugin.mo I get the output which is the location with the full path of the plugins files for all languages, including of course, the "es"

UPDATE:
I did "sudo updatedb" and then tried again, but the command "locate xfce4-whiskermenu-plugin.mo" does not return ANY output.

I navigate to: /usr/share/locale/es/LC_MESSAGES/ and try to list the file xfce4-whiskermenu-plugin.mo and IT DOES NOT EXIST.

Please let me know. Regards.

Post Reply

Return to “XFCE Desktop Environment”