Weblate Locale Linter
Project description
Weblate is a copylefted libre software web-based continuous localization system, used by over 2500 libre projects and companies in more than 165 countries.
Weblate Locale Linter
Linter for localization files powered by Weblate.
This project is in beta. The interface, features, supported formats are subject to change without any intent to keep backward compatibility.
Using manually
The Python module can be installed from the PyPI:
pip install locale_lint
Run to lint current directory:
locale_lint lint
Using as GitHub action
Paste following snippet to your workflow YaML:
- name: Weblate Locale Linter
uses: WeblateOrg/locale_lint@v0.2.2
Using as pre-commit hook
Paste following snippet to your pre-commit configuration YAML:
- repo: https://github.com/WeblateOrg/locale_lint
rev: v0.2.2
hooks:
- id: locale_lint
Supported formats
All file formats supported by Weblate will be supported. We will gradualy add support for more formats during the beta.
- Android resource strings
- GNU Gettext PO files
Project details
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 locale_lint-0.2.2.tar.gz
.
File metadata
- Download URL: locale_lint-0.2.2.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5a6a3f2b34459af585113ee23328ea739927fb92c122aa0d801432e6286fcb7 |
|
MD5 | d6d4b326c47d11cc18ae03cc3977f069 |
|
BLAKE2b-256 | 70a0849d7caa679b453c618543d9bb1407cb03cb51a5597e9bbdfb30706f333c |
File details
Details for the file locale_lint-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: locale_lint-0.2.2-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c803655cccf3c14aecaeaf079e29ed0c32540ed225a0ee7c49ae893e75f2768 |
|
MD5 | 59cb722b8e74de527b7987e625378612 |
|
BLAKE2b-256 | 4e30bf91a8d8979c4250eab3324e369b8c07e0ad3cd54300f589f1a569f0e665 |