Skip to main content

Weblate Locale Linter

Project description

Weblate

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.

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.1

Using as pre-commit hook

Paste following snippet to your pre-commit configuration YAML:

- repo: https://github.com/WeblateOrg/locale_lint
  rev: v0.2.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

locale_lint-0.2.1.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: locale_lint-0.2.1.tar.gz
  • Upload date:
  • Size: 16.8 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

Hashes for locale_lint-0.2.1.tar.gz
Algorithm Hash digest
SHA256 01061205137e66f29d0b1f87f1c65dcc6ac5142d0ffa4ab95181bc6cbf5d1f64
MD5 90e16cc774572324e24c360e73767aba
BLAKE2b-256 ffd05eae7a818ea8a5ed6cb2fa874089bbb446acfddb5281bab259bed5f53981

See more details on using hashes here.

File details

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

File metadata

  • Download URL: locale_lint-0.2.1-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

Hashes for locale_lint-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f92434c8c3faadec4f9c4e676807f8ef156e4a051dcdbd09803ca036f9ed9861
MD5 08f9f3365d9c151fcb2ac5fa390e370b
BLAKE2b-256 69acc1ce3b4e41d66a8ba80f6a2dbde2b8d106e5676acb2cb63f7f3ec1c11aeb

See more details on using hashes here.

Supported by

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