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

I got "invalid language: C" #187

Open
vitaly-zdanevich opened this issue May 17, 2024 · 2 comments
Open

I got "invalid language: C" #187

vitaly-zdanevich opened this issue May 17, 2024 · 2 comments
Labels

Comments

@vitaly-zdanevich
Copy link

$ wb f 'complex numbers'
invalid language: C

wikibase-cli 18.0.2

Gentoo Linux.

@vitaly-zdanevich
Copy link
Author

Solved by

wb config lang en

@maxlath maxlath added the bug label May 17, 2024
@maxlath
Copy link
Owner

maxlath commented May 17, 2024

Could it be that in your shell environment, $LANG starts with C? That environment variable was checked to infer a preferred language in absence of an explicit config value, but that might lead to pick up invalid languages: I tried to fix that it in 7bbfb11, published in v18.0.3

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

No branches or pull requests

2 participants