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
Build fails if no translation matching $LINGUAS #475
Comments
What you see here is not a bug AFAIK, there just is no en_GB translation so if you ask for it it fails. |
The example is a bit fake, you probably don't ask for it specifically for geany-plugins it is a global variable that is set anyway. If the translation isn't there it isn't there. The user can't do anything to fix it. It's nice for them to know but halting the build seems a bit extreme. The gettext manual has "The po/ directory should also receive a file named LINGUAS." |
Why do you absolutely want this file? We do honor the The question is why you want that file so badly, or rather, what behavior is a problem, what you expect, and why is it valid. |
BTW, https://www.gnu.org/software/gettext/manual/gettext.html#Installers doesn't seem to suggets using |
On po/LINGUAS, I was guessing a bit how this bit of po/Makefile.in.in worked:
I thought I'd tested it but apparently not. Instead I think the answer is to set ALL_LINGUAS to the available translations, not the value of the user's LINGUAS. Pull request and test results here: #477 On expected behaviour:
(PR doesn't quite do that empty value installs all, but I can live with that) and:
There is already pt_BR and zh_CN available, so I don't see en_GB as exceptional. |
need a file po/LINGUAS
Used to exist and subsequently generated with waf: 85db7a3
but doesn't seem to have been replaced when waf removed.
The text was updated successfully, but these errors were encountered: