of

fun of(languageTag: String): LineLoginButtonLabel

The caption for languageTag, falling back to Default.

Accepts anything a platform locale produces — ko, ko-KR, zh-Hant-TW, pt_BR — and resolves the two languages whose caption depends on the region: Portuguese splits into Brazilian and European, and Chinese into Simplified and Traditional.