git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [Bug report] Git incorrectly selects language in macos

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jan 16, 2019, 02:28 UTC
Message-ID
<20190116022808.GC8864@google.com>
In-Reply-To
<89DD4C7B-7F8B-42C5-81F2-F14D5B2D4CFD@derailer.org>
Nate Weaver wrote:
> Upon further digging, this is an issue in gettext's code on macOS:
> The function _nl_language_preferences_default (in langprefs.c) specifically
> breaks early when it sees the literal string "en" in the list (from the
> "AppleLanguages" defaults key), but not when it gets "en-US", etc.
Sorry I missed your other followup.

As you mentioned, the fix is at https://savannah.gnu.org/bugs/?49560. There isn't a gettext release yet with that fix, so perhaps https://github.com/Homebrew/homebrew-core/blob/master/Formula/gettext.rb could be updated to apply that fix as a patch (https://docs.brew.sh/Formula-Cookbook#patches).

Thanks again and sorry for the noise, Jonathan

Previous: Jonathan Nieder
Message 11 of 11 in “[Bug report] Git incorrectly selects language in macos”
  1. Niko DzhusSep 14, 2018
  2. Ævar Arnfjörð BjarmasonSep 14, 2018
  3. Niko DzhusSep 15, 2018
  4. Niko DzhusSep 15, 2018
  5. Eric SunshineSep 16, 2018
  6. Nate WeaverJan 15, 2019
  7. Nate WeaverJan 15, 2019
  8. Nate WeaverJan 15, 2019
  9. Eric SunshineJan 15, 2019
  10. Jonathan NiederJan 16, 2019
  11. Jonathan NiederJan 16, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.