Integration directory
契合现代产品团队交付方式的集成。
适用于流行框架的一流 sdk、用于自动化的 cli 工具以及用于自定义集成的 api。与您的技术栈协作,而不是对抗。
Quick start
浏览框架、开发者工具、AI 工作流与分发方式。
Install
Production-ready i18n for Next.js App Router with ISR, edge middleware, and CDN delivery.
terminal
npm install lefinelefine.ts
import { createLefine } from "lefine/next";export const lefine = createLefine({ project: "app_3f9c0e4b2a7d4e1f9b6c5a8d7e2f1a0b", locales: ["en", "tr", "de", "fr"], defaultLocale: "en",});What Next.js gives you
StringsProvider应用根部的一个 provider 承载项目和当前语言。useStrings(namespace)在任何组件中读取一个 namespace。缺失的键在开发环境中可见,不会被静默忽略。manifest.json语言从项目 manifest 中发现,因此新增一种语言无需改动代码。cdn.lefine.ai翻译从边缘节点获取,通过发布来更新,而不是重新部署。
Search and filter
Explore integrations
浏览 Lefine 目前的集成:框架、开发者工具、交付和 AI 工作流。
Featured
2Frameworks
11- SDK · GuideNext.jsProduction-ready i18n for Next.js App Router with ISR, edge middleware, and CDN delivery.Open guide
- SDK · GuideReactLightweight React i18n with client hydration from CDN — no layout shift.Open guide
- SDK · GuideExpoOTA translation updates for React Native — ship copy fixes without an app store release.Open guide
- SDK · GuideVuei18n for Vue 3 applications with Composition API and CDN-first translation delivery.Open guide
- SDK · GuideSvelteCDN-first translation loading for SvelteKit and Svelte applications.Open guide
- SDK · GuideNuxtServer-side i18n for Nuxt 3 with Nuxt i18n module integration.Open guide
- SDK · GuideRemixLocalization for Remix and Shopify Hydrogen apps via loader context injection.Open guide
- SDK · GuideViteCDN-first i18n for any Vite-based SPA or SSR application.Open guide
- SDK · GuideTanStack Starti18n for TanStack Start applications with type-safe server loader integration.Open guide
- SDK · GuideAngularRuntime i18n for Angular — ship translation updates without rebuilding.Open guide
- SDK · GuideAstroTranslation loading for Astro sites with both static generation and SSR support.Open guide
Developer Tools
4- Built-inCLIScan, sync, and audit your i18n keys directly from the command line.Open guide
- API · AvailableREST APIProgrammatic access to your translation keys, languages, and publish pipeline.Open guide
- API · AvailableWebhooksGet a request at your endpoint the moment translations publish, so your app can revalidate itself.Open guide
- CLI · GuideCode ScanningDetect hardcoded strings, missing keys, and unused translations in your codebase.Open guide
Delivery
2AI & Automation
2自动化您的本地化工作流
常见的工作流组合
集成很少单独发挥作用。这些组合展示了各个部分如何在一个可运行的技术栈中协同工作。
GitHub + CLI + CDN
适合以工程为主导的团队:在 CI 中做翻译检查、可评审的 pull request,以及无需重新部署的运行时交付。
Compare with CrowdinNext.js + AI + Review
适合快速迭代的产品团队:借助 AI 提速,同时在改动上线前保留真正的人工审批。
See the Next.js guideExpo + SDK + CDN
适合希望翻译修复和上线与应用商店发版周期彼此独立的移动应用。
See the Expo guide
Quick start
用代码交付,而不是电子表格
为何重要
这些集成为何重要
每个集成都会说明它在你的技术栈中的位置:GitHub 本地化、Next.js 本地化、通过 CDN 交付翻译、面向 AI 智能体的 MCP,以及 Expo 应用的运行时翻译更新。
这份列表是有意精简的。这里的每个集成都契合真实的工程工作流,从存放字符串的代码到交付它们的 CDN,而不是为了凑数充实目录。
quick-startNext.js
# Installnpm install lefine# lefine.tsimport { createLefine } from 'lefine/next'export const lefine = createLefine({ project: 'app_3f9c0e4b2a7d4e1f9b6c5a8d7e2f1a0b', locales: ['en', 'tr', 'de', 'fr'], defaultLocale: 'en',})# Publish translations through the CDN# Add GitHub review flows only when your team needs them