Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcDSK-0006NW-Tb for pgsql-docs@arkaria.postgresql.org; Tue, 23 Aug 2016 15:17:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bcDSK-0006hb-5n for pgsql-docs@arkaria.postgresql.org; Tue, 23 Aug 2016 15:17:36 +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 1bcDRx-0005uF-E2 for pgsql-docs@postgresql.org; Tue, 23 Aug 2016 15:17:13 +0000 Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bcDRu-0004eh-55 for pgsql-docs@postgresql.org; Tue, 23 Aug 2016 15:17:12 +0000 Received: by mail-lf0-x22c.google.com with SMTP id g62so103149735lfe.3 for ; Tue, 23 Aug 2016 08:17:09 -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=EujoSKOVrdMuBhJopF3J1uEaZzsTlTLNp2KG8hvQVr0=; b=POnbqoo3yrk9BmHqcKAAuYoMuQ7yqpq4qd3Vev+8FfVsSNgp9f6DeiikKYm4ASbHEw BEgGwlAu+Ymin0DAp7i+2bZXxIP/HmCnIzKB02H8NGKfkA6xFi9umd2/FCvn4XkMIofe ayfPsHT+Afw4OD3rKRylAdoNxWtf4cEG29yd1ptuarUVYpVDcytwu1R18x4DdWiyxyQP ZTQV7hRnQjVTwgH59b4IiYGx5kUURENZPbKe+vf9+wkqguxrRA9Kzkh0F+BsxdMecRQU 8qJ7UY6UYeYJJkyC3rTijyy8THTWWtDKQJVpdN9KEUjyixY9XPW0I6TqoIB+/0xODVnc u4Hw== 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=EujoSKOVrdMuBhJopF3J1uEaZzsTlTLNp2KG8hvQVr0=; b=CwtRD2JLNzddQnpNwUrqrJxsQxGcGETP6x/ElwcAc4t2uC7GYVymcMpgljHwAfjPIc nbTZKOztyQCZLawg3Jzx1M59OZoVC5ZaxDk0b3dothGyn+foPmj/cUinlnfn0Wfr3iMg lPQgqdX7qRSnMp/y6t7Ujlmja4fBMnSbJx4TUhPvFXivrBNcuPjab6evK0nykZzv5m5R U3iILBbFovy/92/PQeYKJCpRIky+sz9IACChtBXWnlHPoBTDfGCVBP8VoHZ9P/rn9CUV SuGSOP0PXcSYxu6ygKQl/H0GvV2BczxCTKXJ5cPVuYe0Jz29ph/xTXzuBZzdtk1lOg4B gfXg== X-Gm-Message-State: AEkoous3NT0MwnkGFVc83Fu5cCfzO++wVrzf15Cxu8rA8TBnwlZvABXUZ2U1Jh9QO+tDqQ== X-Received: by 10.46.32.224 with SMTP id g93mr7196314lji.33.1471965428550; Tue, 23 Aug 2016 08:17:08 -0700 (PDT) Received: from [1.0.0.7] ([109.196.196.118]) by smtp.gmail.com with ESMTPSA id 192sm944747ljf.17.2016.08.23.08.17.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Aug 2016 08:17:07 -0700 (PDT) Subject: Re: UTF-8 docs To: Tatsuo Ishii References: <7fbf2e80-9507-0521-d0e9-913ab81a58df@gmail.com> <20160823.075131.847843562615671158.t-ishii@sraoss.co.jp> <20160823.234340.102844932353677705.t-ishii@sraoss.co.jp> Cc: juergen@purtz.de, pgsql-docs@postgresql.org, vitus@wagner.pp.ru From: Alexander Law Message-ID: Date: Tue, 23 Aug 2016 18:17:06 +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: <20160823.234340.102844932353677705.t-ishii@sraoss.co.jp> Content-Type: text/plain; charset=UTF-8; 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 Hello, If I understand you right, your goal to change the docs encoding is to allow for the docs translation. But I don't think that the translation should be done that way (with replacing sgml/xml/whatever). Just as we don't translate server messages by copying all the source files and replacing strings in them, we shouldn't translate the docs by replacing sgml contents. We at Postgres Pro using the gettext technologies for this. And we have complete working toolchain (including modified Makefile) for translation the docs. (If someone is interested in, we can share our results and provide everything needed to get started). Those who translated sgmls/xml before are moving to gettext/po (The FreeBSD Documentation Project is most remarkable example) or similar approaches. So I think a broader view to the evolution of the PostgreSQL documentation is needed. Best regards, Alexander 23.08.2016 17:43, Tatsuo Ishii пишет: >>> Really, what change we need, it is conversion from SGML to XML format. >>> It would solve some real problems, such as ability to include diagrams >>> in the docs, > This argument sounds weak to me. Last time when I proposed to include > diagrams in the docs in the pgsql-hackers list, some developers were > against the idea because if the diagram is binary, it's hard to > maintain in git. However up to now, there's no consensus that which > text base diagram source (which allows to generate real diagrams from > it) is good for our purpose. I don't see why just migrating to XML > solves the problem. > > (the discussion on diagrams stopped in 2011, as far as I know) > https://www.postgresql.org/message-id/1307972167.2862.518.camel@core2 > > Don't get me wrong. I am not against migrating to XML. I just want to > say that let's not pretend that migrating to XML would solve all the > problems we have. > > Best regards, > -- > Tatsuo Ishii > SRA OSS, Inc. Japan > English: http://www.sraoss.co.jp/index_en.php > Japanese:http://www.sraoss.co.jp > > -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs