Languagetags-sharp is a library to validate xml:lang tags commonly found in xml and html documents. Language tags are validated according to BCP 47 and RFC 5646. It is written in C# for the .NET framework.
This library uses the following standards when validating the language tags.
- RFC 5646
- ISO 639-1
- ISO 639-2
- ISO 639-3
- ISO 639-5 for language families
- ISO 15924
- ISO 3166-1 or UN M.49 (regions)
- ISO 15924 (script subtags)