github i18next/next-i18next v16.4.7

36 minutes ago
  • Works with i18next 27 and react-i18next 18 - the peer ranges already allowed them; the test suite, the type checks and all seven examples now run on i18next 27 and react-i18next 18, and the examples depend on them. next-i18next itself does not change: it always sets fallbackLng, so i18next 27's new default (false instead of 'dev') does not apply, and the Pages Router works with i18next 27 as before. One i18next 27 change shows in apps: an empty translation falls back like a missing one; set returnEmptyString: true in your i18next options to keep empty strings. The i18next migration guide and the react-i18next migration guide list everything else.
  • Docs: Trans from react-i18next in Server Components - with react-i18next 18, import { Trans, IcuTrans } from 'react-i18next' works in Server Components (its react-server export condition resolves to the variants without context); with react-i18next 17, keep importing them from react-i18next/TransWithoutContext and react-i18next/IcuTransWithoutContext.

Don't miss a new next-i18next release

NewReleases is sending notifications on new releases.