Skip to content

TypeGlotThe Type-Safe i18n Toolchain

Best-in-class TypeScript support. 100% local. Zero fees. AI-powered translations using the tools you already pay for.

TypeGlot

Quick Start

bash
# Initialize TypeGlot in your project
npx typeglot init

# Build typed translations
npx typeglot build

# Start development mode
npx typeglot dev

Why TypeGlot?

Tired of paying $120/month for cloud translation platforms that give you magic strings and sync headaches? TypeGlot is different.

🎯 Best-in-Breed Type Safety

TypeGlot is the only i18n solution that gives you real TypeScript types:

typescript
// ❌ Traditional i18n - magic strings, runtime errors
t('user.welcome', { name: userName }); // typo? wrong param? 💥 at runtime

// ✅ TypeGlot - fully typed, compile-time safe
m.user_welcome({ name: userName }); // ✨ autocomplete, type checking, refactoring

💎 Zero Vendor Lock-In, Zero Fees

  • No cloud sync - Your Git repo is the source of truth
  • No subscription fees - Install once, use forever
  • No sync anxiety - What you commit is what runs in production
  • Works offline - No internet? No problem.

🧠 Context is King

Traditional platforms make translators guess. TypeGlot gives AI the full picture:

typescript
/**
 * @desc Button shown in checkout. User clicks to finalize purchase.
 * Should create urgency and be action-oriented.
 * @example "Complete Your Order", "Finish Purchase Now"
 */
const checkoutButton = m.checkout_complete();

Your JSDoc comments travel with the key, giving AI models the context they need for perfect translations.

🚀 Built for Developers

  • Watch mode - instant recompilation
  • Local UI - beautiful dashboard that runs locally
  • VS Code extension - inline previews, AI translation, quick fixes
  • CLI-first - automate everything in CI/CD

Better Than Cloud Platforms?

For developers who value type safety and Git workflows? Absolutely.

For large enterprises needing translation agencies and complex workflows? Maybe not yet.

See honest comparison with Lokalise, Crowdin, Phrase, and others →

Released under the MIT License.