Skip to content

Commit

Permalink
Merge pull request #613 from illfygli/main
Browse files Browse the repository at this point in the history
Filter out languages that aren't RFC5646-shaped
  • Loading branch information
cheeaun authored Aug 6, 2024
2 parents 60289cd + 225eaf4 commit 082409a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/localeCode2Text.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import mem from './mem';

const IntlDN = new Intl.DisplayNames(navigator.languages, {
const IntlDN = new Intl.DisplayNames(undefined, {
type: 'language',
});

Expand Down

0 comments on commit 082409a

Please sign in to comment.