Skip to content

Releases: oops-rs/langcodec

langcodec v0.12.0

15 Apr 03:49

Choose a tag to compare

Highlights

  • Interactive TUI browser — a new browse command launches a full-screen terminal editor for exploring and editing localization files in real time, with modal input, vim-style navigation, and a contextual help overlay.
  • XLIFF 1.2 support — the core conversion pipeline now reads and writes XLIFF 1.2 for Xcode-style localization handoff workflows.
  • TUI polish — the editor gained inline editing, undo, filtering, panel resizing, and visual indicators. Ghost-glyph artifacts on RTL and complex-script content (Arabic, Hindi, Bengali) are eliminated.
  • Screen-flash elimination — conditional terminal clears and a redraw-token mechanism remove the visible flash that appeared when navigating keys in Latin-script content.

What Changed

  • langcodec browse opens an interactive terminal UI for any supported localization file. Navigate keys with j/k or arrow keys, filter with /, edit translations with e, delete with d, and save with Ctrl-S.
  • The TUI editor supports undo (u), help overlay (?), and status-bar hints for all modes including confirm-delete and help.
  • XLIFF 1.2 is now a first-class export/import format alongside Apple .xcstrings, Android XML, CSV, and TSV.
  • Single-language output handling is tightened to avoid emitting malformed files in mixed-format repos.
  • Tolgee sync skips unmapped catalogs gracefully instead of failing noisy pipelines.
  • CI release jobs gained support for manual triggering with custom tags, and the Homebrew tap auto-updates after each release.

Bug Fixes

  • TUI: eliminated screen flash on key navigation for both Latin-script and complex-script (RTL/CJK/Indic) content.
  • TUI: fixed ghost glyphs left on screen when RTL/complex-script translations were replaced by shorter text.
  • TUI: fixed non-selected translation rows incorrectly wrapping across multiple lines.
  • CLI: satisfied Clippy collapsible_if lint in the confirm-delete flow.
  • CI: fixed secrets leaking into workflow conditionals.

Installation

Homebrew:

brew tap oops-rs/tap
brew install langcodec-cli

Cargo:

cargo install langcodec-cli

Standalone release binaries are attached for macOS, Linux, and Windows alongside packaged archives and .sha256 checksum files.

Full Changelog: v0.11.0...v0.12.0

What's Changed

Full Changelog: v0.11.0...v0.12.0

langcodec v0.11.0

03 Apr 19:11

Choose a tag to compare

Highlights

  • Added Apple/Xcode XLIFF 1.2 support to the core conversion pipeline, including export and import flows for catalog-based localization handoff.
  • Expanded annotate and translate so they cover Apple .strings and Android strings.xml, not just .xcstrings.
  • Tightened single-language output behavior and unmapped-catalog handling to make CLI automation safer in mixed-format repos.
  • Release automation now publishes both packaged archives and standalone langcodec binaries for each target, and the Homebrew tap can update from releases automatically.

What Changed

  • langcodec can now read and write XLIFF 1.2 in addition to the existing Apple, Android, CSV, and TSV formats.
  • langcodec annotate now understands Apple .strings and Android XML source files, so translator comments can be generated inline across more real-world projects.
  • langcodec translate now has explicit coverage for Apple .strings and Android XML workflows.
  • Config-driven CLI runs now expand globbed inputs more consistently, which helps batch annotation and translation jobs.
  • Tolgee sync skips unmapped catalogs instead of failing noisy pipelines.
  • The CLI dependency stack was refreshed, including the mentra upgrade.

Installation

Homebrew:

brew tap oops-rs/tap
brew install langcodec-cli

Cargo:

cargo install langcodec-cli

Standalone release binaries are attached for macOS, Linux, and Windows alongside the packaged archives and .sha256 checksum files.

What's Changed

  • Extend annotate support to Apple strings and Android XML by @ahavili in #13

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

16 Mar 13:51

Choose a tag to compare

v0.10.0 expands langcodec from a localization file toolkit into a more complete localization workflow CLI. This release introduces AI-assisted translation and annotation for Apple string catalogs, adds native Tolgee sync workflows, and improves the terminal experience with styled output and interactive dashboards.

Highlights

  • Added a new translate command for AI-assisted localization workflows.
  • Added a new annotate command to generate translator-facing .xcstrings comments from source usage while preserving existing manual comments.
  • Added tolgee pull and tolgee push workflows for syncing mapped .xcstrings catalogs with Tolgee.
  • Added TUI dashboards and improved styled terminal output for long-running CLI workflows.
  • Reworked langcodec.toml support to better structure provider, translation, annotation, and Tolgee settings.
  • Improved the core .xcstrings translation workflow and annotation search resilience.

What’s New

  • translate now supports Mentra-backed providers, including OpenAI, Anthropic, and Gemini.
  • Translation runs can target multiple languages in one pass and update multi-language .xcstrings files in place.
  • Tolgee can be used as a prefill source before AI fallback during translation runs.
  • annotate can search project source roots and generate better translator context directly into .xcstrings.
  • langcodec.toml can now act as the source of truth for translate, annotate, and Tolgee workflows.
  • The CLI now supports --ui auto|plain|tui for richer progress reporting.
  • The TUI remains open until you explicitly quit, making it easier to inspect results at the end of a run.

Improvements

  • Better terminal styling and clearer output summaries across the CLI.
  • More resilient annotation tool search behavior.
  • Refreshed documentation in the main README and CLI README.
  • Added a langcodec.example.toml to help teams adopt config-driven workflows.

Upgrade Notes

  • If you use config-driven AI workflows, review your existing langcodec.toml against the new example config.
  • If exactly one provider section is configured, translate and annotate can now auto-select it.
  • If multiple providers are configured, explicitly set --provider or translate.provider.
  • Tolgee support in this release is focused on Apple .xcstrings workflows.

Full Changelog

  • feat(cli): add Tolgee sync workflows
  • fix(cli): keep TUI open until explicit quit
  • feat(cli): add tui dashboards
  • feat(cli): restructure langcodec config
  • feat(cli): add styled terminal output
  • fix(cli): improve annotate tool search resilience
  • feat(cli): add agent-backed xcstrings annotation
  • feat(core): improve xcstrings translate workflow
  • Add Mentra-backed translate command
  • docs: refresh project and cli readmes
  • docs: add langcodec config example

Compare: v0.9.1...v0.10.0