{"thread":{"id":"49316","subject":"Help on autocompletion not localized?","startedAt":"2018-09-11T12:52:47Z","lastAt":"2018-09-11T16:01:46Z","messageCount":2,"participants":["Jean-Noël Avila","Duy Nguyen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"357860","messageId":"3d9c42ea-70ba-a27c-1ece-797829caa1b0@free.fr","threadId":"49316","inReplyTo":null,"subject":"Help on autocompletion not localized?","fromName":"Jean-Noël Avila","fromEmail":"jn.avila@free.fr","sentAt":"2018-09-11T12:52:38Z","receivedAt":"2018-09-11T12:52:47Z","isPatch":false,"sender":{"key":"jn.avila@free.fr","avatar":"https://avatars.githubusercontent.com/u/156172?v=4"},"body":"Hi,\n\n\nWhen invoking the autocompletion help with <TAB><TAB> after a double\nhyphen under zsh, the help list is not localized. I guess the help list\ncomes from some usage output of the on-going git command, but I wasn't\nable to find where and how this happens (completion scripts are quite\nhairy).\n\n\nThanks\n"},{"id":"357867","messageId":"CACsJy8DBoZyOSivk-ZZZze0nViPqw-GvseDJADvNyy7c1jHV-Q@mail.gmail.com","threadId":"49316","inReplyTo":"3d9c42ea-70ba-a27c-1ece-797829caa1b0@free.fr","subject":"Re: Help on autocompletion not localized?","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2018-09-11T16:01:17Z","receivedAt":"2018-09-11T16:01:46Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On Tue, Sep 11, 2018 at 2:55 PM Jean-Noël Avila <jn.avila@free.fr> wrote:\n>\n> Hi,\n>\n>\n> When invoking the autocompletion help with <TAB><TAB> after a double\n> hyphen under zsh, the help list is not localized. I guess the help list\n> comes from some usage output of the on-going git command, but I wasn't\n> able to find where and how this happens (completion scripts are quite\n> hairy).\n\nI don't use zsh, but I guess that's because the help strings are hard\ncoded in there (in English of course). You can start at\n__git_zsh_cmd_common() function.\n\nThese strings are available (or at least possible to make them\navailable) from 'git' binary, which should be translated. It's just a\na matter of hooking up to zsh script.\n-- \nDuy\n"}]}