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 kelem...@gnome.hu

 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

 In theory, it should correctly determine your language from the LANG
 environment variable, then download everything that is not archived to a
 local directory ~/gnome-translations

 Improvements are welcome in the form of pull requests :)

 Regards
 Gabor Kelemen


 ___
 gnome-i18n mailing list
 gnome-i18n@gnome.org
 https://mail.gnome.org/mailman/listinfo/gnome-i18n




mt.sh
Description: Bourne shell script
___
gnome-i18n mailing list
gnome-i18n@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-i18n


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 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


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 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


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 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 mailto: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 mailto: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


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

In theory, it should correctly determine your language from the LANG
environment variable, then download everything that is not archived to a
local directory ~/gnome-translations

Improvements are welcome in the form of pull requests :)

Regards
Gabor Kelemen



signature.asc
Description: OpenPGP digital signature
___
gnome-i18n mailing list
gnome-i18n@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-i18n