{"repo":"jralvarenga/better-translate","free":true,"listed":false,"github":"https://github.com/jralvarenga/better-translate","clone":"git clone https://github.com/jralvarenga/better-translate.git","description":"One i18n setup for any TypeScript project","language":"TypeScript","stars":24,"topics":["astro","nextjs","react","react-native","tanstack-router","tanstack-start","typescript","i18n"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Better Translate The type-safe i18n toolkit for TypeScript better-translate.com » Docs · Quick Start · Issues About Better Translate is a type-safe i18n toolkit for TypeScript. Write your translation config once and it works across Next.js, Astro, React, TanStack Router, Node, Bun, and Expo — same API, same types, same experience everywhere. A built-in CLI generates translated locale files using any AI provider or local Ollama models, so you ship multilingual apps without manual work. Why Better Translate i18n in TypeScript projects is usually an afterthought. You wire up a library, scatter translation keys across your codebase, and cross your fingers that nothing drifts out of sync. Better Translate treats translations as first-class TypeScript: keys are inferred, interpolations are typed, and the CLI handles generation so you never write a locale file by hand again. Quick Start Create a better-translate.config.ts at the root of your project: Extract source strings and generate all locale files: Use translations in your app: Framework Support Framework / Runtime Package --- --- Next.js (App Router) @better-translate/nextjs Astro @better-translate/astro React @better-translate/react TanStack Router / Start @better-translate/tanstack-router Expo (React Native) @better-translate/react Node.js @better-translate/core Bun @better-translate/core Markdown / MDX @better-translate/md Key Features - Type-safe by default — Full TypeScript inference on translation keys and interpolation ","default_branch":null,"files":null,"tree":[],"storefront":"/r/jralvarenga","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jralvarenga/better-translate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}