Update docs for new CSV based workflow
Update push2weblate to handle all files
Added tx2weblate.py
This is a set of scripts I wrote to migrate the glossary from a Transifex project to Weblate.
This is quick and dirty code created just for one time use. I have no intention to fully maintain this or turning it into a fully generic tool. But I put the code up here for future use. Feel free to use it, but be aware you might need to edit the scripts directly to fit your needs.
You can download glossaries in your Glossaries project under "Glossaries" as CSV files.
Example:
./tx2weblate.py -f musicbrainz_2013-12-07_all_languages.csv -o out/
Example:
./push2weblate.py -t YOUR_WEBLATE_API_TOKEN \
-H translations.metabrainz.org \
-c musicbrainz/glossary \
-i out/*.csv
All code here is published under the MIT license, see LICENSE.txt for details.