Skip to content

v0.1.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 07 Oct 10:09
d7f00ae

Pre-release. Install and setup: installation guide.

What's in 0.1.0

  • Settings → Supertext, the "No Supertext API key" and "Authentication failed" messages, the installation guide and the README now link to Supertext account signup and API key generation (supertext.com → Integrations → API, Admin role required).
  • First version: wagtail_supertext.SupertextTranslator, a wagtail-localize machine translator using the Supertext AI file translation API (Wagtail 7.0+, wagtail-localize 1.12+). Editors use wagtail-localize's Translate with Supertext button.
  • All missing strings of a page go to Supertext as one document per language; each string (a whole paragraph with its inline formatting and links) is one unit, so sentences translate as a whole.
  • Page slugs are translated as words and turned back into slugs.
  • Options: API_KEY (with or without the Supertext-Auth-Key prefix; SUPERTEXT_API_KEY wins), ENVIRONMENT, ENDPOINT (SUPERTEXT_API_ENDPOINT wins), LANGUAGES (Supertext code and tone per locale), TIMEOUT, POLL_INTERVAL.
  • Requests that hit Supertext's per-second rate limit are retried automatically.
  • Settings → Supertext admin page (configuration, Test connection) and manage.py supertext_check; admin strings in English and German.
  • Demo for Railway (demo/): Wagtail 8 on PostgreSQL with German, French and Italian (Switzerland), a sample page, and DEMO_ADMIN_* / DEMO_EDITOR_* accounts created on every start.
  • Docs with screenshots, regenerated by tests/docs/screenshots.mjs against a stand-in API.