next-multilingual
Advanced tools
Changelog
1.3.0 (2022-08-14)
add new hooks and APIs to simplify integration (details in README):
useActualLocale
: used in _app
for smart locale detection. (99d10b4)useResolvedLocale
: used in the homepage for smart locale detection. (abadb36)getHtmlLang
: used in _document
to get the html
tag lang
attribute value (99d10b4)useRouter
: wrapper on top of Next.js' to avoid undefined
types on locale properties (they are never undefined
with next-multilingual
) (99d10b4)Changelog
1.2.0 (2022-08-12)
eslint-plugin-unicorn
to help increase code quality (3f109e4)export from
syntax for shared messages (d78a846)node:
scheme to better identify Node.js modules requires advanced config users to extend the new webpackConfigurationHandler
(see README for details)