titleForLanguage

Get the title for a specific language tag, falling back to the default title if not available.


fun titleForLanguage(languageTag: String): String?

Get the title for a specific language tag, falling back to the default title if not available.

The language tag should be an IETF Language Tag string, compliant with BCP 47, defined in RFC 5646 ("Tags for Identifying Languages").