Metadata-Version: 2.4
Name: locqa
Version: 0.3.0
Summary: Quality assurance for ARB localizations
License-Expression: MIT
License-File: LICENSE
Classifier: Environment :: Console
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Internationalization
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.12
Requires-Dist: jinja2>=3.1.4
Requires-Dist: prompt-toolkit<4,>=3.0.48
Requires-Dist: questionary>=2.0.1
Requires-Dist: rich-argparse>=1.6
Requires-Dist: rich>=13.9
Description-Content-Type: text/markdown

# locqa

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:

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

Any OS with Python 3.12+:

```sh
uv tool install locqa   # or: pipx install locqa
```

## Quickstart

```sh
locqa            # interactive wizard
locqa doctor     # versions, Flutter and API key status
locqa benchmark --split dev --seed 7 --out demo
locqa check --source demo/source.arb --target demo/target.arb \
  --glossary demo/glossary.csv --out demo/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.
