Releases: oops-rs/langcodec
Releases · oops-rs/langcodec
langcodec v0.12.0
Highlights
- Interactive TUI browser — a new
browsecommand 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 browseopens an interactive terminal UI for any supported localization file. Navigate keys withj/kor arrow keys, filter with/, edit translations withe, delete withd, and save withCtrl-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_iflint in the confirm-delete flow. - CI: fixed secrets leaking into workflow conditionals.
Installation
Homebrew:
brew tap oops-rs/tap
brew install langcodec-cliCargo:
cargo install langcodec-cliStandalone 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
- Add XLIFF 1.2 support to core by @WendellXY in #14
Full Changelog: v0.11.0...v0.12.0
langcodec v0.11.0
Highlights
- Added Apple/Xcode XLIFF 1.2 support to the core conversion pipeline, including export and import flows for catalog-based localization handoff.
- Expanded
annotateandtranslateso they cover Apple.stringsand Androidstrings.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
langcodecbinaries for each target, and the Homebrew tap can update from releases automatically.
What Changed
langcodeccan now read and write XLIFF 1.2 in addition to the existing Apple, Android, CSV, and TSV formats.langcodec annotatenow understands Apple.stringsand Android XML source files, so translator comments can be generated inline across more real-world projects.langcodec translatenow has explicit coverage for Apple.stringsand 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
mentraupgrade.
Installation
Homebrew:
brew tap oops-rs/tap
brew install langcodec-cliCargo:
cargo install langcodec-cliStandalone release binaries are attached for macOS, Linux, and Windows alongside the packaged archives and .sha256 checksum files.
What's Changed
New Contributors
Full Changelog: v0.10.0...v0.11.0
v0.10.0
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
translatecommand for AI-assisted localization workflows. - Added a new
annotatecommand to generate translator-facing.xcstringscomments from source usage while preserving existing manual comments. - Added
tolgee pullandtolgee pushworkflows for syncing mapped.xcstringscatalogs with Tolgee. - Added TUI dashboards and improved styled terminal output for long-running CLI workflows.
- Reworked
langcodec.tomlsupport to better structure provider, translation, annotation, and Tolgee settings. - Improved the core
.xcstringstranslation workflow and annotation search resilience.
What’s New
translatenow supports Mentra-backed providers, including OpenAI, Anthropic, and Gemini.- Translation runs can target multiple languages in one pass and update multi-language
.xcstringsfiles in place. - Tolgee can be used as a prefill source before AI fallback during translation runs.
annotatecan search project source roots and generate better translator context directly into.xcstrings.langcodec.tomlcan now act as the source of truth for translate, annotate, and Tolgee workflows.- The CLI now supports
--ui auto|plain|tuifor 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.tomlto help teams adopt config-driven workflows.
Upgrade Notes
- If you use config-driven AI workflows, review your existing
langcodec.tomlagainst the new example config. - If exactly one provider section is configured,
translateandannotatecan now auto-select it. - If multiple providers are configured, explicitly set
--providerortranslate.provider. - Tolgee support in this release is focused on Apple
.xcstringsworkflows.
Full Changelog
feat(cli): add Tolgee sync workflowsfix(cli): keep TUI open until explicit quitfeat(cli): add tui dashboardsfeat(cli): restructure langcodec configfeat(cli): add styled terminal outputfix(cli): improve annotate tool search resiliencefeat(cli): add agent-backed xcstrings annotationfeat(core): improve xcstrings translate workflowAdd Mentra-backed translate commanddocs: refresh project and cli readmesdocs: add langcodec config example
Compare: v0.9.1...v0.10.0