Re: [Tails-l10n] Choosing between Git and Transifex per-lang…

Delete this message

Reply to this message
Autor: winterfairy
Data:  
Dla: Tails localization discussion
Temat: Re: [Tails-l10n] Choosing between Git and Transifex per-language?
intrigeri wrote:
> sajolida@??? wrote (21 May 2013 09:21:07 GMT) :
>> Then, what shall we do with our other ressources that are not in
>> Transifex so far?
> [...]
>> Shall we ask Runa to add them all as well?
>
> Yes, I think so. I also think that would be awesome, but it's not the
> end of the world if this waits for e.g. after the forum migration or
> some other high-priority task that is already started. (Personally,
> I'm finding harder and harder to deal with so many started, but
> unfinished big sub-projects.)
>
> So, how can it happen?
>
> I guess our Git repository is big enough that Runa won't want to
> maintain 15 (9 + 6) clones of our Git repository just to fetch one
> tiny text file from each.
>
> I don't know if the Git<->Transifex infrastructure Runa is maintaining
> supports synchronizing multiple resources (9 POT files and 6 .desktop
> that are worth translating) from a single Git repository.
>
> If it does, then I guess we should just go ahead and ask Runa to fetch
> these POT files. If it doesn't, then it'll probably have to wait until
> we split our Git repo.


I just found this, and now understand how everything is done:
https://trac.torproject.org/projects/tor/wiki/doc/translation/Introduction

According to that page it is Transifex that updates the POT files
automatically, and it does that by downloading the blob from the gitweb
interface. Your git repositories is not cloned anywhere. This also means
multiple resources can be taken from the same git repository.

And for fetching new translations, a "tx pull -a" might still be
marginally easier than copying to files manually from tor's translation
repo. If you want to use the "tx pull" approach instead, and want help
with setting up the configuration, just let me know, I have figured out
how to do that.