{"repo":"felipevetter/auto-i18n","free":true,"listed":false,"github":"https://github.com/felipevetter/auto-i18n","clone":"git clone https://github.com/felipevetter/auto-i18n.git","description":"🚀 The smartest way to internationalize Next.js. AI-powered text extraction & zero-config runtime. No [locale] folders, no complex middleware. Just pure DX.","language":"TypeScript","stars":32,"topics":["ast","automation","developer-tools","dx","i18n","nextjs","openai","react","typescript"],"license":"MIT","category":"workflow-automation","readme_excerpt":"@scopeact/autoi18n The only i18n tool that handles both Extraction (via AST + AI) and Runtime (Zero-Config). autoi18n is a dual-purpose tool designed to take a hardcoded React/Next.js project to full internationalization in minutes, not hours. --- ⚡ The Core: CLI Migration The CLI scans your TSX files, extracts hardcoded strings using Abstract Syntax Tree (AST) , and uses AI to generate semantic keys . - No Regex: Safe code transformations that won't break your syntax. - AI-Powered: Keys like welcome title instead of text 1 . - Auto-Inject: Automatically adds imports to your files. Quick Start --- 🚀 The Feature: Zero-Config Runtime We noticed that even after extracting strings, configuring i18n in Next.js (App Router) is a nightmare (Middleware, [locale] folders, etc). So we built a minimalist, high-performance runtime specifically for the CLI output. 1. Setup the Provider (Root Layout) No need to move files into [locale] folders. Just wrap your layout. 2. Usage in Server Components 3. Usage in Client Components --- 🛠 Configuration Created via init , the auto-i18n.config.json controls the magic: --- 💎 Why autoi18n? Feature Tradicional (next-intl/i18next) autoi18n :--- :--- :--- Key Creation Manual (Hours of copy-paste) AI-Automated (Seconds) Code Rewrite Manual AST-Automated Folder Structure Forced [locale] nesting Stay as you are Next.js Setup Complex (Middleware/Config) Zero-Config --- 🇧🇷 Born in Brazil Projeto desenvolvido com foco em resolver a dor real de desenvolve","default_branch":null,"files":null,"tree":[],"storefront":"/r/felipevetter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/felipevetter/auto-i18n/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."}