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

Re: [PATCH] i18n: po for zh_cn

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Feb 2, 2012, 13:29 UTC
Message-ID
<CACsJy8BPTuS+u8Grx0ojhdX-5+Vn6=DuojSWO0or7fJE1dbAEQ@mail.gmail.com>
In-Reply-To
<7vr4ye15kr.fsf@alter.siamese.dyndns.org>
On Thu, Feb 2, 2012 at 6:45 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 14 quoted lines
> 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.

-- 
Duy
Previous: Jiang XinNext: Ævar Arnfjörð Bjarmason
Message 6 of 12 in “i18n: po for zh_cn”
  1. i18n: po for zh_cnJiang Xin, Feb 1, 2012
  2. Ævar Arnfjörð BjarmasonFeb 1, 2012
  3. Jiang XinFeb 2, 2012
  4. Junio C HamanoFeb 1, 2012
  5. Jiang XinFeb 2, 2012
  6. Nguyen Thai Ngoc DuyFeb 2, 2012
  7. Ævar Arnfjörð BjarmasonFeb 2, 2012
  8. Jiang XinFeb 3, 2012
  9. Junio C HamanoFeb 2, 2012
  10. Junio C HamanoFeb 2, 2012
  11. Jiang XinFeb 2, 2012
  12. Junio C HamanoFeb 2, 2012

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.