{"id":43239493,"url":"https://github.com/better-i18n/oss","last_synced_at":"2026-05-30T14:00:44.031Z","repository":{"id":335821598,"uuid":"1147162152","full_name":"better-i18n/oss","owner":"better-i18n","description":"Official TypeScript SDKs for Better i18n — Next.js, React, Expo/React Native integrations with CLI, MCP server, and CDN-powered translation delivery","archived":false,"fork":false,"pushed_at":"2026-05-22T16:34:19.000Z","size":23756,"stargazers_count":12,"open_issues_count":2,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-22T20:48:07.617Z","etag":null,"topics":["ai-agents","cdn","cli","crowdin","developer-tools","expo","i18n","internationalization","localization","lokalise","mcp","next-intl","nextjs","react","react-native","translation","typescript","use-intl"],"latest_commit_sha":null,"homepage":"https://better-i18n.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/better-i18n.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-01T09:54:46.000Z","updated_at":"2026-05-22T16:26:13.000Z","dependencies_parsed_at":"2026-04-02T11:07:09.014Z","dependency_job_id":null,"html_url":"https://github.com/better-i18n/oss","commit_stats":null,"previous_names":["better-i18n/oss"],"tags_count":245,"template":false,"template_full_name":null,"purl":"pkg:github/better-i18n/oss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/better-i18n%2Foss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/better-i18n%2Foss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/better-i18n%2Foss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/better-i18n%2Foss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/better-i18n","download_url":"https://codeload.github.com/better-i18n/oss/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/better-i18n%2Foss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33694714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","cdn","cli","crowdin","developer-tools","expo","i18n","internationalization","localization","lokalise","mcp","next-intl","nextjs","react","react-native","translation","typescript","use-intl"],"created_at":"2026-02-01T11:17:10.558Z","updated_at":"2026-05-30T14:00:44.001Z","avatar_url":"https://github.com/better-i18n.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://better-i18n.com\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://better-i18n.com/brand/logo-dark.svg\"\u003e\n      \u003cimg src=\"https://better-i18n.com/brand/logo-light.svg\" alt=\"Better i18n\" width=\"240\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003eTypeScript SDKs for the Better i18n localization platform\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n  Manage translations with CDN delivery, GitHub sync, and AI-powered workflows.\n  \u003cbr /\u003e\n  \u003ca href=\"https://docs.better-i18n.com\"\u003e\u003cstrong\u003eDocumentation\u003c/strong\u003e\u003c/a\u003e · \u003ca href=\"https://better-i18n.com\"\u003e\u003cstrong\u003eWebsite\u003c/strong\u003e\u003c/a\u003e · \u003ca href=\"https://better-i18n.com/blog\"\u003e\u003cstrong\u003eBlog\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@better-i18n/cli\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@better-i18n/cli?label=%40better-i18n%2Fcli\u0026color=0284c7\" alt=\"CLI version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@better-i18n/next\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@better-i18n/next?label=%40better-i18n%2Fnext\u0026color=0284c7\" alt=\"Next.js SDK version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@better-i18n/expo\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@better-i18n/expo?label=%40better-i18n%2Fexpo\u0026color=0284c7\" alt=\"Expo SDK version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@better-i18n/mcp\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@better-i18n/mcp?label=%40better-i18n%2Fmcp\u0026color=0284c7\" alt=\"MCP version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/better-i18n/oss/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/better-i18n/oss?color=0284c7\" alt=\"MIT License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## Why Better i18n?\n\nMost localization tools weren't built for modern developer workflows. Better i18n is different:\n\n- **GitHub-native** — translations sync as PRs, reviews happen in your existing workflow\n- **CDN-delivered** — translations served from [Cloudflare's edge network](https://cloudflare.com), updated without redeployment\n- **AI-powered** — context-aware translation with [Google Gemini](https://deepmind.google/technologies/gemini/), not word-by-word machine output\n- **TypeScript-first** — full type safety across [Next.js](https://nextjs.org), [React](https://react.dev), [Expo](https://expo.dev), and [React Native](https://reactnative.dev)\n- **MCP-ready** — AI agents can manage translations through the [Model Context Protocol](https://modelcontextprotocol.io/)\n\n### How it compares\n\n| Feature | Better i18n | [Crowdin](https://crowdin.com) | [Lokalise](https://lokalise.com) | [Phrase](https://phrase.com) |\n|---------|:-----------:|:------:|:--------:|:------:|\n| GitHub-first workflow | ✅ | Partial | Partial | ❌ |\n| AI translation with context | ✅ | ✅ | ✅ | ✅ |\n| CDN delivery (no redeploy) | ✅ | ❌ | ❌ | ❌ |\n| TypeScript SDKs | ✅ | ❌ | ❌ | ❌ |\n| MCP server for AI agents | ✅ | ❌ | ❌ | ❌ |\n| CLI scanner (unused key detection) | ✅ | ❌ | ❌ | ❌ |\n| ICU MessageFormat support | ✅ | ✅ | ✅ | ✅ |\n| Open-source SDKs | ✅ | Partial | ❌ | ❌ |\n| Free tier | ✅ | ✅ | ❌ | ❌ |\n\n## Packages\n\n| Package | Description | Version |\n|---------|-------------|---------|\n| [`@better-i18n/cli`](./packages/cli) | CLI for scanning, syncing, and managing translations | [![npm](https://img.shields.io/npm/v/@better-i18n/cli)](https://www.npmjs.com/package/@better-i18n/cli) |\n| [`@better-i18n/next`](./packages/next) | [Next.js](https://nextjs.org) SDK with middleware and hooks | [![npm](https://img.shields.io/npm/v/@better-i18n/next)](https://www.npmjs.com/package/@better-i18n/next) |\n| [`@better-i18n/use-intl`](./packages/use-intl) | [React](https://react.dev) hooks for [use-intl](https://www.npmjs.com/package/use-intl) integration | [![npm](https://img.shields.io/npm/v/@better-i18n/use-intl)](https://www.npmjs.com/package/@better-i18n/use-intl) |\n| [`@better-i18n/expo`](./packages/expo) | [Expo](https://expo.dev) / [React Native](https://reactnative.dev) integration with offline caching | [![npm](https://img.shields.io/npm/v/@better-i18n/expo)](https://www.npmjs.com/package/@better-i18n/expo) |\n| [`@better-i18n/core`](./packages/core) | Core utilities for locale handling and formatting | [![npm](https://img.shields.io/npm/v/@better-i18n/core)](https://www.npmjs.com/package/@better-i18n/core) |\n| [`@better-i18n/mcp`](./packages/mcp) | [MCP](https://modelcontextprotocol.io/) server for AI agent integration | [![npm](https://img.shields.io/npm/v/@better-i18n/mcp)](https://www.npmjs.com/package/@better-i18n/mcp) |\n| [`@better-i18n/schemas`](./packages/schemas) | Shared [Zod](https://zod.dev) validation schemas | [![npm](https://img.shields.io/npm/v/@better-i18n/schemas)](https://www.npmjs.com/package/@better-i18n/schemas) |\n\n## Quick Start\n\n```bash\n# Install the CLI\nnpm install -g @better-i18n/cli\n\n# Initialize in your project\nnpx @better-i18n/cli init\n\n# Scan your codebase for translation keys\nnpx @better-i18n/cli scan\n\n# Sync translations with the Better i18n platform\nnpx @better-i18n/cli sync\n```\n\n## Framework Integration\n\n### Next.js\n\n```bash\nnpm install @better-i18n/next\n```\n\n```typescript\n// middleware.ts\nimport { createI18nMiddleware } from '@better-i18n/next';\n\nexport default createI18nMiddleware({\n  locales: ['en', 'tr', 'de'],\n  defaultLocale: 'en',\n});\n```\n\nSee the [Next.js integration guide](https://docs.better-i18n.com/sdk/next) for routing, server components, and metadata setup.\n\n### React with use-intl\n\n```bash\nnpm install @better-i18n/use-intl\n```\n\n```tsx\nimport { BetterI18nProvider, useTranslations } from '@better-i18n/use-intl';\n\nfunction App() {\n  return (\n    \u003cBetterI18nProvider locale=\"en\" messages={messages}\u003e\n      \u003cMyComponent /\u003e\n    \u003c/BetterI18nProvider\u003e\n  );\n}\n\nfunction MyComponent() {\n  const t = useTranslations('common');\n  return \u003ch1\u003e{t('welcome')}\u003c/h1\u003e;\n}\n```\n\n### Expo / React Native\n\n```bash\nnpm install @better-i18n/expo\n```\n\n```tsx\nimport { BetterI18nExpoProvider, useTranslations } from '@better-i18n/expo';\n\nexport default function App() {\n  return (\n    \u003cBetterI18nExpoProvider\n      projectId=\"your-project-id\"\n      defaultLocale=\"en\"\n      fallbackMessages={fallback}\n    \u003e\n      \u003cHomeScreen /\u003e\n    \u003c/BetterI18nExpoProvider\u003e\n  );\n}\n```\n\nSupports offline caching, OTA translation updates, and automatic locale detection. See the [Expo guide](https://docs.better-i18n.com/sdk/expo).\n\n### MCP Server (AI Agents)\n\n```bash\nnpm install @better-i18n/mcp\n```\n\nConnect AI assistants like [Claude](https://claude.ai), [Cursor](https://cursor.com), or [Windsurf](https://windsurf.com) to your translation workflow through the [Model Context Protocol](https://modelcontextprotocol.io/).\n\n### Agent Skill\n\nGive your AI agent permanent better-i18n knowledge — SDK setup, key naming, CDN behavior, GitHub sync, and MCP tool usage — without pasting prompts each session.\n\n```bash\nnpx skills add better-i18n/skills\n```\n\nWorks with Claude Code, Cursor, Windsurf, and any agent that supports custom instructions. See [github.com/better-i18n/skills](https://github.com/better-i18n/skills).\n\n## Documentation\n\nVisit [docs.better-i18n.com](https://docs.better-i18n.com) for full documentation:\n\n- [Getting Started](https://docs.better-i18n.com/getting-started) — setup and first project\n- [CLI Reference](https://docs.better-i18n.com/cli) — all commands and options\n- [SDK Guides](https://docs.better-i18n.com/sdk) — Next.js, React, Expo integrations\n- [API Reference](https://docs.better-i18n.com/api) — REST API documentation\n- [MCP Integration](https://docs.better-i18n.com/mcp) — AI agent setup\n\n## Related\n\n- [better-i18n/skills](https://github.com/better-i18n/skills) — AI agent skills for i18n best practices\n- [better-i18n/status.better-i18n.com](https://github.com/better-i18n/status.better-i18n.com) — open-source status page\n\n## Contributing\n\nContributions are welcome! Please read our [contributing guidelines](./CONTRIBUTING.md) before submitting PRs.\n\n## License\n\n[MIT](./LICENSE) — Better i18n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetter-i18n%2Foss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbetter-i18n%2Foss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetter-i18n%2Foss/lists"}