Ngspice : language is wrong

I am trying to use the ngspice and when I type help, the documentation language is not in English. There are also couple of warnings,
Warning: Color name “BACKGROUND” is not defined
Warning: Color name “FOREGROUND” is not defined
Warning: Missing charsets in String to FontSet conversion

Even when I plot graph, the buttons are not in English.

I don’t use that program. Are they supposed to be?
Please post output of:

locale
1 Like

the output of locale is:

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

Looks fine to me.
But as I said before:

Perhaps you need to configure something?

That all seems to be in order, so from a Manjaro perspective, if there is English documentation, it should be displayed, so you’re better off going upstream and posting your issue there.

On top of the information already posted here (the locale output) also include:

lsb_release --all
inxi --admin --verbosity=7 --filter --no-host --width

into your bug report.

If you don’t know what upstream means, please read this:

:+1:

1 Like

I removed ngspice and installed from git and now the same problem appears. I tried changing the region and problem persists. I think it is a missing font problem.

It is supposed to say “Quit” and “Hardcopy” on the top right buttons.

LSB Version: n/a
Distributor ID: ManjaroLinux
Description: Manjaro Linux
Release: 21.0.7
Codename: Ornara

System:
Kernel: 5.10.42-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
root=UUID=b3b4e09a-49ac-485e-b590-df183c3d785c rw quiet apparmor=1
security=apparmor resume=UUID=52fe74b0-6594-46ae-9591-852c417f0209
udev.log_priority=3
Desktop: KDE Plasma 5.21.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: Dell product: Inspiron 7559 v: 1.3.1 serial:
Chassis: type: 10 serial:
Mobo: Dell model: 0H0CC0 v: A00 serial: UEFI: Dell v: 1.3.1
date: 12/02/2018
Battery:
ID-1: BAT0 charge: 75.8 Wh (100.0%) condition: 75.8/76.1 Wh (99.6%)
volts: 12.8 min: 11.4 model: Dell type: Li-ion serial: status: Full
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse serial:
charge: 55% (should be ignored) rechargeable: yes status: Discharging
Device-2: hidpp_battery_1 model: Logitech Wireless Keyboard serial:
charge: 55% (should be ignored) rechargeable: yes status: Discharging
Memory:
RAM: total: 7.64 GiB used: 2.93 GiB (38.4%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: Quad Core model: Intel Core i7-6700HQ bits: 64 type: MT MCP
arch: Skylake-S family: 6 model-id: 5E (94) stepping: 3 microcode: E2 cache:
L2: 6 MiB bogomips: 41621
Speed: 900 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 900 2: 900 3: 900
4: 900 5: 900 6: 900 7: 900 8: 901
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art
avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid
cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est
f16c flexpriority flush_l1d fma fpu fsgsbase fxsr hle ht hwp hwp_act_window
hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm
mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat
pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts
rdrand rdseed rdtscp rep_good rtm sdbg sep smap smep ss ssbd sse sse2 sse4_1
sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
xsaves xtopology xtpr
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 mitigation: Clear CPU buffers; SMT vulnerable
Graphics:
Device-1: Intel HD Graphics 530 vendor: Dell driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:191b class-ID: 0300
Device-2: NVIDIA GM107M [GeForce GTX 960M] vendor: Dell driver: nvidia
v: 465.31 alternate: nouveau,nvidia_drm bus-ID: 02:00.0 chip-ID: 10de:139b
class-ID: 0302
Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 1-4:3 chip-ID: 1bcf:2b8a class-ID: 0e02
Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver:
loaded: modesetting,nvidia alternate: fbdev,intel,nouveau,nv,vesa
display-ID: :0 screens: 1
Screen-1: 0 s-res: 3286x1080 s-dpi: 96 s-size: 869x285mm (34.2x11.2")
s-diag: 915mm (36")
Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6")
diag: 395mm (15.5")
Monitor-2: HDMI-1 res: 1366x768 hz: 60 dpi: 85 size: 410x230mm (16.1x9.1")
diag: 470mm (18.5")
OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 21.1.2
direct render: Yes
Audio:
Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Dell
driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170
class-ID: 0403
Sound Server-1: ALSA v: k5.10.42-1-MANJARO running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.30 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Dell driver: r8169 v: kernel port: d000 bus-ID: 04:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp4s0 state: down mac:
Device-2: Intel Wireless 3165 driver: iwlwifi v: kernel port: d000
bus-ID: 05:00.0 chip-ID: 8086:3165 class-ID: 0280
IF: wlp5s0 state: up mac:
IP v4: type: dynamic noprefixroute scope: global
broadcast:
IP v6: type: noprefixroute scope: link
WAN IP:
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus-ID: 1-5:4 chip-ID: 8087:0a2a class-ID: e001
Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Logical:
Permissions: Unable to run lvs. Root privileges required.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 447.16 GiB used: 12.4 GiB (2.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WDS240G2G0B-00EPW0 size: 223.58 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s rotation: SSD serial: rev: 0000
scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WDS240G2G0A-00JH30 size: 223.58 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s rotation: SSD serial: rev: 0000
scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 14.65 GiB size: 14.32 GiB (97.74%) used: 10.73 GiB (74.9%)
fs: ext4 dev: /dev/sdb4 maj-min: 8:20 label: N/A
uuid: b3b4e09a-49ac-485e-b590-df183c3d785c
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
used: 308 KiB (0.1%) fs: vfat dev: /dev/sdb6 maj-min: 8:22 label: NO_LABEL
uuid: 036D-4FB2
ID-3: /home raw-size: 13.88 GiB size: 13.56 GiB (97.70%)
used: 1.68 GiB (12.4%) fs: ext4 dev: /dev/sdb5 maj-min: 8:21 label: N/A
uuid: 616220a1-b490-4b81-852e-403d00398314
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 1000 MiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sdb3 maj-min: 8:19 label: N/A
uuid: 52fe74b0-6594-46ae-9591-852c417f0209
Unmounted:
ID-1: /dev/sda1 maj-min: 8:1 size: 499 MiB fs:
label: N/A uuid: 363227E33227A6B9
ID-2: /dev/sda2 maj-min: 8:2 size: 99 MiB fs:
label: N/A uuid: EA47-6D5E
ID-3: /dev/sda3 maj-min: 8:3 size: 16 MiB fs:
label: N/A uuid: N/A
ID-4: /dev/sda4 maj-min: 8:4 size: 222.42 GiB fs:
label: N/A uuid: 4C9C4C849C4C6A92
ID-5: /dev/sda5 maj-min: 8:5 size: 567 MiB fs:
label: N/A uuid: 863E59C03E59A9C7
ID-6: /dev/sdb1 maj-min: 8:17 size: 16 MiB fs:
label: N/A uuid: N/A
ID-7: /dev/sdb2 maj-min: 8:18 size: 193.56 GiB fs:
label: N/A uuid: 01D551D1B8FFBC40
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-2:2 info: Logitech Unifying Receiver type: Keyboard,Mouse
driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
power: 98mA chip-ID: 046d:c534 class-ID: 0301
Device-2: 1-4:3 info: Sunplus Innovation Integrated_Webcam_HD type: Video
driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
chip-ID: 1bcf:2b8a class-ID: 0e02
Device-3: 1-5:4 info: Intel Bluetooth wireless interface type: Bluetooth
driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
chip-ID: 8087:0a2a class-ID: e001
Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 55.0 C mobo: 29.8 C sodimm: SODIMM C
Fan Speeds (RPM): cpu: 1939
Info:
Processes: 230 Uptime: 3h 49m wakeups: 26 Init: systemd v: 248
tool: systemctl Compilers: gcc: 11.1.0 Packages: pacman: 1274 lib: 351
flatpak: 0 Shell: Bash v: 5.1.8 running-in: konsole inxi: 3.3.04