Re: Script to get all PO files

2013-11-04 Thread Rafael Ferreira
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-$lan

Re: Script to get all PO files

2013-11-04 Thread Rafael Ferreira
Enrico: you're welcome :) Daniel: I'm not 100% sure, but I don't think Gtranslator can import/export TMX format. Why: I was not able to find it in 2.91.6 (in Ubuntu 13.04), a google search returned nothing, Git search returned nothing and I this SummerOfCode2013 page [1] planning the implementati

Re: Script to get all PO files

2013-11-04 Thread Enrico Nicoletto
Great, thanks for the answer Rafael! Best regards, Enrico Nicoletto. __ Em 04/11/2013 15:11, Rafael Ferreira escreveu: 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

Re: Script to get all PO files

2013-11-04 Thread Daniel Mustieles García
I use it to create the translation memory for Gtranslator, but it must be done with Gtranslator itself. Once done, you can distribute the file generated (it's a .db of about 15MB, depending of the language). Rafael: Can Gtranslator read/use TMX files? 2013/11/4 Enrico Nicoletto > Speaking abou

Re: Script to get all PO files

2013-11-04 Thread Rafael Ferreira
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 provide

Re: Script to get all PO files

2013-11-04 Thread Enrico Nicoletto
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 Mustiel

Re: Script to get all PO files

2013-11-04 Thread Daniel Mustieles García
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! 2013/11/3 Gabor Kelemen > 2013-11-03 13:19 keltezéssel, Rafael Ferreira írta: > > Hi th

Re: Script to get all PO files

2013-11-03 Thread Gabor Kelemen
2013-11-03 13:19 keltezéssel, Rafael Ferreira írta: > Hi there. > > I'd like have a script that can get all PO files of my language (maybe > from from https://l10n.gnome.org/POT/). Is there one that do this task > already? Yup: https://github.com/kelemeng/fsfhu-scripts/blob/master/gnome/gmirr.sh

Script to get all PO files

2013-11-03 Thread Rafael Ferreira
Hi there. I'd like have a script that can get all PO files of my language (maybe from from https://l10n.gnome.org/POT/). Is there one that do this task already? Thanks, Rafael Ferreira ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.