Skip to main content

Weblate Locale Linter

Project description

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.

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

locale_lint-0.3.1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

locale_lint-0.3.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file locale_lint-0.3.1.tar.gz.

File metadata

  • Download URL: locale_lint-0.3.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.16

File hashes

Hashes for locale_lint-0.3.1.tar.gz
Algorithm Hash digest
SHA256 e70a3c41cfc77c04e590c8dd7fe17af03ef31b72f5f018340df7c047153469fa
MD5 ec4e9df34847033516c19422ec563c0f
BLAKE2b-256 b258a3fa8ad58284fb87fa24463254f1f730376e0fe41f093ee48b0a27bc8669

See more details on using hashes here.

File details

Details for the file locale_lint-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for locale_lint-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1a4adbf2c4a6472f0870e9ee1903f9b76c2a57f6e9e141eeb17d1ebe2ecaee2
MD5 942ee69d9fda8635ccef916e08bde9d4
BLAKE2b-256 c175d635d2adf714437630a6f434a9365a8c1048661f618535de3dde97519bb5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page