Re: [PATCH] i18n: po for zh_cn
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Feb 2, 2012, 16:42 UTC
- Message-ID
- <CACBZZX5AceH+pc-teFm=PE9u14PM88GLtLnNg5ENOpNni0Tsig@mail.gmail.com>
- In-Reply-To
- <CACsJy8BPTuS+u8Grx0ojhdX-5+Vn6=DuojSWO0or7fJE1dbAEQ@mail.gmail.com>
On Thu, Feb 2, 2012 at 14:29, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:
Show 26 quoted lines
> On Thu, Feb 2, 2012 at 6:45 AM, Junio C Hamano <gitster@pobox.com> wrote: >> Jiang Xin <worldhello.net@gmail.com> writes: >> >>> Git can speak Chinese now. >>> >>> Signed-off-by: Jiang Xin <worldhello.net@gmail.com> >>> --- >>> po/zh_cn.po | 3568 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>> 1 个文件被修改, 3568 处添加(+), 0 处删除(-) >>> create mode 100644 po/zh_cn.po >> >> I do not mind Chinese in the patch text (i.e. below), but I would have >> preferred the above not to be in Chinese, which I do not read---I can >> guess what 文件, 添加 and 删除 are, and I can also guess that 个 and 处 >> are units of counting, but nevertheless... > > Such a stat line would be wonderful in an all-Chinese environment > though. I'm thinking perhaps it's a good idea to support > core.officialLocale (or workingLanguage). Commands that produce stuff > for outside like format-patch would prefer core.exchangeLanguage over > $LANG. Commands in blurred zone can learn --official option to ignore > $LANG. > > We can then have a shared config with core.officialLocale = > en_US.UTF-8 somewhere in git.git. Developers of multi-nation companies > would be pleased, I think.
For now we can also avoid this whole issue and just declare that anything that's used for interchange or permanently stored (git-format-patch output, reflogs, merge commit messages etc.) will be in English.