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.