LanguageConverter

Provides utilities to convert language from one format to another.

Functions

Link copied to clipboard
fun bcp47LanguageTag(languageCode: String, countryCode: String): String?

Provides BCP 47 formatted language tag based on languageCode and countryCode. Example: "en-US".