Skip to content
JS
Package

@lingui/detect-locale

Detects the user's locale from the URL, a cookie, storage, the browser settings or the HTML lang attribute

v6.8.0, 23 Sept 2026MITESM onlyTypes: NoneInternationalisation
$ npm install @lingui/detect-locale

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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@lingui/detect-locale@6.8.0/
  • unpkghttps://unpkg.com/@lingui/detect-locale@6.8.0/
  • esm.shhttps://esm.sh/@lingui/detect-locale@6.8.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@generaltranslation/react-core110.1k-todayESM + CommonJS-
gt-react106.9k-todayESM + CommonJS-
@generaltranslation/icu90k-1 month agoESM + CommonJS-
@generaltranslation/format134.2k-8 days agoESM + CommonJS-
gt112.4k-todayESM only-
@tolgee/core101.9k-15 days agoESM + CommonJS-
gt-next70.9k-todayESM + CommonJS-
@tolgee/format-icu64.5k-15 days agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.