Skip to content

langcodec v0.12.0

Latest

Choose a tag to compare

@WendellXY WendellXY released this 15 Apr 03:49
· 1 commit to main since this release

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