Garuda-Assistant: System settings not working when translated (German)

Hey guys,

I have a problem when using Garuda-Assistant and switching to German as the system language:
In the system settings the checkboxes of installed services are not checked in the translated version despite the services being installed and running. Checking the boxes and applying the changes doesn't do anything. The checkboxes to enable services (e.g. NetworkManager or Bluetooth) do work as intended.

I have a feeling like Garuda-Assistant cant access which applications are installed and in what user groups the current user is while translated. It has normal functionality in reading and writing the status of those services however. I attach two screenshots (English and German) so it's pretty clear what the problem is.

Greetings

English (working normally)

German

System details
System:    Kernel: 5.14.14-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=5638347f-a82d-40e9-8dcb-3d97cf6f1cba
rw rootflags=subvol=@ quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 resume=UUID=bab922b0-7b6b-4b23-ba61-7d290d1cefac loglevel=3
Desktop: KDE Plasma 5.23.2 tk: Qt 5.15.2 info: latte-dock wm: kwin_wayland vt: 2 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:   Type: Laptop System: Timi product: TM1604 v: XMAKB3M0P0705 serial: <filter>
Mobo: Timi model: TM1604 v: XMAKB3M0P0705 serial: <filter> UEFI: Insyde v: XMAKB3M0P0705
date: 08/30/2017
Battery:   ID-1: BAT0 charge: 9.6 Wh (96.0%) condition: 10.0/39.0 Wh (25.7%) volts: 8.5 min: 7.6
model: LGC R13B02W type: Li-poly serial: <filter> status: Not charging
CPU:       Info: Dual Core model: Intel Core i5-7200U bits: 64 type: MT MCP arch: Amber/Kaby Lake
note: check family: 6 model-id: 8E (142) stepping: 9 microcode: EA cache: L2: 3 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 21599
Speed: 3100 MHz min/max: 400/3100 MHz Core speeds (MHz): 1: 3100 2: 3100 3: 3100 4: 3100
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Intel HD Graphics 620 vendor: Xiaomi driver: i915 v: kernel bus-ID: 00:02.0
chip-ID: 8086:5916 class-ID: 0300
Device-2: NVIDIA GP108M [GeForce MX150] vendor: Xiaomi driver: nvidia v: 470.74
alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:1d12 class-ID: 0302
Device-3: Chicony XiaoMi USB 2.0 Webcam type: USB driver: uvcvideo bus-ID: 1-5:3
chip-ID: 04f2:b5a3 class-ID: 0e02
Display: wayland server: X.Org 1.21.1.2 compositor: kwin_wayland driver: loaded: modesetting
display-ID: :1 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")
Monitor-1: XWAYLAND0 res: 1920x1080 hz: 60 dpi: 168 size: 290x170mm (11.4x6.7")
diag: 336mm (13.2")
OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.2.4 direct render: Yes
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Xiaomi driver: snd_hda_intel v: kernel
alternate: snd_soc_skl bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403
Sound Server-1: ALSA v: k5.14.14-zen1-1-zen running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.39 running: yes
Network:   Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel bus-ID: 02:00.0
chip-ID: 8086:24fd class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-7:5
chip-ID: 8087:0a2b class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 3 state: up address: <filter>
Drives:    Local Storage: total: 704.24 GiB used: 52.81 GiB (7.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLW256HEHP-00000 size: 238.47 GiB
block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: CXB7401Q temp: 22.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WDS500G2B0B size: 465.76 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 90WD
scheme: GPT
Partition: ID-1: / raw-size: 457.26 GiB size: 457.26 GiB (100.00%) used: 52.81 GiB (11.5%) fs: btrfs
dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) used: 580 KiB (0.1%) fs: vfat
dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 457.26 GiB size: 457.26 GiB (100.00%) used: 52.81 GiB (11.5%) fs: btrfs
dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 457.26 GiB size: 457.26 GiB (100.00%) used: 52.81 GiB (11.5%)
fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 457.26 GiB size: 457.26 GiB (100.00%) used: 52.81 GiB (11.5%)
fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3
maj-min: 8:3
ID-2: swap-2 type: zram size: 7.67 GiB used: 350 MiB (4.5%) priority: 100 dev: /dev/zram0
Sensors:   System Temperatures: cpu: 57.0 C mobo: 42.0 C
Fan Speeds (RPM): N/A
Info:      Processes: 247 Uptime: 10h 15m wakeups: 6 Memory: 7.68 GiB used: 3.55 GiB (46.3%) Init: systemd
v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1484 lib: 360
Shell: fish v: 3.3.1 default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.08

Hmm....it doesn't look like those strings are translated so I am not sure I see an obvious reason it isn't working.

Let me do some testing and see if I can replicate it.

I looked up the translation file in translations/garudaassistant_de.ts · master · Garuda Linux / Applications / Garuda Assistant · GitLab and the parts which are still in English either didn't provide a translation or have a typo (e.g. line 993 "Pipewire support" instead of "PipeWire support", so I guess then the translations isn't used?). I didn't check everything but I think it translated everything it found in the translation file.

I found the problem. The action types "package" and "group" were translated. Let me make those untranslatable.

5 Likes

Thanks for reporting this. It should be fixed next time the package is updated.

7 Likes

@dalto, you da man. :clap: :+1:

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.