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.1
Using as pre-commit hook
Paste following snippet to your pre-commit configuration YAML:
- repo: https://github.com/WeblateOrg/locale_lint
rev: v0.1
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.1.tar.gz
.
File metadata
- Download URL: locale_lint-0.1.tar.gz
- Upload date:
- Size: 16.4 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 | 54c9d2f7a04115ad8a0aa118872ee78735fc0fd533f1dde7fef6e346b597bed1 |
|
MD5 | 719ee8c801e84bcc2ade0a615da1f341 |
|
BLAKE2b-256 | 4d9f16aba0dcac8ad09d6f46e0b2ae3f856b02cfcb240a07219b8ceac321bf4f |
File details
Details for the file locale_lint-0.1-py3-none-any.whl
.
File metadata
- Download URL: locale_lint-0.1-py3-none-any.whl
- Upload date:
- Size: 16.2 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 | 01b7ec70a12da55c4fe151898d50ae3c3a2c700d51b27d2a34567f4f1096feb4 |
|
MD5 | e9ce69dd7d7bc7cae1397670939236f2 |
|
BLAKE2b-256 | 09d7c91e609c5a972dbfff05570b174b523f7c6799f31b80438f5c1184d355cd |