@Lingui package to help you find the correct browser/server locale
npm install @lingui/detect-locale[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]
> Detect the user's locale based on different strategies
@lingui/detect-locale is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.
See the [reference][reference] documentation.
This package is licensed under [MIT][license] license.
[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[reference]: https://lingui.dev/ref/locale-detector
[package]: https://www.npmjs.com/package/@lingui/detect-locale
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/detect-locale.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/detect-locale.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/detect-locale.svg