# Help on autocompletion not localized?

2 messages from 2018-09-11 to 2018-09-11. Participants: Jean-Noël Avila, Duy Nguyen.
Thread: https://gitlist.dev/t/49316

## Jean-Noël Avila, 2018-09-11 12:52

Subject: Help on autocompletion not localized?
Message-ID: <3d9c42ea-70ba-a27c-1ece-797829caa1b0@free.fr>
URL: https://gitlist.dev/e/3d9c42ea-70ba-a27c-1ece-797829caa1b0%40free.fr

```
Hi,


When invoking the autocompletion help with <TAB><TAB> after a double
hyphen under zsh, the help list is not localized. I guess the help list
comes from some usage output of the on-going git command, but I wasn't
able to find where and how this happens (completion scripts are quite
hairy).


Thanks

```

## Duy Nguyen, 2018-09-11 16:01

Subject: Re: Help on autocompletion not localized?
Message-ID: <CACsJy8DBoZyOSivk-ZZZze0nViPqw-GvseDJADvNyy7c1jHV-Q@mail.gmail.com>
URL: https://gitlist.dev/e/CACsJy8DBoZyOSivk-ZZZze0nViPqw-GvseDJADvNyy7c1jHV-Q%40mail.gmail.com
In-Reply-To: <3d9c42ea-70ba-a27c-1ece-797829caa1b0@free.fr>

```
On Tue, Sep 11, 2018 at 2:55 PM Jean-Noël Avila <jn.avila@free.fr> wrote:
>
> Hi,
>
>
> When invoking the autocompletion help with <TAB><TAB> after a double
> hyphen under zsh, the help list is not localized. I guess the help list
> comes from some usage output of the on-going git command, but I wasn't
> able to find where and how this happens (completion scripts are quite
> hairy).

I don't use zsh, but I guess that's because the help strings are hard
coded in there (in English of course). You can start at
__git_zsh_cmd_common() function.

These strings are available (or at least possible to make them
available) from 'git' binary, which should be translated. It's just a
a matter of hooking up to zsh script.
-- 
Duy

```
