[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: translations (buildbot to update translatable strings)

From: Stefan Kueng <tortoisesvn_at_gmail.com>
Date: Mon, 13 Mar 2017 19:05:43 +0100

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
Received on 2017-03-13 19:05:46 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.