[Xfce-i18n] transifex. feature request: msgmerge

Mike Massonnet mmassonnet at gmail.com
Tue Aug 25 21:29:10 CEST 2009


Hi Dimitris,

2009/8/25 Dimitris Glezos <glezos at indifex.com>:
> On Tue, Aug 25, 2009 at 3:46 PM, Mike Massonnet<mmassonnet at gmail.com> wrote:
>> Hi,
>>
>> 2009/8/23 Carles Muñoz Gorriz <carlesmu at internautas.org>:
>>> En/na Stavros Giannouris ha escrit:
>>>> 2009/8/23 Carles Muñoz Gorriz <carlesmu at internautas.org>:
>>>>> Hi;
>>>>>
>>>>> Before moving to transifex I used to use msgmerge to normalize the new
>>>>> po file because my po editor (poedit) messed the number of columns and
>>>>> joined the referenced source lines. Also, without the msgmerge command
>>>>> we get big and useless diffs.
>>>>>
>>>>> Could something similar be added to transifex when a po file is uploaded?
>>>>>  $ msgmerge uploaded_po_file relevant_pot_file > out.po && mv out.po
>>>>> uploaded_po_file
>>>>>
>>>>
>>>> What prevents you from doing that before uploading through transifex?
>>>
>>>
>>> Nothing, I have done it with my recent uploads with transifex but it is
>>> slow. By example, if a package has more than one pot file (e.g.: po/ and
>>> po-doc/) the po file and the pot files are not in the same page, the
>>> names are long and it is easy to make a mistake.
>>>
>>> Also, if it is done in the transifex server, it not depends on the
>>> translator remembering to do it.
>
> I like this idea. It will require some work, but we're scheduling a
> restructuring of the Submission backend, which will make it easier to
> do these kind of tricks. For the UI I was thinking something like
> this:
>
>  http://glezos.fedorapeople.org/transifex-merge.png
>
> What do you think?

It looks fine, and indeed doing merges is natural as a translator
might update messages and see them applied automatically to the other
branches.

Regards
Mike

> --
> Dimitris Glezos
>
> Transifex: The Multilingual Publishing Revolution
> http://www.transifex.net/ -- http://www.indifex.com/



More information about the Xfce-i18n mailing list