A command line utility for Weblate, translation tool with tight version control integration
Project description
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
wlc is a Weblate commandline client using Weblate's REST API.
PIP Installation
Install using pip:
pip3 install wlc
Sources are available at https://github.com/WeblateOrg/wlc.
Usage
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
Docker image
The image is published on Docker Hub.
Building locally:
docker build -t weblate/wlc .
Detailed documentation is available in Weblate documentation.
Docker hub tags
You can use following tags on Docker hub:
Tag name | Description | Use case |
---|---|---|
latest |
wlc stable release, matches latest tagged release | Rolling updates in a production environment |
edge |
wlc development | Staging environment |
version | wlc stable release, see weblate/wlc | Well defined deploy in a production environment |
Every image is tested by our CI before it gets published, so even the bleeding
version should be quite safe to use.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wlc-1.9.tar.gz
.
File metadata
- Download URL: wlc-1.9.tar.gz
- Upload date:
- Size: 52.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 618922504a127aff2eb19dbcf2a0926fc9b47e1d6ff1977e6704cfbc9948cc95 |
|
MD5 | d17dd2ce9935fb974deb93d68dd3cbd4 |
|
BLAKE2b-256 | 599a4390e14a2f3d0955e9eec6d451232cd991e58af82e79748104e63d8bb329 |
File details
Details for the file wlc-1.9-py3-none-any.whl
.
File metadata
- Download URL: wlc-1.9-py3-none-any.whl
- Upload date:
- Size: 72.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db27aa1a2eb4dcd5fc40dd85e61794358002aa9cbac00ff7b61bd681141a68f2 |
|
MD5 | 9f130866b2e0a68732c7e2df728055ac |
|
BLAKE2b-256 | a724c02ae0a6c9c1bbb210c65f196535722efad5c2b855e593bd535ff2363718 |