We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9cf14b6 + 576115d commit 391f268Copy full SHA for 391f268
components/language-chooser/common/find-language/searchForLanguage.ts
@@ -20,6 +20,10 @@ const exactMatchPrioritizableFuseSearchKeys = [
20
{ name: "exonym", weight: 100 },
21
{ name: "languageSubtag", weight: 80 },
22
{ name: "names", weight: 8 },
23
+
24
+ // These are currently not displayed on the card, but we still want corresponding results to come up if people search for them
25
+ { name: "iso639_3_code", weight: 70 },
26
+ { name: "alternativeTags", weight: 70 },
27
];
28
// We will bring results that exactly whole-word match or prefix-match to the top of the list
29
// but don't want to do this for region names
0 commit comments