Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcSNe-0006ww-Hy for pgsql-docs@arkaria.postgresql.org; Wed, 24 Aug 2016 07:13:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bcSNd-0000nf-Jp for pgsql-docs@arkaria.postgresql.org; Wed, 24 Aug 2016 07:13:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bcSNd-0000nQ-1j for pgsql-docs@postgresql.org; Wed, 24 Aug 2016 07:13:45 +0000 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bcSNZ-0007O8-TD for pgsql-docs@postgresql.org; Wed, 24 Aug 2016 07:13:44 +0000 Received: by mail-lf0-x244.google.com with SMTP id k135so376221lfb.1 for ; Wed, 24 Aug 2016 00:13:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=KVuOXn6qsCKi5qWWgfAnwdB+27RDKwdJH/v1ZdDiQDM=; b=NCWIq/Ki/Y5PaEtCIL+d/30DMps5KevMJo1hOekyWN2+MrRQX9s5PC8PHBLTgErvHd 4Ae1U7qPYe7s2NRz/oaB32QLbRPp+USwG1TL7Pt312pyWCGcAGcayu3ScNTDfZl0kHIH iD7ktxxzDSQjXSV7m6zzQb0fk3FZhk3yPNi8/DZkksdw/M9E09eXNuNcIBFptESVHJNC Hcq6DmS8FXKbM7E1Ux7uVHidOOsXs2G+p+oz0hBAuc4s6k6pj5iq6DTirBRQ0z2BTao/ 6qjRKb+s8k6t2cZwKcFNoNBQWGdhNRyjOJDt0mxR3gEsNjVYiyDzu0bZLrcHAFqdwRbf XSUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=KVuOXn6qsCKi5qWWgfAnwdB+27RDKwdJH/v1ZdDiQDM=; b=PbOVGBI7iJljtaooKfeUaAErYzSX9vn94ggTAqWh4Ils1K741RAGCz/BJKVRpC47Gd PSw1WitxMKb0sGT4QJv7D0H9HHCJ/6Nyn7Hhv9KKSzNEto3SsfDplcwNGw2Rgt3JX9Av riPWm8JcHlaJwncdECD7p83ksb2UUrAGf9Sc4njWIDR9/Wl+QOkQO77q/loeS0LGE4qr /asMokzUSDYOxmewwb16UtyLAeV0UzxN4cu2bBMCj/FGWRsICuoYiXwM2MzgU9EEBtcY DD3wH1u/k2VfMYHsWGduZIAd+4G89tWlXFovgv8r5gX/cx8xPrY5rQBegzXuYN5JDxJl dqAg== X-Gm-Message-State: AEkoouvIY5QJiVw4msc4Ri4HUo1XQ0jz4/2vyxHcgl4HaQ+GbCNILcNVt4aM3tReW1SC8w== X-Received: by 10.46.1.69 with SMTP id 66mr413449ljb.27.1472022820547; Wed, 24 Aug 2016 00:13:40 -0700 (PDT) Received: from [1.0.0.7] ([109.196.196.118]) by smtp.gmail.com with ESMTPSA id l129sm1669871lfl.37.2016.08.24.00.13.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Aug 2016 00:13:39 -0700 (PDT) Subject: Re: UTF-8 docs To: Tatsuo Ishii References: <20160824.081919.1280691778046843345.t-ishii@sraoss.co.jp> <8befeaca-abab-27b7-4e1c-9a964d0c704c@gmail.com> <20160824.155847.1250205802793953352.t-ishii@sraoss.co.jp> Cc: juergen@purtz.de, pgsql-docs@postgresql.org, vitus@wagner.pp.ru From: Alexander Law Message-ID: <7d22ce9f-051e-7e7a-2ac8-e6ca96c2e4f6@gmail.com> Date: Wed, 24 Aug 2016 10:13:38 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160824.155847.1250205802793953352.t-ishii@sraoss.co.jp> Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org 24.08.2016 09:58, Tatsuo Ishii пишет: > Please look at the attached .pot for one of the doc files. You can use >> any translation software (which supports .po (e.g. poedit, Lokalize, >> ...)) to translate it to any language. >> And you can look at all the docs converted to .po for translation: >> http://oc.postgrespro.ru/index.php/s/puEJKoUwbZ3dia5/download > Ok, the idea is, each sentence in the doc are regarded as "very long > message". Interesting. Looks better than "replacing SGML contents with > translated contents" (which Japanese doc project is doing for now). Yes, the DocBook format has the natural blocks such as , , <indexterm>, ... which could be translated as the separate text fragments. So it's the question of the most accurate mapping of those blocks to .po fragments and back. (We use for it customized xml2po from gnome-doc-utils but there are another programs too.) All the other text processing could be done with the rich gettext toolset. > Unfortunately I can't read Japanese and don't understand how Japanese > FreeBSD team works (and why cant it use the gettext technologies) , > but the main FreeBSD Documentation team is moving to PO (see > https://www.bsdcan.org/2016/schedule/track/Hacking/680.en.html). Please look at the presentation, and the http://wonkity.com/~wblock/translation/translation.pdf -- these documents greatly explain all the challenges of the pre-existing approach and the solutions. -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs