Error: Couldn't load the basic lang file
cosme-benito opened this issue · 6 comments
I assume I screwed something up, this used to work just fine.
nwg-look -d
INFO[0000] >>> Loading preferences
DEBU[0000] Loaded preferences: {"export-settings-ini":true,"export-gtkrc-20":true,"export-index-theme":true,"export-xsettingsd":true}
WARN[0000] Couldn't determine your lang
INFO[0000] lang: en_US
ERRO[0000] Couldn't load the basic lang file
I've tried to install both ngw-look
and ngw-look-bin
, same results. The en_US.json file seems to exist
sudo find / -iname en_US.json
/home/xxx/.cache/paru/clone/nwg-look-bin/src/langs/en_US.json
/usr/share/nwg-look/langs/en_US.json
Let me know what I could have done to screw this up :(
Upon further inspection, this seems to happen on a kitty
shell opened via the hyprland keybind or tofi. In konsole
it works fine. If I open a kitty shell via konsole it also works fine.
In the environment where you see the message, you must have the LANG
env variable unset.
Looks as if your XDG_DATA_DIRS
pointed to some wrong location. What's the value? Have you tried to unset it?
You nailed it, that was exactly the problem! One of my dot files is likely messing with it. Thank you VERY much for the support and I apologize for wasting your time.
Haha, no problem. If I happen not to have enough time, you just need to wait a bit longer. :) I'm glad I could help.