-
jun authored
Converts a language code to hyphen-separated format in accordance to the BCP47 syntax appropriate for the HTML lang attribute. See https://datatracker.ietf.org/doc/html/rfc5646#section-2.1 https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang
92e08046