Skip to content

Releases: Na5co/polygo

polygo 0.1.1

Choose a tag to compare

@Na5co Na5co released this 17 Sep 15:54
e896826
  • polygo extract: pull UI text out of JSX, HTML in template literals and .html/.vue/.svelte into locales/en.json. --rewrite replaces the strings in .ts/.tsx/.js/.jsx with t("key") calls and generates src/i18n.ts. Sentences with inline markup are extracted whole. [extract] ignore / ignore_paths, --ignore, --ignore-path.
  • polygo add / polygo remove edit target locales.
  • Batches are capped by source text length and Ollama gets a 16k context, so paragraphs no longer overflow the model.
  • translate prints the plan and per-batch progress.
  • Placeholder mismatches are caught in the repair loop, not only by check.
  • Fragment check no longer flags HTML entities, handles, paths or hyphenated tokens.
  • init explains how to start when an app has no string files yet.

Windows: cargo install polygo (no prebuilt zip for this release).

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 17 Sep 13:46

v0.1.0-rc.2

v0.1.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Sep 10:13