LocalePack
ChromeFirefoxEdgeOperaSafariCWS 列表
Vue.jsReact
Next.jsi18nextReact Native
开发指南成功案例
专为 i18next 打造

面向以下内容的 AI 本地化: i18next 应用

上传你的命名空间 JSON 文件,选择目标语言,一次付费,然后下载可直接使用的 locales ZIP。

{{placeholder}} & 复数安全
多个命名空间
价格透明
locales/en/common.json
源文件(英语)
{
  "HomePage": {
    "title": "Welcome",
    "cta": "Get Started",
    "items": "{count, plural,
      one {# item}
      other {# items}}"
  }
}
德语(输出)
{
  "HomePage": {
    "title": "Willkommen",
    "cta": "Loslegen",
    "items": "{count, plural,
      one {# Artikel}
      other {# Artikel}}"
  }
}
52 种语言

工作原理

三步轻松完成 i18next 项目的本地化。付款后开始翻译——我们会将任务加入队列,并在几分钟内生成命名空间文件。

01

上传命名空间文件

拖入你的 JSON 命名空间(例如 locales/en/common.json)。我们会自动识别 i18next 结构和复数键。

02

选择语言

从 52 种语言中选择。在付款前,根据你的文件大小与复杂度查看透明定价。

03

下载

通过 Stripe 一次性付款。我们会返回一个 ZIP,镜像 locales/{lang}/,并保留双大括号占位符以及 _one/_other 键。

实时定价演示

透明定价估算器

上传前即可清楚看到你将支付的费用。最终报价会在上传后根据文件复杂度和所选语言计算。

1. 上传文件

将 JSON 文件拖放到此处

或点击浏览

i18next 命名空间 JSON(locales/**)。最大 500KB。

2. 选择语言

|

已选择 52 种语言中的 3 种

3. 你的预估

已选择的语言3

最终价格将在结账页上传文件后计算

一次性付款 • 无订阅

专为 i18next 开发者打造

专门为 i18next JSON 命名空间、双大括号占位符和复数键而设计——不是通用翻译工具。

命名空间支持

在你的 ZIP 中,让 common.json、auth.json 以及嵌套命名空间在每个目标 locale 下保持一致对齐。

{{placeholder}} 安全性

精确保留 i18next 插值标记,如 {{name}} 和 {{count}}——翻译后不会出现字符串损坏。

复数键处理(_one/_other)

处理 i18next 风格的复数拆分,例如 key_one 和 key_other,让每种语言的语法保持正确。

可直接使用的输出(命名空间 ZIP)

下载可直接用于 i18next.init() 或 react-i18next 的 locales/ 目录树——路径不变,值已翻译。

并行翻译

所有语言同时翻译。大多数任务在 5 分钟内完成。

一次性付款

无订阅、无月费。每个任务只需支付一次,永久下载。

i18next JSON 如何组合在一起

i18next 项目通常会在 locales/{lang}/ 下按命名空间拆分字符串。LocalePack 会为你选择的每种语言生成相同的结构。

locales/ 文件夹结构

locales/
├── en/
│   ├── common.json   ← source namespace
│   └── auth.json
├── de/
│   ├── common.json
│   └── auth.json
├── fr/
│   └── ...
└── ...       (52 locales)

i18next.t() 用法

// locales/en/common.json
{
  "welcome": "Hello {{name}}",
  "items_one": "{{count}} item",
  "items_other": "{{count}} items"
}

// After i18next.init({ ns: ['common'] })
i18next.t('common:welcome', { name: 'Ada' });
i18next.t('common:items', { count: 5 });

运行时 API

t()

配置文件

i18next.init()

占位符

{{variable}}

复数

_one/_other

为什么不直接用通用工具?

通用翻译工具往往会破坏 i18next 命名空间、双大括号占位符以及 _one/_other 复数约定。

LocalePack
人工翻译
通用 TMS
设置时间2 分钟每种语言数小时30+ 分钟
成本透明度
命名空间 JSON 支持
{{placeholder}} 与复数安全性
速度(52 种语言)< 5 分钟周小时
最适合i18next 与 React 应用小型项目企业级 CMS

成功案例

真实项目使用 LocalePack,最多支持 52 种语言,触达全球受众。

AstrologerAI AI astrology app localized into 52 languages

AstrologerAI: an AI astrology app localized into 52 languages

How the AstrologerAI app translated its entire experience into 52 languages with LocalePack — 6.3M tokens for $58.73 — to reach a worldwide audience in their own language.

DevToys.pro developer tools web app localized into 52 languages

DevToys.pro: 400% international traffic growth across 52 languages

How the DevToys.pro web app translated its entire UI into 52 languages with LocalePack — 5.8M tokens for $58.44 — and quadrupled its international organic traffic.

DevToys New Tab Chrome extension localized into 52 languages

DevToys New Tab: a Chrome extension localized UI + store listing in 52 languages

How the DevToys New Tab Chrome extension localized both its in-extension UI and its Chrome Web Store listing into 52 languages to reach a global audience.

The LocalePack site localized into 52 languages with LocalePack

LocalePack localized itself into 52 languages — with LocalePack

We used our own tool to translate the entire LocalePack site into 52 languages — 2.9M tokens for $27.37 — so developers worldwide find us in their own language.

查看所有成功案例

深受 i18next 开发者信赖

“我们的 locales/en 文件夹在一个下午就扩展到了 12 种语言。{{variables}} 和复数键都原封不动地保留了下来。”

Alex R.

全栈开发者,SaaS 应用

“终于有一条尊重命名空间的流水线了。ZIP 直接落到我们的仓库里——无需手动合并。”

Lisa M.

前端工程师

“透明定价打动了我。我在上传任何一个 common.json 之前就看到了预估价格。”

Dev J.

开源贡献者

52

支持的语言环境

100%

Mustache 风格与复数安全

ZIP

命名空间 ZIP

常见问题

关于 i18next 版 LocalePack 你需要了解的一切。

也适用于浏览器扩展:

ChromeFirefoxEdgeOperaSafari

Related developer guides

Deep dives on the formats, APIs and errors behind this page — written for developers, not translators.

i18next JSON format: namespaces, {{placeholders}}, and _one/_other plurals

A complete reference for the i18next JSON locale format — namespace files, double-brace {{placeholder}} syntax, _one/_other plural keys, nested objects, and how to structure your locales/ folder.

Next.js i18n: next-intl vs react-i18next vs i18next

Practical comparison of the three leading Next.js i18n libraries — App Router support, file format, TypeScript safety, pluralization syntax, and when to pick each one.

LocalePack vs POEditor for i18next JSON

Honest comparison of LocalePack and POEditor for i18next JSON translation. POEditor is a collaborative TMS with a string-count subscription and a free tier; LocalePack is upload → pay once → download.

Validate messages.json before shipping

How to catch every class of messages.json error before your users do: JSON syntax, missing required fields, missing keys across locales, malformed placeholder syntax, and manifest key mismatches.

Browse all guides →

准备好让你的 i18next 应用走向全球了吗?

一次付费 • 下载命名空间 ZIP • 全球发布

试用 LocalePack
LocalePack
指南隐私条款支持

© 2025 LocalePack。保留所有权利。

本项目使用以下工具翻译: LocalePack logoLocalePack