gettext libintl doesn't work correctly #109
Unanswered
nrbrook
asked this question in
Everyday usage
Replies: 1 comment 1 reply
-
|
Did you try contacting the gettext project to verify this is actually a packaging error and not just an upstream bug? Because we don't provide code support so you'll have to come up with a test that would make this fail in the homebrew test block. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In a C App, after calling
setlocaleandbindtextdomain,dgettextdoesn't return a string from the specified locale message catalogue. Instead, libintl uses the locale defined in theLANGenvironment variable. The only way to change the locale is by changingLANG:putenv((char *)"LANG=be_BY");. See the example project and the stack overflow question. I'm not sure where this problem lies –libintl? The homebrew formulae?Beta Was this translation helpful? Give feedback.
All reactions