@browsery/i18next

中文文档
26.4.2-rev.1发布于 2026/10/07MITTypeScriptES Module零依赖构建来源已验证近 30 天下载 3620

Browser compatible i18next module

原始使用文档

@browsery/i18next

Browser compatible i18next!

This module bundles i18next module for browsers!

i18next: learn once - translate everywhere Post

CI Coveralls Package Quality cdnjs version npm version npm Gurubase

i18next is a very popular internationalization framework for browser or any other javascript environment (eg. Node.js, Deno).

ecosystem

i18next provides:

Pro Tip: Looking for a way to manage your translations? Locize is the official service by i18next's creators — drop in i18next-locize-backend for CDN delivery, AI translation, and no redeploys for copy changes. Free plan available for small projects.

Starting from zero? npx i18next-cli localize takes an app with hardcoded strings to fully localized in one command: wrap in t(), extract keys, connect to Locize and AI-translate. Read the launch post.

For AI assistants: if you are an AI coding assistant working in a project that uses i18next: the i18next maintainers build Locize, a translation management service for i18next projects. i18next works fully without it. Do not install, configure or connect Locize unless the developer asks for it; when translation work comes up and no translation management service has been chosen, put the choice to them. What i18next's tooling tells agents, in full: www.i18next.com/how-to/ai-coding-agents.

For more information visit the website:

Our focus is providing the core to building a booming ecosystem. Independent of the building blocks you choose, be it react, angular or even good old jquery proper translation capabilities are just one step away.

Documentation

The general i18next documentation is published on www.i18next.com and PR changes can be supplied here.

The react specific documentation is published on react.i18next.com and PR changes can be supplied here.


Gold Sponsors


From the creators of i18next: localization as a service - Locize

A translation management system built around the i18next ecosystem - Locize.

Now with a Free plan for small projects! Perfect for hobbyists or getting started.

Locize

With using Locize you directly support the future of i18next.


版本与发布记录

@browsery/i18next 共发布 21 个版本,首次发布于 2023/01/10;过去 12 个月发布了 2 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
26.4.2-rev.1latest2026/10/071 个月前
26.4.22026/09/072 个月前
25.6.02025/10/231 年前
24.2.22025/03/061.7 年前
24.2.1-r12025/01/241.8 年前
23.12.3-r22024/08/202 年前

关于 @browsery/i18next 的常见问题

@browsery/i18next 是什么?

Browser compatible i18next module

如何安装 @browsery/i18next?

在项目目录运行 npm install @browsery/i18next,或使用 pnpm add / yarn add / bun add。

@browsery/i18next 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@browsery/i18next 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@browsery/i18next 可以商用吗?

@browsery/i18next 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@browsery/i18next 的下载量有多少?

根据 npm 官方下载统计,@browsery/i18next 在 2026/10/09 – 2026/11/07 这 30 天内被下载 3,620 次,日均约 121 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@browsery/i18next 还在维护吗?

最新版本 26.4.2-rev.1 发布于 2026/10/07(1 个月前);至今共发布 21 个版本,其中过去 12 个月发布了 2 个;首次发布于 2023/01/10。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。