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

Re: [PATCH] Initial Chinese translation

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jul 22, 2007, 07:35 UTC
Message-ID
<20070722073519.GV32566@spearce.org>
In-Reply-To
<7vhcnxtgvw.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <gitster@pobox.com> wrote:
Show 11 quoted lines
> Xudong Guan <xudong.guan@gmail.com> writes:
> 
> > Simplified Chinese, in UTF-8 encoding.
> >
> > Signed-off-by: Xudong Guan <xudong.guan@gmail.com>
> > ---
> >  po/zh.po |  250 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >  1 files changed, 250 insertions(+), 0 deletions(-)
> 
> This raises another point in the current i18n scheme.  How would
> we allow zh_CN and zh_TW to coexist?

They probably should be po/zh_CN.po and po/zh_TW.po. Tcl msgcat loads the file that best matches the user's local preferences, so zh.po would be the fallback if neither zh_CN and zh_TW were present, or if the user was using say zh_US as their preferred local.

-- 
Shawn.
Previous: Junio C HamanoNext: Junio C Hamano
Message 6 of 11 in “Initial Chinese translation”
  1. Initial Chinese translationXudong Guan, Jul 22, 2007
  2. Junio C HamanoJul 22, 2007
  3. Johannes SchindelinJul 22, 2007
  4. Xudong GuanJul 22, 2007
  5. Junio C HamanoJul 22, 2007
  6. Shawn O. PearceJul 22, 2007
  7. Junio C HamanoJul 22, 2007
  8. Xudong GuanJul 22, 2007
  9. Junio C HamanoJul 22, 2007
  10. Johannes SchindelinJul 22, 2007
  11. Johannes SchindelinJul 22, 2007

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.