Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

i18next

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

  • splitting translations into multiple files

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

  • 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

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.

Why next-i18next?

  • Easy to implement

  • No labels