Language

value class Language(val tag: String)

An IETF Language Tag string, compliant with BCP 47, defined in RFC 5646 ("Tags for Identifying Languages"). This is the same standard used to identify languages in HTTP, HTML, and other web standards. The Lexicon string must validate as a "well-formed" language tag, as defined in the RFC. Clients should ignore language strings which are "well-formed" but not "valid" according to the RFC.

Constructors

Link copied to clipboard
constructor(tag: String)

Properties

Link copied to clipboard
val tag: String

Functions

Link copied to clipboard
open override fun toString(): String