Skip to main content

ContentDB AI translation — clones drafts with translated content via AI toolbox

Project description

django-contentdb-translator

ContentDB AI translation bridge for the Volkanos ecommerce platform — extracts translatable text from ContentDB JSON structures (tiles, meta, extensions, navigation, routes, authors), sends it to the remote AI toolbox and clones Drafts with translated content. Each language version is a separate Draft.

Installation

pip install entirius-django-contentdb-translator

Add the app to your project:

INSTALLED_APPS = [
    ...
    "django_contentdb_translator",
]

Requires django_contentdb and django_utils_translator in INSTALLED_APPS (both installed automatically as dependencies).

Development

make install     # sync dependencies (uv)
make check       # lint + format check (ruff)
make test        # test suite (pytest + pytest-django)

Architecture, API and flow reference: AGENTS.md.

License

Mozilla Public License 2.0 — see LICENSE.

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

entirius_django_contentdb_translator-2.0.0.tar.gz (139.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file entirius_django_contentdb_translator-2.0.0.tar.gz.

File metadata

  • Download URL: entirius_django_contentdb_translator-2.0.0.tar.gz
  • Upload date:
  • Size: 139.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for entirius_django_contentdb_translator-2.0.0.tar.gz
Algorithm Hash digest
SHA256 47f1b04a0158557ec1ca1ca8c45a8e5dfc50e42da4c85982e690423016c3a7f2
MD5 379bb5c9cfafc1f85e01210e5e3a18a2
BLAKE2b-256 479d583871e0e813d18552066a4d7094a1c7ac72a08c7371ce3e0bae41064419

See more details on using hashes here.

File details

Details for the file entirius_django_contentdb_translator-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: entirius_django_contentdb_translator-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 42.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for entirius_django_contentdb_translator-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e34b35828d716e9b0035efd8d46748d26ae1262dbb1180f958ee077227aabc02
MD5 8f7072818b87d54c283ad0611a35f308
BLAKE2b-256 7af895d0c9b002e85f0072f917d3123c5136fa25b901d68aec095ab6ccfe9d90

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page