Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't load lang file #72

Open
savchenko opened this issue Sep 12, 2024 · 2 comments
Open

Couldn't load lang file #72

savchenko opened this issue Sep 12, 2024 · 2 comments

Comments

@savchenko
Copy link

Building from 8f63328

INFO[0000] >>> Loading preferences                      
INFO[0000] lang: en_AU                                  
ERRO[0000] Couldn't load the basic lang file            

Perhaps fallback to C.UTF-8 if en_UK, en_AU et al. are not found?

@nwg-piotr
Copy link
Owner

The "basic lang file" is /usr/share/nwg-look/langs/en_US.json.

@savchenko
Copy link
Author

Here:

nwg-look/tools.go

Line 1254 in 8f63328

shellDataFile := filepath.Join(dataHome(), "/nwg-shell/data")

dataHome() returns $HOME/.local/share which prevents nwg-look from starting. I propose to search the $PWD as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants