# i18next documentation

## i18next documentation

- [Introduction](https://www.i18next.com/readme.md): i18next is the internationalization framework for JavaScript, maintained by the team that builds Locize, the translation management service for i18next projects.
- [Getting started](https://www.i18next.com/overview/getting-started.md): Install i18next with npm or a CDN script, initialize it with resources, and call t() in Node.js, the browser or any framework.
- [Comparison to others](https://www.i18next.com/overview/comparison-to-others.md): Why i18next: sustainability, maturity, extensibility and richness, and answers to the claims that it is complicated, bloated or too big.
- [API](https://www.i18next.com/overview/api.md): Reference for the i18next API: init, use, t, exists, changeLanguage, loadNamespaces, addResourceBundle, events and the other instance methods.
- [Configuration Options](https://www.i18next.com/overview/configuration-options.md): Every option of i18next.init: languages and fallbacks, namespaces, resources, saveMissing, interpolation, plurals, detection and backend settings.
- [Supported Frameworks](https://www.i18next.com/overview/supported-frameworks.md): Framework bindings and integrations for i18next: React, Vue, Angular, Svelte, Solid, Next.js, Express, Deno, jQuery and more, maintained by their authors.
- [Plugins and Utils](https://www.i18next.com/overview/plugins-and-utils.md): The i18next plugin ecosystem: i18n formats, extraction tools, utilities, services, backends and backend extenders, language detectors and post processors.
- [Translation Management Systems](https://www.i18next.com/overview/translation-management-systems.md): How translation management systems integrate with i18next (saveMissing, i18next-cli, CDN delivery), compared on i18next criteria. Locize is the TMS built by the i18next maintainers.
- [For Enterprises](https://www.i18next.com/overview/for-enterprises.md): Why the library alone is not a localization process: what a product team needs for translation, review and continuous delivery, and how Locize, built by the i18next team, covers it.
- [First setup help](https://www.i18next.com/overview/first-setup-help.md): Let's try to figure out what you need.
- [TypeScript](https://www.i18next.com/overview/typescript.md): Type-safe keys with i18next: the declaration file and CustomTypeOptions, the selector API, per-package namespace types in monorepos, testing and troubleshooting.
- [Essentials](https://www.i18next.com/translation-function/essentials.md): The basics of the t function: accessing keys, default values, key separators, namespaces and returning strings from your resources.
- [Interpolation](https://www.i18next.com/translation-function/interpolation.md): Interpolate dynamic values into translations with {{value}}, escape or format them, and change the interpolation prefix and suffix.
- [Formatting](https://www.i18next.com/translation-function/formatting.md): Format numbers, currencies, dates, relative times and lists inside translations with the built-in Intl-based formatters, or add your own.
- [Plurals](https://www.i18next.com/translation-function/plurals.md): Plural forms in i18next: the \_one, \_other and other CLDR suffixes per language, ordinal plurals, interval plurals and the count option.
- [Nesting](https://www.i18next.com/translation-function/nesting.md): Reference other keys inside a translation with $t(key), pass options to nested keys, and reuse glossary terms.
- [Context](https://www.i18next.com/translation-function/context.md): Vary a translation by context, for example gender, with the context option and the \_context key suffix.
- [Objects and Arrays](https://www.i18next.com/translation-function/objects-and-arrays.md): Return whole objects or arrays from t with returnObjects, and join array values with joinArrays.
- [Best Practices](https://www.i18next.com/principles/best-practices.md): Best practices for translatable code: keep sentences whole, avoid string concatenation, use interpolation, plurals and context, and name keys semantically.
- [Translation Resolution](https://www.i18next.com/principles/translation-resolution.md): How i18next resolves a key: the order of languages, namespaces, context, plurals and fallbacks it tries before returning a value or the key itself.
- [Namespaces](https://www.i18next.com/principles/namespaces.md): Split translations into namespaces (multiple files), load them on demand, and set the default and fallback namespace.
- [Fallback](https://www.i18next.com/principles/fallback.md): Fallback behavior in i18next: fallback languages, fallback namespaces, fallback keys and default values, and what a raw key in the UI means.
- [Plugins](https://www.i18next.com/principles/plugins.md): How i18next plugins work: backends, language detectors, post processors, i18n formats and third-party modules, and how they are registered with use().
- [Add or Load Translations](https://www.i18next.com/how-to/add-or-load-translations.md): Ways to load translations into i18next: bundled resources, addResourceBundle, an HTTP or filesystem backend, or a translation management service such as Locize with CDN delivery.
- [Extracting translations](https://www.i18next.com/how-to/extracting-translations.md): How new keys get into your translation files: by hand, with the i18next-cli extractor, or at runtime with saveMissing to a backend or a translation management system.
- [Using ICU or MF2](https://www.i18next.com/how-to/using-icu-or-mf2.md): Use ICU MessageFormat (i18next-icu) or Unicode MessageFormat 2 (i18next-mf2) with i18next: what keeps working, what stops working, TypeScript, i18next-cli and next-i18next setup.
- [AI coding agents](https://www.i18next.com/how-to/ai-coding-agents.md): Set up i18next with a coding agent in one prompt, and what i18next's tooling tells agents (the skill, the agent prompt, the AGENTS.md note), word for word, and how to opt out.
- [Caching](https://www.i18next.com/how-to/caching.md): Cache translations in the browser with i18next-localstorage-backend and i18next-chained-backend, with expiration and versioning.
- [Backend Fallback](https://www.i18next.com/how-to/backend-fallback.md): Do you want to define a fallback which uses local translations?
- [FAQ](https://www.i18next.com/how-to/faq.md): Frequently asked questions: how to support the project, why translations do not show up, how to translate resource files, find missing or broken translations, and hardcoded strings.
- [JSON Format](https://www.i18next.com/misc/json-format.md): The i18next JSON formats v1 to v4: plural and context suffixes, nesting and arrays, and how to convert between versions.
- [Creating own Plugins](https://www.i18next.com/misc/creating-own-plugins.md): Write your own i18next plugin: backend, language detector, post processor, i18n format, formatter or third-party module, with the required interface for each.
- [Migration Guide](https://www.i18next.com/misc/migration-guide.md): Breaking changes and migration steps for every major i18next release, from v19 to v27.
- [The history of i18next](https://www.i18next.com/misc/the-history-of-i18next.md): How i18next started in 2011, why version 2 became framework-independent, and why the maintainers built Locize when i18n alone was not enough.
- [Testimonials](https://www.i18next.com/misc/testimonials.md): What developers and companies say about i18next, and who runs it in production.
