Docsv2.12.12
Back to API Reference
Class

LanguageMatching

static

BCP 47 language tag matching: shorter tag matches longer tag sharing the same prefix (e.g. zh ↔ zh-Hans).

public static bool Matches()

True if the two BCP 47 tags are equal or one is a prefix of the other.