pg.ddx.io  pgsql-translators@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: chenhj <chjischj@163.com>
To: He Xiong <iihero@qq.com>
To: Rugal Bernstein <tenjindescend@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-translators <pgsql-translators@postgresql.org>
Subject: Re: A better translation version of Chinese forpsql/po/zh_CN.po file
Date: Fri, 11 Sep 2015 02:07:37 +0800 (CST)
Message-ID: <4a475ec1.5ce.14fb87101d4.Coremail.chjischj@163.com> (raw)
In-Reply-To: <tencent_0213E2557747CA1409A5175E@qq.com>
References: <2015021922222548976116@gmail.com>
	<559545B3.1010707@iki.fi>
	<CADc1nDEYAViuj6mr-Cp6SGBki5L2WJf-0bUg80Cz=1SirLnbzA@mail.gmail.com>
	<20150904173111.GL2912@alvherre.pgsql>
	<tencent_0213E2557747CA1409A5175E@qq.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-translators>

Hi



I checked part of the psql's zh_CN.po file that Rugal Bernstein provided(only line 1~707),
I think the almost translation is better than the original one,
however there still remains not native translation,
and some C format  string is wrong,Such as:


#: ../../common/username.c:62
#,  c-format
msgid "user name lookup failure: error code %lu"
msgstr "用户名查找失败: 错误码%s"


should  be:
msgstr "用户名查找失败: 错误码%lu"


Please look the attachment for detal.

Regards, 
Chen Huajun

At 2015-09-10 12:41:50, "He Xiong" <iihero@qq.com> wrote:

the zh_CN.po is different with the TW version.
I think, Álvaro is right. Please download the current po files from  https://babel.postgresql.org/ and make the change, then submit the patch.


------------------
Regards,  
Sean (Xiong He)


 




------------------ Original ------------------
From:  "Alvaro Herrera";<alvherre@2ndquadrant.com>;
Date:  Sat, Sep 5, 2015 01:31 AM
To:  "Rugal Bernstein"<tenjindescend@gmail.com>;
Cc:  "Heikki Linnakangas"<hlinnaka@iki.fi>; "pgsql-translators"<pgsql-translators@postgresql.org>; "Xiong He"<iihero@qq.com>;
Subject:  Re: [pgsql-translators] A better translation version of Chinese forpsql/po/zh_CN.po file


Rugal Bernstein wrote:
> Hi all,
> Sorry for the later response. I am not familiar with the commit procedure.
> I am here to raise this patch again in the 2015-11 commitfest.
> Still the same, I am pretty confident with my translation. I guarantee it
> is very orthodox and much more native than the TW version.

Hi,

Please have a look at this website: https://babel.postgresql.org/
In there, you will find a lot of information about the current status of
the translation of all the various branches for the language, as well as
a git repository that you can clone.  The repository contains branches
for each active Postgres branch.

The methodology I recommend you follow is to download a .po file from
the website, then use it as a base to apply your new translations.

I just pushed your translation to the master branch (which is for
Postgres 9.5) -- to do so, I downloaded
https://babel.postgresql.org/po-current/psql-zh_CN.po (linked in the
website) then ran "msgmerge your-file.po psql-zh_CN.po", then committed
that as the new version of psql/zh_CN.po.

Hmm, ouch.  After pushing, I found out that during 2014, our established
translator Xiong He was still active:
http://pgfoundry.org/tracker/?func=detail&atid=320&aid=1011462&group_id=1000064
Did you try contacting him before updating the translation?  What is the
reason for this alleged divergence?  I don't see Xiong He updating the
TW translation (which has stalled since 2011) so I have trouble
understanding exactly why you are calling our existing translation "the
TW version".

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Service

-- 
Sent via pgsql-translators mailing list (pgsql-translators@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-translators

Attachments:

review_result.txt (text/plain, 2.8K) download #: ../../common/username.c:62 #, c-format msgid "user name lookup failure: error code %lu" msgstr "用户名查找失败: 错误码%s" ==> msgstr "用户名查找失败: 错误码%lu" # describe.c:117 #: command.c:708 #, c-format msgid "The server (version %d.%d) does not support editing view definitions.\n" msgstr "服务器(版本%d.%d)不支持编辑函数源码.\n" => msgstr "服务器(版本%d.%d)不支持编辑视图定义.\n" # describe.c:117 #: command.c:1389 #, c-format msgid "The server (version %d.%d) does not support showing view definitions.\n" msgstr "服务器(版本%d.%d)不支持显示函数源码.\n" => msgstr "服务器(版本%d.%d)不支持显示视图定义.\n" #: command.c:1978 command.c:1979 command.c:1980 #, #| msgid "[unknown]" msgid "unknown" msgstr "[未知]" => msgstr "未知" #: command.c:2001 #, c-format msgid "" "WARNING: Console code page (%u) differs from Windows code page (%u)\n" " 8-bit characters might not work correctly. See psql reference\n" " page \"Notes for Windows users\" for details.\n" msgstr "" "警告:来自 Windows 代码页 (%u) 的控制台代码页 (%u) 的差异\n" " 8-bit 字符可能无法正常工作。请查阅 psql 参考\n" " 页 \"Windows 用户注意事项\" 的详细说明。\n" => msgstr "" "警告:来自 Windows 代码页 (%u) 的控制台代码页 (%u) 的差异\n" " 8-bit 字符可能无法正常工作。请查阅 psql 参考页\n" " \"Windows 用户注意事项\" 的详细说明。\n" # command.c:1355 #: command.c:2718 #, c-format msgid "Border style is %d.\n" msgstr "边缘风格是 %d。\n" => msgstr "边框风格是 %d。\n" # command.c:1389 #: command.c:2744 command.c:2752 #, c-format msgid "Field separator is zero byte.\n" msgstr "栏位分隔符号是0字节\n" => msgstr "字段分隔符号是0字节\n" # command.c:1389 #: command.c:2746 #, c-format msgid "Field separator is \"%s\".\n" msgstr "栏位分隔符号是 \"%s\"。\n" ==> msgstr "字段分隔符号是 \"%s\"。\n" # command.c:1485 #: command.c:2759 #, c-format msgid "Default footer is on.\n" msgstr "打开默认步进器。\n" => msgstr "默认页脚开启。\n" # command.c:1487 #: command.c:2761 #, c-format msgid "Default footer is off.\n" msgstr "关闭默认步进器。\n" => msgstr "默认页脚关闭。\n" #: command.c:2807 #, c-format msgid "Pager won't be used for less than %d lines\n" msgstr "" # command.c:1355 #: command.c:2859 command.c:2871 #, c-format msgid "Unicode border linestyle is \"%s\".\n" msgstr "Unicode 边缘风格是 %d。\n" => msgstr "Unicode 边缘风格是 %d。\n" #: command.c:3281 #, c-format #| msgid "\"%s\" is not a view" msgid "%s.%s is not a view\n" msgstr "\"%s\" 不是一个视图" => msgstr "%s.%s 不是一个视图"

view thread (13+ messages)  latest in thread

Message-ID: <4a475ec1.5ce.14fb87101d4.Coremail.chjischj@163.com>
Permalink:  ../4a475ec1.5ce.14fb87101d4.Coremail.chjischj@163.com/
Also on:    postgresql.org/message-id/4a475ec1.5ce.14fb87101d4.Coremail.chjischj@163.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-translators@postgresql.org
  Cc: chjischj@163.com, iihero@qq.com, tenjindescend@gmail.com, alvherre@2ndquadrant.com, hlinnaka@iki.fi
  Subject: Re: A better translation version of Chinese forpsql/po/zh_CN.po file
  In-Reply-To: <4a475ec1.5ce.14fb87101d4.Coremail.chjischj@163.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox