[Xfce-i18n] transifex. feature request: msgmerge
Mike Massonnet
mmassonnet at gmail.com
Tue Aug 25 14:46:27 CEST 2009
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.
>
> There is also the problem, if I want to download the files to the same
> directory, that the po file names are not unique (nor the pot) in
> transifex, most of the po/$lang.po and po-doc/$lang.po files has the
> same name (for the same project and revision). But it should be another
> feature request ;-)
I understand the problem, and there are ways to download the po files
without using the transifex interface. I never tested any solution
cause lately I don't do translations, but for about two weeks ago
before the transifex install was finished, I sent a mail with a
quick-n-dirty script. Maybe you can have a look at it and find it
useful.
But I would actually hope that there would be a download link for the
whole apps of a collection. This is at least possible on Moblin[1].
Jannis, any idea? :-)
[1] http://translate.moblin.org/languages/fr/collection/Moblin2/moblin2x/
Regards
Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: script
Type: application/octet-stream
Size: 1319 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce-i18n/attachments/20090825/6896ffd4/attachment.obj>
More information about the Xfce-i18n
mailing list