Skip to content

Commit b70b7b8

Browse files
authored
Merge pull request #4 from KosyanMedia/impr-matcher
chore(no-task): Matcher improvement
2 parents 8ecdf10 + dc6abf8 commit b70b7b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

i18n/bundle.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func (b *Bundle) addTag(tag language.Tag) {
126126
}
127127
}
128128
b.tags = append(b.tags, tag)
129-
b.matcher = language.NewMatcher(b.tags)
129+
b.matcher = language.NewMatcher(b.tags, language.PreferSameScript(false))
130130
}
131131

132132
// LanguageTags returns the list of language tags

0 commit comments

Comments
 (0)