Skip to main content

locqa

Install locqa from PyPI.

Quality checks for Flutter ARB localizations: placeholders and ICU, glossary terms, untranslated and wrong-language strings, Kazakh and Uzbek orthography. Writes a JSON report and an offline HTML report. Fixes go through human review before export.

Install

Linux and macOS:

curl -fsSL https://raw.githubusercontent.com/BEknUur/locqa-install/main/install.sh | sh

Any OS with Python 3.12+:

uv tool install locqa   # or: pipx install locqa

Quickstart

locqa            # interactive wizard
locqa doctor     # versions, Flutter and API key status
locqa check --source /path/to/source.arb --target /path/to/target.arb \
  --glossary /path/to/glossary.csv --out out/report.json

check exits with 0 when there are no findings, 1 when it finds issues and 2 on errors. export and bundle need Flutter 3.35.7 (--flutter-bin). LLM commands (judge, suggest, triage) read ANTHROPIC_API_KEY or OPENAI_API_KEY; check stays offline.

Validate with Flutter

locqa sandbox --source /path/to/source.arb --target /path/to/target.arb \
  --out out/flutter-check --flutter-bin /path/to/flutter

Each run requires a new output directory. The command retains exact input copies, stage logs and report.json; it does not discard invalid resource names. A Flutter failure stops later stages. Compilation validates technical structure, not translation quality. Getter values are checked against real input strings; the report identifies missing translations and target-only keys. Runtime tests require actual ARBs; private organizer inputs and review decisions are not included in the package.

Exports validate the complete pair through Flutter, including tests. Invalid names require an explicit JSON --key-map and a paired --source-out; values remain unchanged by renaming. The generated migration manifest lists application API changes. correction-sample draws real approved text changes for blind native-speaker review; it never fabricates ratings. eval computes recall against supplied labels; precision requires manual verdicts or an explicit exhaustive-label declaration.

Metadata

Release files for locqa 0.5.0

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

Source distribution (sdist)

Source distribution for locqa 0.5.0
File Size Uploaded Provenance Actions
locqa-0.5.0.tar.gz 285.8 kB Without provenance Details for locqa-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 629.8 kB

Release files / locqa-0.5.0.tar.gz

Download URL locqa-0.5.0.tar.gz
Size 285.8 kB
Tags Source
SHA-256 checksum
How to use checksums
61325c9662794a2c8e1a852f8473a76f629c3d9927d7d38fd1b9a071fd58880f
BLAKE2b-256 checksum
How to use checksums
bba60ee139ef8f86396a4482e01a7d460839f2d1a058990b2ca387abc1f592ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / locqa-0.5.0-py3-none-any.whl

Download URL locqa-0.5.0-py3-none-any.whl
Size 344.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e91cd503afea13f2d466a89e0b55dc498095a6e903cb95163ef8b0e78cec52c5
BLAKE2b-256 checksum
How to use checksums
e3a843547024712b20e619344c2353362ca6468daf934548589ea15b9d952696
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for locqa 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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