Skip to main content

1. Load and Sort Message JSONs

  • Load all JSON files from ./messages/*.json
  • Sort them recursively at every level
  • Write back sorted JSONs

2. Flatten All Language Messages

  • Create flatten_messages() function for dot notation
  • Load all language JSONs into messages dict
  • Flatten each language's messages into keys_{lang} dicts

3. Create Union and Find Differences

  • Create union set of all keys (all_keys)
  • Find missing keys for each language (missing_by_lang)

4. Create Master Translation Dictionary

  • Build master_translations with all keys and available translations
  • Mark missing translations with '[MISSING]'
  • Sort master_translations by key

5. Get Missing Translations from Claude

  • Set up Claude API client
  • Process translations in batches
  • Update master_translations with responses

6. Create Individual Language Files

  • Create flattened files for each language
  • Unflatten back to nested structure
  • Write updated JSONs

Metadata

Release files for translation-strings-utility 0.1.3

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

Source distribution (sdist)

Source distribution for translation-strings-utility 0.1.3
File Size Uploaded Provenance
translation_strings_utility-0.1.3.tar.gz 4.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for translation-strings-utility 0.1.3
File Interpreter ABI Platform
translation_strings_utility-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / translation_strings_utility-0.1.3.tar.gz

Download URL translation_strings_utility-0.1.3.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
075684e3b7c0e02ae321858d398624d990788e7a80a01e12c60a5f909454d0a3
BLAKE2b-256 checksum
How to use checksums
7b8c9201d1ab49dba39a5e1c965c981b968b6024fb0c4801b457037fb546dda1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / translation_strings_utility-0.1.3-py3-none-any.whl

Download URL translation_strings_utility-0.1.3-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d43fc6006d5365c73e47977c404b1ee9a65eec73a2ed9afa40d8b8b97630d346
BLAKE2b-256 checksum
How to use checksums
bc257ed69c9b27c2b90ab353d1c4ea7f90d3b113c521f242aaf6a45f6f471717
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Security for translation-strings-utility 0.1.3

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