Skip to content

LocalTextLanguages.IsSameLanguage method

Gets whether two languages are the same as far as the texts are concerned, e.g. "en" and "en-US": a language is the same as a regional one of it.

public static bool IsSameLanguage(string? languageID, string? otherID)
parameter description
languageID A language ID.
otherID Another language ID.

See Also