Engineering
jta avatar

jta

Agentic AI-powered JSON i18n file translator with auto-terminology, format preservation, and incremental updates to streamline global software deployment.

Introduction

Jta is a high-precision, agentic CLI tool designed for developers managing internationalization (i18n) and localization (l10n) workflows. It goes beyond simple machine translation by employing an iterative 'translate, reflect, and improve' mechanism that ensures high linguistic accuracy, cultural appropriateness, and technical consistency across multi-language JSON files. It is an ideal solution for software teams that need to support multiple languages without sacrificing quality or breaking code structure.

  • Advanced Agentic Reflection: Uses a multi-step verification process to evaluate accuracy, fluency, and style, performing 3x API calls per batch to refine and polish output.

  • Intelligent Terminology Management: Automatically detects and stores technical terms, brand names, and domain-specific vocabulary in local .jta/ configuration files to ensure global consistency.

  • Robust Format Protection: Safely handles and preserves placeholders (e.g., {variable}, {{count}}), HTML tags, URLs, and Markdown formatting, preventing common issues where software variables are accidentally corrupted during translation.

  • Smart Incremental Processing: Minimizes costs by tracking changes and only translating new or modified keys, achieving 80-90% efficiency savings on project updates.

  • Multi-Provider Support: Compatible with major LLM providers including OpenAI (GPT-4o), Anthropic (Claude 3.5 Sonnet/Opus), and Google (Gemini) for high-quality, high-context translation.

  • RTL Language Support: Native handling for right-to-left scripts like Arabic, Hebrew, and Persian, ensuring correct punctuation and text direction.

  • Typical use cases include adding new languages to React/Vue/Angular i18n modules, syncing updated copy in localization files, and automating translation tasks within CI/CD pipelines using GitHub Actions.

  • Requires setting environment variables for preferred AI providers (OPENAI_API_KEY, ANTHROPIC_API_KEY, or GEMINI_API_KEY).

  • Automatically detects JSON structures and supports specific key filtering or exclusion patterns using glob syntax for targeted translation tasks.

  • Installation is straightforward via Homebrew (brew tap hikanner/jta) or direct binary download for Linux/macOS environments.

Repository Stats

Stars
127
Forks
5
Open Issues
5
Language
Go
Default Branch
main
Sync Status
Idle
Last Synced
May 3, 2026, 05:11 AM
View on GitHub