jvmMain.com.vanniktech.locale.Languages.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multiplatform-locale-jvm Show documentation
Show all versions of multiplatform-locale-jvm Show documentation
Type Safe Kotlin Multiplatform Locale implementation
The newest version!
package com.vanniktech.locale
import java.util.Locale
@Suppress("EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING")
actual object Languages {
actual fun currentLanguageCode(): String = Locale.getDefault().language
}