Skip to main content

Weblate

Weblate is 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.

Website Translation status CII Best Practices PyPI package Documenation

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

Contributing

Contributions are welcome! See documentation for more information.

Metadata

Release files for locale_lint 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for locale_lint 0.3.1
File Size Uploaded
locale_lint-0.3.1.tar.gz 16.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for locale_lint 0.3.1
File Interpreter ABI Platform
locale_lint-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 34.8 kB

Release files / locale_lint-0.3.1.tar.gz

Download URL locale_lint-0.3.1.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e70a3c41cfc77c04e590c8dd7fe17af03ef31b72f5f018340df7c047153469fa
BLAKE2b-256 checksum
How to use checksums
b258a3fa8ad58284fb87fa24463254f1f730376e0fe41f093ee48b0a27bc8669
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.6.16

Release files / locale_lint-0.3.1-py3-none-any.whl

Download URL locale_lint-0.3.1-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1a4adbf2c4a6472f0870e9ee1903f9b76c2a57f6e9e141eeb17d1ebe2ecaee2
BLAKE2b-256 checksum
How to use checksums
c175d635d2adf714437630a6f434a9365a8c1048661f618535de3dde97519bb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.6.16

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1

2 release files

0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page