Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hgS8u-0004GA-5A for pgsql-translators@arkaria.postgresql.org; Thu, 27 Jun 2019 11:00:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hgS8s-0006YG-NC for pgsql-translators@arkaria.postgresql.org; Thu, 27 Jun 2019 11:00:38 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hgS8s-0006Y8-Dz for pgsql-translators@lists.postgresql.org; Thu, 27 Jun 2019 11:00:38 +0000 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hgS8p-00036X-EV for pgsql-translators@postgresql.org; Thu, 27 Jun 2019 11:00:37 +0000 Received: by mail-lj1-x229.google.com with SMTP id v24so1838096ljg.13 for ; Thu, 27 Jun 2019 04:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:reply-to:message-id:to:subject:in-reply-to:references :mime-version:content-transfer-encoding; bh=ih94kKnyyEtMU5OkLDHLK79T3mC4BU3b7t3DzTMC8uc=; b=jI3JxTT6n07VKcwAzM4q0TCVX0FxTSQNSkXWaYJ3JaOkQHLwjI3RRIGdgBPSg2Dvd/ YIwaqWOm1embLzdwH2cGLvAk+dfLG+V/cbRXiOKQ01PwSba0x+sOIEKcszsxGFix0C/m fIyg7/vCOqjGqoRNmxqbfqGwujoqZed/P3oEqWZUuC7weg4jo0kaWm4i9EjGpFu22WDt t1KhRu2uJYAaub6gzRwi6MMY8lpjCjRSjAVLO1wYvSr6OE4qEP7PByGldE6PNsy1XBrg bjFrNTFb/ncKMcDois0aTseH4OrBYL5hkeCSCI1wo8xLrlyDxVypSPI1RAzW8r24nW/r D0Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-transfer-encoding; bh=ih94kKnyyEtMU5OkLDHLK79T3mC4BU3b7t3DzTMC8uc=; b=C3bwL1bp0ds24VhsCbMzTDztDFwBM5STCAOHTM1Sk6Pj+mNyYlodyZe8B6JKSwuPxj +FNXwgwvrR1ET1WvwClowEeazAF4LIfp7rkwN7xVXbxAn4qAj/j6eU69222klRIi+bfY FLi28RvsqTW/1D3l3FdRRdvufX/Gc4wvnYwVcYjmrfpHQfQW7LCPqqp/zo0hlw/YHNqF 9t38MhTas0tzkU07/AYwjUBK0O/3PTI1gbQ9Le1czoQFB4hTwe3wOWr7CJJFtz+wKMH/ skT0mD8vccFOAruMT3jTXjknGrFc3jOTlFE0d8DReULoVeAbgOBpgvA1y0uwGOq8/4jZ X/pg== X-Gm-Message-State: APjAAAWmlo7oO1EC2PDYO8hsNik9H6eUw4wkZ2ch1FzTsyPNa6PDww5u NcxW54WfBYXS//K4E1kR4CY= X-Google-Smtp-Source: APXvYqysMOP/rQGeG0c/Xosa882PXcfdit+3uiMmc1R69nV4R9/pd6s+m/Dv2xPF88dpc4gDYxTsrw== X-Received: by 2002:a2e:900c:: with SMTP id h12mr2123889ljg.197.1561633234049; Thu, 27 Jun 2019 04:00:34 -0700 (PDT) Received: from PG-DESKTOP (134.158.pool.seti.kr.ua. [91.202.134.158]) by smtp.gmail.com with ESMTPSA id m10sm309446lfd.32.2019.06.27.04.00.32 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Jun 2019 04:00:32 -0700 (PDT) Date: Thu, 27 Jun 2019 14:00:40 +0300 From: Pavlo Golub Reply-To: Pavlo Golub Message-ID: <1565539210.20190627140040@gmail.com> To: Peter Eisentraut , pgsql-translators@postgresql.org Subject: Re: how babel works In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello Peter, Monday, June 17, 2019, 12:00:19 AM, you wrote: > Some people were interested in adding an "API" to the babel web site or > perhaps make other enhancements. I figured I would quickly share how > this all currently works, since it's fresh in my head too. > The scripts are in this git repository: > https://git.postgresql.org/gitweb/?p=pgtranslation/admin.git;a=summary > This should work: > git clone git://git.postgresql.org/git/pgtranslation/admin.git > cd admin > ./wwwtools/update-nls-www -o $SOMEDIR > The output in $SOMEDIR is served on the web. That's it. > The babel host runs the above by cron twice an hour. Depending on the > amount of pending changes, it might take 10 or 20 minutes to finish. If > you run this at home from scratch, it might take an hour or more. Great! Thanks a lot for info! -- Best regards, Pavlo Golub