LanguageUtils

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Using a hardcoded list, maps language tags to their localized language names (e.g.: "en" -> "English")

Link copied to clipboard
fun setAppLocale(languageTag: String)

Sets the application locale using AppCompatDelegate. Note: This is the modern standard for per-app language support, providing a backport for API levels below 33.