npm next-i18next 16.4.10
v16.4.10

40 minutes ago
  • Pages Router: a namespace passed as a string to serverSideTranslations is used - the types accept serverSideTranslations(locale, 'common'), but only an array counted as the namespaces to load. A string was treated like no argument: with a folder localePath (the default public/locales) the page got every namespace in the locale folder instead of the one it asked for, and with a function localePath it threw Must provide namespacesRequired. A string now means that one namespace. Pages that pass a string and use other namespaces too should list them in an array. Thanks @pcbeingused333 (#2356)

Don't miss a new next-i18next release

NewReleases is sending notifications on new releases.