Re: Script to get all PO files



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


Attachment: mt.sh
Description: Bourne shell script



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]