Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6CEFB200C28 for ; Mon, 13 Mar 2017 19:05:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6B717160B6C; Mon, 13 Mar 2017 18:05:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B221B160B5D for ; Mon, 13 Mar 2017 19:05:46 +0100 (CET) Received: (qmail 89401 invoked by uid 500); 13 Mar 2017 18:05:45 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 89391 invoked by uid 99); 13 Mar 2017 18:05:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2017 18:05:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 244F3C0C0D for ; Mon, 13 Mar 2017 18:05:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.398 X-Spam-Level: X-Spam-Status: No, score=0.398 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id R4flXDIWzSTd for ; Mon, 13 Mar 2017 18:05:43 +0000 (UTC) Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A95AB5F659 for ; Mon, 13 Mar 2017 18:05:43 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id g10so21072685wrg.0 for ; Mon, 13 Mar 2017 11:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=05kXCGAbNepw9JhjeoeJGqX6XJNdQRKSDgWNWdmRMKc=; b=k+zbeujagSkVqDR8tmMjYQfRXSbmRaofbGVnLYBrOHLSqS98yJYTvHxvnJe7aBW9Z5 TooV/BHltWQ4teIIVdemo8WaZH+mUfEBrxbtqwLtSJoNimmIH1sHqwCxRBjDYTNE/bhR aDCcoSA0b8froWuyxbXtcBc/vfWF6V8nBNREkDOEh9el9gA+ZlXhZ6RFEQAOAYtT9Ytl pQjjzTQN9UG+Sa+ej/BVtfIX5GSDRxs8W4weeCliri8oHQU5C5i6iX9kvpTbbx+lYzNs gZ09Zrpq6yhWzA2g+h0jUVtW0+uzlMwaP95PVBL9k/uHqhQsXGoROOELyG6OTqnbnzAw NPTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=05kXCGAbNepw9JhjeoeJGqX6XJNdQRKSDgWNWdmRMKc=; b=fIq+z39ksha0gkwLZPBh1FCCza7pLagXOxcEYN2k0A93cmugqrVHRdbypAHHR6ubOE cGXDt+XKadeqc9vTOYFx6iiY35Ncx2QCfVSyhhd5dnpfkyDh9f3AN83lTcy48PpuJALF n6HrcyxOHzbURWEreRc5LeS2bqpdDcL//JdGuk/r97YAlNkMTScSTpYu1BPGBHDjEdg2 cVhOAy44FjA6zSK+1Ijdmc9tzd2agOel9K82CMsk/dSYlEIIMA7ILOOYfUNCJz8afOm6 vraPxqhDrHC9nKPiEBI3R54ARoxT94LJGGD328GO1/oFjoImxkI6JeGkESAmzxKA1wgS CSDg== X-Gm-Message-State: AMke39m9+GpTsRbyaDeyB/QhmdkhWVabbmfgiiI0487egvQktBPOuRBaEPfD+VIX1SY31w== X-Received: by 10.223.136.213 with SMTP id g21mr29022406wrg.189.1489428343043; Mon, 13 Mar 2017 11:05:43 -0700 (PDT) Received: from [192.168.1.120] (cable-static-20-197.rsnweb.ch. [88.84.20.197]) by smtp.googlemail.com with ESMTPSA id m83sm12166549wmc.33.2017.03.13.11.05.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Mar 2017 11:05:42 -0700 (PDT) Subject: Re: translations (buildbot to update translatable strings) To: dev@subversion.apache.org References: <486debd6-d33c-6b22-b8bd-a336c89baf8a@apache.org> From: Stefan Kueng Message-ID: <59e9af68-c423-1edd-5a2e-8a82e7f26da5@gmail.com> Date: Mon, 13 Mar 2017 19:05:43 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <486debd6-d33c-6b22-b8bd-a336c89baf8a@apache.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Mon, 13 Mar 2017 18:05:47 -0000 On 13.03.2017 11:52, Julian Foad wrote: > Stefan K, trying to help push this forward... > > We have consensus to do something about automatically providing updates > to translatable strings. We need some help to fill in the details and > actually do it. > > From my perspective, it looks like we should: > > * Instantiate a bot (buildbot) that will... > - do we have a volunteer? > > * Check out the trunk (and any configured branches). > > * Run 'make po-update'. > > * (?) Upload the updated 'subversion.pot' and/or '*.po' files > to services including Pootle and Transifex. > - how exactly should it upload to Pootle? > - how exactly should it upload to Transifex? I don't know about pootle, but Transifex fetches the files itself from a specified url or urls. In TSVN, we have the pot file in the repository, and Transifex just fetches it from there. Not sure about the interval it fetches the files, but it is fine for TSVN. > > * (?) Commit the updated 'subversion.pot' and/or '*.po' files. > - which files? when (see below)? Transifex provides a script which can be run to update the translated po files from their servers and apply the changes to the local files. In TSVN we have the translated po files also in the repository so the build script (which also builds the installers for the different languages) has everything ready. > * Activate a Transifex.com account for Subversion. > - how? can you do it? I suggest that more than just one svn dev signs up there - just one is dangerous in case of a bus-factor situation. > > Re committing: I think we should rate-limit these commits to once per > day, and should not commit when there are no real changes to the > translatable strings but only changes in the source line number > reference comments. Again, talking about TSVN: we run the transifex script to fetch the translated po files once a week. For us that's enough. > An alternative to committing would be to upload these files to some > place where translators can fetch them. Somewhere on apache.org and/or > if the Pootle and/or Transifex services make these files easily > available then that's fine, we can point at those, no need to commit. > - Do they? What are the URLs? Transifex allows to download and upload the po files easily. For TSVN German, the urls are: https://www.transifex.com/luebbe/tortoisesvn/trunk-gui/de/download/for_translation/ for the whole po file ready for translation, and there are even urls to download a po file with only the translated strings in them. Stefan -- ___ oo // \\ "De Chelonian Mobile" (_,\/ \_/ \ TortoiseSVN \ \_/_\_/> The coolest interface to (Sub)version control /_/ \_\ http://tortoisesvn.net