Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

next-multilingual

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-multilingual - npm Package Versions

1
16

1.4.0

Diff

Changelog

Source

1.4.0 (2022-08-14)

Bug Fixes

  • missing argument while deleting the locale cookie (344adf5)

Features

  • add new argument to useActualLocale to simplify integration and a new resolveLocale API (93b1c8e)
nbouvrette
published 1.3.0 •

Changelog

Source

1.3.0 (2022-08-14)

Features

  • 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)

Performance Improvements

  • optimize useRouter with a useMemo (fde5af0)
  • fix locales must be configured in Next.js error being thrown during other unrelated Internal Server Errors. (99d10b4)
nbouvrette
published 1.2.1 •

Changelog

Source

1.2.1 (2022-08-12)

Features

  • support directories for 404 and 500 error pages (1564860)
nbouvrette
published 1.2.0 •

Changelog

Source

1.2.0 (2022-08-12)

Code Refactoring

  • add eslint-plugin-unicorn to help increase code quality (3f109e4)

Features

  • support export from syntax for shared messages (d78a846)

BREAKING CHANGES

  • Using the node: scheme to better identify Node.js modules requires advanced config users to extend the new webpackConfigurationHandler (see README for details)
nbouvrette
published 1.1.2 •

Changelog

Source

1.1.2 (2022-08-01)

Bug Fixes

  • fix ESLint exports import resolver issue (61048e3)
  • fix ESLint issues (5056cb9)
  • remove non-standard Apple character (8cfd32a)
nbouvrette
published 1.1.1 •

Changelog

Source

1.1.1 (2022-07-25)

nbouvrette
published 1.1.0 •

Changelog

Source

1.1.0 (2022-07-25)

Code Refactoring

  • use the new messages-modules package to generate the Babel plugin (127caad)

BREAKING CHANGES

  • namespace imports (import * as messages from 'next-multilingual/messages') of useMessages and getMessages are no longer be supported
nbouvrette
published 1.0.7 •

Changelog

Source

1.0.7 (2022-07-23)

nbouvrette
published 1.0.6 •

Changelog

Source

1.0.6 (2022-07-17)

nbouvrette
published 1.0.5 •

Changelog

Source

1.0.5 (2022-07-11)

Features

  • add new exists method on messages (b16babc)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc