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
Hashes for locale_lint-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01b7ec70a12da55c4fe151898d50ae3c3a2c700d51b27d2a34567f4f1096feb4 |
|
MD5 | e9ce69dd7d7bc7cae1397670939236f2 |
|
BLAKE2b-256 | 09d7c91e609c5a972dbfff05570b174b523f7c6799f31b80438f5c1184d355cd |