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 Docker Layers 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.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

locale_lint-0.1.tar.gz (16.4 kB view hashes)

Uploaded Source

Built Distribution

locale_lint-0.1-py3-none-any.whl (16.2 kB view hashes)

Uploaded Python 3

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