Mailinglist Archive: opensuse-translation (52 mails)

< Previous Next >
Re: [opensuse-translation] Command-line downloading of OpenSUSE translation files from Weblate

Weblate API requires HTTP client (curl, wget, etc.) and
JSON encoder/decoder.

Attached my perl script is just for:
1. Download all .po files for a given language.
$API_KEY and @LANG_CODES should be filled before run (embedded in
script itself).

Hope it is helpful.


On Mon, 3 Jul 2017 16:25:30 +0200
Karl Ove Hufthammer <karl@xxxxxxxxxx> wrote:


Does anyone here have any experience downloading and uploading
translations from Weblate? From what I can see, there’s an API
(, but I find it quite
complex, and I couldn’t get it to work.

Basically, what I want to do is in principle very simple:

1. Download all .po files for a given language.
2. Download all template files (.pot files).
3. Upload all .po files for a given language to Weblate (overwriting
any existing translations).

Has anybody done this, and can instruction me on how to do it?

Karl Ove Hufthammer

To unsubscribe, e-mail: opensuse-translation+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-translation+owner@xxxxxxxxxxxx

Yasuhiko Kamata
E-mail: belphegor@xxxxxxxxxxxx
< Previous Next >
Follow Ups