I believe that's it:

### Download all PO files to inside a folder (can use 'gmirr.sh' or
'mt.sh'). Set LANG accordingly.
lang=pt_BR
tempfile=$(mktemp)
ls -R *.$lang.po > $tempfile
msgcat -f $tempfile -o gnome-$lang.po -u -t UTF-8 --lang=$lang --no-wrap -F
-n
po2tmx -i gnome-$lang.po -o gnome-$lang.tmx -l $lang




2013/11/4 Rafael Ferreira <rafael.f...@gmail.com>

> Enrico,
>
> I don't know if there is a script for it, but, basically, it would require
> 1) msgcat, from gettext, to concatenate all desired PO files together in
> one big PO file; and 2) po2tmx, from translate-toolkit, to convert this big
> PO in a big TMX file.
>
> Allied with gmirr.sh or mt.sh (both provided in this thread), I believe a
> simple script preforming the above task might do this job easily (added to
> my TODO list)
>
> Cheers,
> Rafael Ferreria
>
>
> 2013/11/4 Enrico Nicoletto <live...@gmail.com>
>
>> Speaking about translation memory, do you know how to create a glossary
>> based on the translation memory and
>> who works with POEdit or Gtranslator?
>>
>> I would like to create a file to share with the members of my team.
>>
>> Thanks a lot,
>> Enrico.
>> _______________________
>> Em 04/11/2013 10:58, Daniel Mustieles García escreveu:
>>
>>  Maybe this is a simpler script to get all the PO files from DL (I use it
>>> to download them and create the translation memory).
>>>
>>> Nothe that you have to change your language code in the DL_URL variable
>>>
>>> Cheers!
>>>
>>>
>> _______________________________________________
>> gnome-i18n mailing list
>> gnome-i18n@gnome.org
>> https://mail.gnome.org/mailman/listinfo/gnome-i18n
>>
>
>
_______________________________________________
gnome-i18n mailing list
gnome-i18n@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-i18n

Reply via email to