🌐 Tradux

Tradux is a developer-friendly translation library designed to automate multilingual content management. It uses your choice of AI provider (OpenRouter, OpenAI, Anthropic, Google, etc.) to translate your JSON files and provides lightweight, reactive hooks to handle language switching in modern JavaScript frameworks.

Whether you are building a simple single-page app or an SEO-focused server-rendered website, Tradux aims to reduce the manual friction of managing translations.

⚡ Key Features

🤖 AI-Powered CLI

Automates JSON translation using any AI provider you prefer.

🔄 Differential Updates

Tradux remembers your previous translations. If you change a specific English string, it only updates that string, saving API calls and tokens.

🛡️ Redundancy (Fallback)

Automatically swaps to a backup provider if your primary API fails or runs out of credits.

🪝 Native Framework Hooks

Ready-to-use hooks for React, Vue, Svelte, and Vanilla JS.

⚡ Cross-Component Reactivity

Change the language in one component, and the rest of the app updates instantly without a page reload.

📂 Auto-Syncing Config

The CLI automatically manages your availableLanguages list based on the actual files in your folder.