CI-friendly localization QA for Godot CSV and PO translation files.
Project description
Godot Localization QA Guard
A CI-friendly localization QA checker for Godot CSV and PO translation files. It catches missing strings, duplicate keys, broken placeholders, UTF-8 BOM issues, fuzzy PO entries, unchanged target strings, missing project keys, and unused catalog keys.
This is intentionally safe to publish as a standalone tool: examples are generic and the functionality does not reveal private game systems.
Install
python -m pip install -e .
When published:
python -m pip install godot-localization-qa-guard
Quick Start
godot-l10n-guard C:\Projects\MyGame --translations translations --require fr,es
godot-l10n-guard . --csv assets\i18n\strings.csv --scan-scripts --scan-scenes
godot-l10n-guard . --po locale --format markdown --output docs\LOCALIZATION_QA.md
godot-l10n-guard . --format json --output localization-report.json
Run the sample:
godot-l10n-guard examples\tiny-godot-project --translations examples\tiny-godot-project\translations --scan-scripts --fail-on none
What It Checks
- Godot CSV header starts with
keys. - Required language columns exist.
- Required target cells are not empty.
- Duplicate CSV keys and PO
msgidvalues. - PO fuzzy and untranslated entries.
- Placeholder sets match across source and target text.
- Target strings that are unchanged from source.
tr("KEY")andTranslationServer.translate("KEY")usage.- Uppercase key-like scene text values.
- Missing and unused keys when scanning is enabled.
Documentation
- Godot CSV guide
- PO guide
- Placeholder checks
- Key usage scanning
- Rule reference
- CI usage
- Troubleshooting
Development
python -m pip install -e .
python -m unittest discover -s tests -v
godot-l10n-guard examples\tiny-godot-project --translations examples\tiny-godot-project\translations --scan-scripts --fail-on none
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file godot_localization_qa_guard-0.1.1.tar.gz.
File metadata
- Download URL: godot_localization_qa_guard-0.1.1.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3de4391ef4ff13399dc4b8dd6fc6c59e00855c732a85b723715f688e8b33d9aa
|
|
| MD5 |
e56db5ca19d1d0fba75f689998b4128b
|
|
| BLAKE2b-256 |
cd2ac400a4505d5cf704bbf4850561e5fcb8916ad8aecfa0a79b994c88b955e0
|
Provenance
The following attestation bundles were made for godot_localization_qa_guard-0.1.1.tar.gz:
Publisher:
publish-localization-qa-guard.yml on NonniGB/godot-production-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
godot_localization_qa_guard-0.1.1.tar.gz -
Subject digest:
3de4391ef4ff13399dc4b8dd6fc6c59e00855c732a85b723715f688e8b33d9aa - Sigstore transparency entry: 1764609440
- Sigstore integration time:
-
Permalink:
NonniGB/godot-production-toolkit@6e2b31e529d0e641fe23e807b5ad656f6602580f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/NonniGB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-localization-qa-guard.yml@6e2b31e529d0e641fe23e807b5ad656f6602580f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file godot_localization_qa_guard-0.1.1-py3-none-any.whl.
File metadata
- Download URL: godot_localization_qa_guard-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
baee78dd142a12144e0d81373e45f5e6c55ab2702420ff3a99bde70ba13d1428
|
|
| MD5 |
a5ae088453f61a09b169666655af69f9
|
|
| BLAKE2b-256 |
fc4dcd0a0a42cf022825fe4f6830e9081b55cf317e53947caa511ac7c2049d82
|
Provenance
The following attestation bundles were made for godot_localization_qa_guard-0.1.1-py3-none-any.whl:
Publisher:
publish-localization-qa-guard.yml on NonniGB/godot-production-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
godot_localization_qa_guard-0.1.1-py3-none-any.whl -
Subject digest:
baee78dd142a12144e0d81373e45f5e6c55ab2702420ff3a99bde70ba13d1428 - Sigstore transparency entry: 1764610300
- Sigstore integration time:
-
Permalink:
NonniGB/godot-production-toolkit@6e2b31e529d0e641fe23e807b5ad656f6602580f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/NonniGB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-localization-qa-guard.yml@6e2b31e529d0e641fe23e807b5ad656f6602580f -
Trigger Event:
workflow_dispatch
-
Statement type: