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

Re: gettext, multiple Preferred languages, and English

From
Andrew Janke <floss@apjanke.net>
Date
Apr 22, 2019, 00:57 UTC
Message-ID
<9d7a2fb4-8bab-2d28-1066-fbace688a5cc@apjanke.net>
In-Reply-To
<CACsJy8C1w0zJm71KFb21MC+c2NAGnRLDtE3KNK21hO7U4Ax7Hg@mail.gmail.com>
On 4/21/19 8:35 PM, Duy Nguyen wrote:
Show 11 quoted lines
> On Sun, Apr 21, 2019 at 6:40 PM Andrew Janke <floss@apjanke.net> wrote:
>>
>> Hi, Git folks,
>>
>> This is a follow-up to https://marc.info/?l=git&m=154757938429747&w=2.
> 
> This says the problem with "en" detection has been fixed. Would
> upgrading gettext fix it?
> 
> You would need to upgrade something (git or gettext) and if it's
> already fixed in gettext I don't see why we need a workaround in git.

From reading the bug report, that does sound like it would fix it. But from what I can see, that fix hasn't made it out into a released version of gettext yet. I haven't downloaded the development gettext to confirm the fix.

Looking at the gettext ftp site at https://ftp.gnu.org/pub/gnu/gettext/, it looks like gettext does not make frequent releases, and the last release was two and a half years ago. Who knows when the next release will be. And then it'll take longer to trickle down into Linux distributions and such.

From your release history at https://github.com/git/git/releases, it seems like Git is a lot more active in making releases than gettext. So including this fix in Git would get it into the hands of affected users sooner. And it seems like a pretty low-risk change to me.

Then once the new gettext release is out, their fix is confirmed, and it makes it out into common distros, the workaround could be removed from Git.

Cheers, Andrew

Previous: Duy NguyenNext: Ævar Arnfjörð Bjarmason
Message 7 of 9 in “gettext, multiple Preferred languages, and English”
  1. Andrew JankeApr 21, 2019
  2. Philip OakleyApr 21, 2019
  3. Andrew JankeApr 21, 2019
  4. Andrew JankeApr 22, 2019
  5. Junio C HamanoApr 21, 2019
  6. Duy NguyenApr 22, 2019
  7. Andrew JankeApr 22, 2019
  8. Ævar Arnfjörð BjarmasonApr 22, 2019
  9. Andrew JankeApr 23, 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.