Package
@lingui/detect-locale
Detects the user's locale from the URL, a cookie, storage, the browser settings or the HTML lang attribute
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 117.3k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 day ago
- v6.8.0
- GitHub stars
- 5.9k
- 459 forks
- Open issues / PRs
- 46 / 19
- Contributors
- -
- Commits, last 52 weeks
- 186
No weekly download data in the snapshot.
117,289 downloads last week, 614,407 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 6.8.0, 23 Sept 20261 day ago
- First published
- -
- Last push to GitHub
- 24 Sept 2026same day as the snapshot
- Repository archived
- No
- Open issues
- 46
- Open pull requests
- 19
- Commits, last 52 weeks
- 186
- Dependents on npm
- 12
Major versions
-
Recent releases
-
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=22.19.0
- Runtimes
- -
- Unpacked size (npm)
- 7.8 kB
- Dependencies (0)
- None
npm install @lingui/detect-locale- jsDelivr
https://cdn.jsdelivr.net/npm/@lingui/detect-locale@6.8.0/ - unpkg
https://unpkg.com/@lingui/detect-locale@6.8.0/ - esm.sh
https://esm.sh/@lingui/detect-locale@6.8.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @generaltranslation/react-core | 110.1k | - | today | ESM + CommonJS | - |
| gt-react | 106.9k | - | today | ESM + CommonJS | - |
| @generaltranslation/icu | 90k | - | 1 month ago | ESM + CommonJS | - |
| @generaltranslation/format | 134.2k | - | 8 days ago | ESM + CommonJS | - |
| gt | 112.4k | - | today | ESM only | - |
| @tolgee/core | 101.9k | - | 15 days ago | ESM + CommonJS | - |
| gt-next | 70.9k | - | today | ESM + CommonJS | - |
| @tolgee/format-icu | 64.5k | - | 15 days ago | ESM + CommonJS | - |
Indexability: Indexed.