Skip to content

Releases: AlexMost/msgai

v1.0.0

27 Feb 22:05

Choose a tag to compare

1.0.0 (2026-02-27)

Features

  • handle fuzzy translations with --include-fuzzy (c4c8784)
  • handle gettext msgctxt so same msgid in different contexts are not mixed (9f7ad7a)
  • pass plural samples from getExamples into LLM prompt for plural forms (70dd125)

Bug Fixes

  • ci: use github.event.workflow_run.conclusion in release-please (0892b17)
  • ci: use RELEASE_PLEASE_TOKEN so release-please can create PRs (204c6cd)
  • use console.warn instead of console.error for pipeline compatibility (8b30ebf)

[Unreleased]

[1.0.0] - 2025-02-27

Added

  • CLI to translate untranslated strings in gettext (.po) files using AI (OpenAI LLM)
  • msgai <file.po>: translate empty msgstr entries and write back to the file
  • --dry-run: list untranslated msgid values without API calls or file changes
  • --source-lang LANG: specify source language (ISO 639-1); optional, model can infer
  • --include-fuzzy: include fuzzy entries for re-translation and clear fuzzy flag
  • --api-key KEY and OPENAI_API_KEY environment variable for API authentication