Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The core framework that is required for any additional library (such as react-18next , or next-i18next, etc.). I18next handles…

i18next handles

  • splitting translations into multiple namespace files

  • Options what to load and how to fallback depending on language.

  • Support support for objects and arrays

  • Full control over management of the translations stored.

  • Rich system of events to react on changes important to your application.

  • Freedom of i18n formats - prefer ICU? Just use i18next-icu plugin.

react-i18next

An internationalisation framework which is based on i18next. It is used together with i18next to provide:

  • useTranslation hook

  • <Trans> component (to integrate html and react nodes within translation strings, such as for links and formatting)

next-i18next

next-i18next is used on top of i18next and react-i18next.

  • It uses features from both frameworks.

  • Features such as the useTranslation hook come from react-i18next, but need to be imported from next-i18next.

Next-i18next adds functionality to support SSG/SSR.

...