Weblate is a copylefted libre software web-based continuous localization system, used by over 1150 libre projects and companies in more than 115 countries.
wlc is a Weblate commandline client using Weblate's REST API.
Install using pip:
pip3 install wlc
Sources are available at <https://github.com/WeblateOrg/wlc>.
Please see Weblate documentation for more complete documentation.
Command line usage:
wlc list-projects
wlc list-components
wlc list-translations
wlc list-languages
wlc show
wlc ls
wlc commit
wlc push
wlc pull
wlc repo
wlc stats
wlc lock
wlc unlock
wlc lock-status
wlc download
wlc upload
Configuration is stored in ~/.config/weblate
:
[weblate]
url = https://hosted.weblate.org/api/
[keys]
https://hosted.weblate.org/api/ = APIKEY