diff --git a/CHANGELOG.md b/CHANGELOG.md index a692feb380a..272cdf894ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 0.20.23 + +* `Versions`: + * `Koin`: `3.5.0` -> `3.5.3` + * `Okio`: `3.6.0` -> `3.7.0` +* `LanguageCodes`: + * Fixes in intermediate language codes (like `Chinese.Hans`) + * Rename `IetfLanguageCode` to `IetfLang` + * Rename all subsequent functions (including serializer) + * New lazy properties `knownLanguageCodesMap`, `knownLanguageCodesMapByLowerCasedKeys` and several others + ## 0.20.22 * `Common`: diff --git a/gradle.properties b/gradle.properties index d456fb7eac5..be84a3890cf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,5 +15,5 @@ crypto_js_version=4.1.1 # Project data group=dev.inmo -version=0.20.22 -android_code_version=228 +version=0.20.23 +android_code_version=229 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index cc51a4a7db2..eadff0f3862 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -17,9 +17,9 @@ ktor = "2.3.7" gh-release = "2.4.1" -koin = "3.5.0" +koin = "3.5.3" -okio = "3.6.0" +okio = "3.7.0" ksp = "1.9.21-1.0.16" kotlin-poet = "1.15.3" diff --git a/language_codes/generator/src/androidMain/kotlin/Main.kt b/language_codes/generator/src/main/kotlin/Main.kt similarity index 56% rename from language_codes/generator/src/androidMain/kotlin/Main.kt rename to language_codes/generator/src/main/kotlin/Main.kt index 8e32140a21e..061577e6fd2 100644 --- a/language_codes/generator/src/androidMain/kotlin/Main.kt +++ b/language_codes/generator/src/main/kotlin/Main.kt @@ -12,9 +12,12 @@ private val json = Json { ignoreUnknownKeys = true } -private const val baseClassName = "IetfLanguageCode" +private const val baseClassName = "IetfLang" +private const val oldBaseClassName = "IetfLanguageCode" private const val unknownBaseClassName = "Unknown$baseClassName" -private const val baseClassSerializerName = "IetfLanguageCodeSerializer" +private const val oldUnknownBaseClassName = "Unknown$oldBaseClassName" +private const val baseClassSerializerName = "${baseClassName}Serializer" +private const val oldBaseClassSerializerName = "IetfLanguageCodeSerializer" private const val baseClassSerializerAnnotationName = "@Serializable(${baseClassSerializerName}::class)" @Serializable @@ -78,14 +81,12 @@ private fun printLanguageCodeAndTags( indents: String = " " ): String = if (tag.subtags.isEmpty()) { """${indents}${baseClassSerializerAnnotationName} -${indents}object ${tag.title} : ${parent ?.title ?: baseClassName}() { override val code: String = "${tag.tag}"; override val withoutDialect: String get() = ${parent ?.title ?.let { "$it.code" } ?: "code"} }""" +${indents}object ${tag.title} : ${parent ?.title ?: baseClassName}() { override val code: String = "${tag.tag}"${parent ?.let { parent -> "; override val parentLang: ${parent.title} get() = ${parent.title};" } ?: ""} }""" } else { """ ${indents}${baseClassSerializerAnnotationName} ${indents}sealed class ${tag.title} : ${parent ?.title ?: baseClassName}() { -${indents} override val code: String = "${tag.tag}" -${indents} override val withoutDialect: String -${indents} get() = code +${indents} override val code: String = "${tag.tag}"${parent ?.let { parent -> "\n${indents} override val parentLang: ${parent.title} get() = ${parent.title};" } ?: ""} ${tag.subtags.joinToString("\n") { printLanguageCodeAndTags(it, tag, "${indents} ") }} @@ -95,7 +96,7 @@ ${indents}} """ } -fun buildKtFileContent(tags: List): String = """ +fun buildKtFileContent(tags: List, prePackage: String): String = """ import kotlinx.serialization.Serializable /** @@ -106,20 +107,27 @@ import kotlinx.serialization.Serializable ${baseClassSerializerAnnotationName} sealed class $baseClassName { abstract val code: String - abstract val withoutDialect: String + open val parentLang: $baseClassName? + get() = null + open val withoutDialect: String + get() = parentLang ?.code ?: code ${tags.joinToString("\n") { printLanguageCodeAndTags(it, indents = " ") } } $baseClassSerializerAnnotationName data class $unknownBaseClassName (override val code: String) : $baseClassName() { - override val withoutDialect: String = code.takeWhile { it != '-' } + override val parentLang = code.dropLastWhile { it != '-' }.removeSuffix("-").takeIf { it.length > 0 } ?.let(::$unknownBaseClassName) } + @Deprecated("Renamed", ReplaceWith("$baseClassName.$unknownBaseClassName", "${if (prePackage.isNotEmpty()) "$prePackage." else ""}$baseClassName.$unknownBaseClassName")) + val $oldUnknownBaseClassName = $unknownBaseClassName override fun toString() = code } +@Deprecated("Renamed", ReplaceWith("$baseClassName", "${if (prePackage.isNotEmpty()) "$prePackage." else ""}$baseClassName")) +typealias $oldBaseClassName = $baseClassName """.trimIndent() -fun createStringConverterCode(tags: List): String { +fun createStringConverterCode(tags: List, prePackage: String): String { fun createDeserializeVariantForTag( tag: Tag, pretitle: String = baseClassName, @@ -128,19 +136,70 @@ fun createStringConverterCode(tags: List): String { val currentTitle = "$pretitle.${tag.title}" return """${indents}$currentTitle.code -> $currentTitle${if (tag.subtags.isNotEmpty()) tag.subtags.joinToString("\n", "\n") { createDeserializeVariantForTag(it, currentTitle, indents) } else ""}""" } - - return """fun String.as$baseClassName(): $baseClassName { - return when (this) { -${tags.joinToString("\n") { createDeserializeVariantForTag(it) }} - else -> $baseClassName.${unknownBaseClassName}(this) + fun createInheritorVariantForTag( + tag: Tag, + pretitle: String = baseClassName, + indents: String = " " + ): String { + val currentTitle = "$pretitle.${tag.title}" + val subtags = if (tag.subtags.isNotEmpty()) { + tag.subtags.joinToString(",\n", ",\n") { createInheritorVariantForTag(it, currentTitle, "$indents ") } + } else { + "" + } + return "${indents}$currentTitle$subtags" } + fun createInheritorVariantForMapForTag( + tag: Tag, + pretitle: String = baseClassName, + indents: String = " ", + codeSuffix: String = "" + ): String { + val currentTitle = "$pretitle.${tag.title}" + val subtags = if (tag.subtags.isNotEmpty()) { + tag.subtags.joinToString(",\n", ",\n") { createInheritorVariantForMapForTag(it, currentTitle, "$indents ", codeSuffix) } + } else { + "" + } + return "${indents}$currentTitle.code${codeSuffix} to $currentTitle$subtags" + } + + return """val knownLanguageCodesMap: Map by lazy { + mapOf( +${tags.joinToString(",\n") { createInheritorVariantForMapForTag(it, indents = " ") }} + ) } +val knownLanguageCodesMapByLowerCasedKeys: Map by lazy { + mapOf( +${tags.joinToString(",\n") { createInheritorVariantForMapForTag(it, indents = " ", codeSuffix = ".lowercase()") }} + ) +} +val knownLanguageCodes: List<$baseClassName> by lazy { + knownLanguageCodesMap.values.toList() +} + +fun String.as$baseClassName(): $baseClassName { + return knownLanguageCodesMap[this] ?: $baseClassName.${unknownBaseClassName}(this) +} +fun String.as${baseClassName}CaseInsensitive(): $baseClassName { + return knownLanguageCodesMapByLowerCasedKeys[this.lowercase()] ?: $baseClassName.${unknownBaseClassName}(this) +} +@Deprecated("Renamed", ReplaceWith("this.as$baseClassName()", "${if (prePackage.isNotEmpty()) "$prePackage." else ""}as$baseClassName")) +fun String.as$oldBaseClassName(): $baseClassName = as$baseClassName() + fun convertTo$baseClassName(code: String) = code.as$baseClassName() +fun convertTo${baseClassName}CaseInsensitive(code: String) = code.as${baseClassName}CaseInsensitive() +@Deprecated("Renamed", ReplaceWith("convertTo$baseClassName(code)", "${if (prePackage.isNotEmpty()) "$prePackage." else ""}convertTo$baseClassName")) +fun convertTo$oldBaseClassName(code: String) = convertTo$baseClassName(code) + fun $baseClassName(code: String) = code.as$baseClassName() +fun ${baseClassName}CaseInsensitive(code: String) = code.as${baseClassName}CaseInsensitive() +@Deprecated("Renamed", ReplaceWith("$baseClassName(code)", "${if (prePackage.isNotEmpty()) "$prePackage." else ""}$baseClassName")) +fun $oldBaseClassName(code: String) = $baseClassName(code) """ } -fun createSerializerCode(tags: List): String { +fun createSerializerCode(tags: List, prePackage: String): String { return """import kotlinx.serialization.KSerializer import kotlinx.serialization.builtins.serializer import kotlinx.serialization.encoding.Decoder @@ -153,16 +212,20 @@ object $baseClassSerializerName : KSerializer<$baseClassName> { return $baseClassName(decoder.decodeString()) } - override fun serialize(encoder: Encoder, value: IetfLanguageCode) { + override fun serialize(encoder: Encoder, value: $baseClassName) { encoder.encodeString(value.code) } } +@Deprecated("Renamed", ReplaceWith("$baseClassSerializerName", "${if (prePackage.isNotEmpty()) "$prePackage." else ""}$baseClassSerializerName")) +typealias $oldBaseClassSerializerName = $baseClassSerializerName """ } suspend fun main(vararg args: String) { val outputFolder = args.firstOrNull() ?.let { File(it) } outputFolder ?.mkdirs() + val targetPackage = args.getOrNull(1) + val targetPackagePrefix = targetPackage ?.let { "package $it\n\n" } ?: "" val ietfLanguageCodesLink = "https://datahub.io/core/language-codes/r/language-codes.json" val ietfLanguageCodesAdditionalTagsLink = "https://datahub.io/core/language-codes/r/ietf-language-tags.json" @@ -203,18 +266,18 @@ suspend fun main(vararg args: String) { File(outputFolder, "LanguageCodes.kt").apply { delete() createNewFile() - writeText(buildKtFileContent(tags)) + writeText(targetPackagePrefix + buildKtFileContent(tags, targetPackage ?: "")) } File(outputFolder, "StringToLanguageCodes.kt").apply { delete() createNewFile() - writeText(createStringConverterCode(tags)) + writeText(targetPackagePrefix + createStringConverterCode(tags, targetPackage ?: "")) } File(outputFolder, "$baseClassSerializerName.kt").apply { delete() createNewFile() - writeText(createSerializerCode(tags)) + writeText(targetPackagePrefix + createSerializerCode(tags, targetPackage ?: "")) } } diff --git a/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/IetfLangSerializer.kt b/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/IetfLangSerializer.kt new file mode 100644 index 00000000000..c83e8c638f4 --- /dev/null +++ b/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/IetfLangSerializer.kt @@ -0,0 +1,20 @@ +package dev.inmo.micro_utils.language_codes + +import kotlinx.serialization.KSerializer +import kotlinx.serialization.builtins.serializer +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder + +object IetfLangSerializer : KSerializer { + override val descriptor = String.serializer().descriptor + + override fun deserialize(decoder: Decoder): IetfLang { + return IetfLang(decoder.decodeString()) + } + + override fun serialize(encoder: Encoder, value: IetfLang) { + encoder.encodeString(value.code) + } +} +@Deprecated("Renamed", ReplaceWith("IetfLangSerializer", "dev.inmo.micro_utils.language_codes.IetfLangSerializer")) +typealias IetfLanguageCodeSerializer = IetfLangSerializer diff --git a/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/IetfLanguageCodeSerializer.kt b/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/IetfLanguageCodeSerializer.kt deleted file mode 100644 index 8f6558cd911..00000000000 --- a/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/IetfLanguageCodeSerializer.kt +++ /dev/null @@ -1,18 +0,0 @@ -package dev.inmo.micro_utils.language_codes - -import kotlinx.serialization.KSerializer -import kotlinx.serialization.builtins.serializer -import kotlinx.serialization.encoding.Decoder -import kotlinx.serialization.encoding.Encoder - -object IetfLanguageCodeSerializer : KSerializer { - override val descriptor = String.serializer().descriptor - - override fun deserialize(decoder: Decoder): IetfLanguageCode { - return IetfLanguageCode(decoder.decodeString()) - } - - override fun serialize(encoder: Encoder, value: IetfLanguageCode) { - encoder.encodeString(value.code) - } -} diff --git a/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/LanguageCodes.kt b/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/LanguageCodes.kt index 03f6d617e9b..bff6adc83f9 100644 --- a/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/LanguageCodes.kt +++ b/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/LanguageCodes.kt @@ -1,5 +1,3 @@ -@file:Suppress("SERIALIZER_TYPE_INCOMPATIBLE") - package dev.inmo.micro_utils.language_codes import kotlinx.serialization.Serializable @@ -9,2870 +7,2592 @@ import kotlinx.serialization.Serializable * https://github.com/InsanusMokrassar/MicroUtils/tree/master/language_codes/generator . This generator uses * https://datahub.io/core/language-codes/ files (base and tags) and create the whole hierarchy using it. */ -@Serializable(IetfLanguageCodeSerializer::class) -sealed class IetfLanguageCode { +@Serializable(IetfLangSerializer::class) +sealed class IetfLang { abstract val code: String - abstract val withoutDialect: String + open val parentLang: IetfLang? + get() = null + open val withoutDialect: String + get() = parentLang ?.code ?: code - @Serializable(IetfLanguageCodeSerializer::class) - object Afar : IetfLanguageCode() { override val code: String = "aa"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object Abkhazian : IetfLanguageCode() { override val code: String = "ab"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object Avestan : IetfLanguageCode() { override val code: String = "ae"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Afar : IetfLang() { override val code: String = "aa" } + @Serializable(IetfLangSerializer::class) + object Abkhazian : IetfLang() { override val code: String = "ab" } + @Serializable(IetfLangSerializer::class) + object Avestan : IetfLang() { override val code: String = "ae" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Afrikaans : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Afrikaans : IetfLang() { override val code: String = "af" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object NA : Afrikaans() { override val code: String = "af-NA"; override val withoutDialect: String get() = Afrikaans.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ZA : Afrikaans() { override val code: String = "af-ZA"; override val withoutDialect: String get() = Afrikaans.code } + @Serializable(IetfLangSerializer::class) + object NA : Afrikaans() { override val code: String = "af-NA"; override val parentLang: Afrikaans get() = Afrikaans; } + @Serializable(IetfLangSerializer::class) + object ZA : Afrikaans() { override val code: String = "af-ZA"; override val parentLang: Afrikaans get() = Afrikaans; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Afrikaans() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Akan : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Akan : IetfLang() { override val code: String = "ak" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object GH : Akan() { override val code: String = "ak-GH"; override val withoutDialect: String get() = Akan.code } + @Serializable(IetfLangSerializer::class) + object GH : Akan() { override val code: String = "ak-GH"; override val parentLang: Akan get() = Akan; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Akan() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Amharic : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Amharic : IetfLang() { override val code: String = "am" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object ET : Amharic() { override val code: String = "am-ET"; override val withoutDialect: String get() = Amharic.code } + @Serializable(IetfLangSerializer::class) + object ET : Amharic() { override val code: String = "am-ET"; override val parentLang: Amharic get() = Amharic; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Amharic() } - @Serializable(IetfLanguageCodeSerializer::class) - object Aragonese : IetfLanguageCode() { override val code: String = "an"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Aragonese : IetfLang() { override val code: String = "an" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Arabic : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Arabic : IetfLang() { override val code: String = "ar" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object L001 : Arabic() { override val code: String = "ar-001"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object AE : Arabic() { override val code: String = "ar-AE"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BH : Arabic() { override val code: String = "ar-BH"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object DJ : Arabic() { override val code: String = "ar-DJ"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object DZ : Arabic() { override val code: String = "ar-DZ"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object EG : Arabic() { override val code: String = "ar-EG"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object EH : Arabic() { override val code: String = "ar-EH"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ER : Arabic() { override val code: String = "ar-ER"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IL : Arabic() { override val code: String = "ar-IL"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IQ : Arabic() { override val code: String = "ar-IQ"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object JO : Arabic() { override val code: String = "ar-JO"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object KM : Arabic() { override val code: String = "ar-KM"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object KW : Arabic() { override val code: String = "ar-KW"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object LB : Arabic() { override val code: String = "ar-LB"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object LY : Arabic() { override val code: String = "ar-LY"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MA : Arabic() { override val code: String = "ar-MA"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MR : Arabic() { override val code: String = "ar-MR"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object OM : Arabic() { override val code: String = "ar-OM"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PS : Arabic() { override val code: String = "ar-PS"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object QA : Arabic() { override val code: String = "ar-QA"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SA : Arabic() { override val code: String = "ar-SA"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SD : Arabic() { override val code: String = "ar-SD"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SO : Arabic() { override val code: String = "ar-SO"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SS : Arabic() { override val code: String = "ar-SS"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SY : Arabic() { override val code: String = "ar-SY"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TD : Arabic() { override val code: String = "ar-TD"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TN : Arabic() { override val code: String = "ar-TN"; override val withoutDialect: String get() = Arabic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object YE : Arabic() { override val code: String = "ar-YE"; override val withoutDialect: String get() = Arabic.code } + @Serializable(IetfLangSerializer::class) + object L001 : Arabic() { override val code: String = "ar-001"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object AE : Arabic() { override val code: String = "ar-AE"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object BH : Arabic() { override val code: String = "ar-BH"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object DJ : Arabic() { override val code: String = "ar-DJ"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object DZ : Arabic() { override val code: String = "ar-DZ"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object EG : Arabic() { override val code: String = "ar-EG"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object EH : Arabic() { override val code: String = "ar-EH"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object ER : Arabic() { override val code: String = "ar-ER"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object IL : Arabic() { override val code: String = "ar-IL"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object IQ : Arabic() { override val code: String = "ar-IQ"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object JO : Arabic() { override val code: String = "ar-JO"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object KM : Arabic() { override val code: String = "ar-KM"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object KW : Arabic() { override val code: String = "ar-KW"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object LB : Arabic() { override val code: String = "ar-LB"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object LY : Arabic() { override val code: String = "ar-LY"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object MA : Arabic() { override val code: String = "ar-MA"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object MR : Arabic() { override val code: String = "ar-MR"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object OM : Arabic() { override val code: String = "ar-OM"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object PS : Arabic() { override val code: String = "ar-PS"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object QA : Arabic() { override val code: String = "ar-QA"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object SA : Arabic() { override val code: String = "ar-SA"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object SD : Arabic() { override val code: String = "ar-SD"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object SO : Arabic() { override val code: String = "ar-SO"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object SS : Arabic() { override val code: String = "ar-SS"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object SY : Arabic() { override val code: String = "ar-SY"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object TD : Arabic() { override val code: String = "ar-TD"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object TN : Arabic() { override val code: String = "ar-TN"; override val parentLang: Arabic get() = Arabic; } + @Serializable(IetfLangSerializer::class) + object YE : Arabic() { override val code: String = "ar-YE"; override val parentLang: Arabic get() = Arabic; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Arabic() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Assamese : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Assamese : IetfLang() { override val code: String = "as" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Assamese() { override val code: String = "as-IN"; override val withoutDialect: String get() = Assamese.code } + @Serializable(IetfLangSerializer::class) + object IN : Assamese() { override val code: String = "as-IN"; override val parentLang: Assamese get() = Assamese; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Assamese() } - @Serializable(IetfLanguageCodeSerializer::class) - object Avaric : IetfLanguageCode() { override val code: String = "av"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object Aymara : IetfLanguageCode() { override val code: String = "ay"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Avaric : IetfLang() { override val code: String = "av" } + @Serializable(IetfLangSerializer::class) + object Aymara : IetfLang() { override val code: String = "ay" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Azerbaijani : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Azerbaijani : IetfLang() { override val code: String = "az" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Cyrl : Azerbaijani() { override val code: String = "az-Cyrl" - override val withoutDialect: String - get() = code + override val parentLang: Azerbaijani get() = Azerbaijani; - @Serializable(IetfLanguageCodeSerializer::class) - object AZ : Cyrl() { override val code: String = "az-Cyrl-AZ"; override val withoutDialect: String get() = Cyrl.code } + @Serializable(IetfLangSerializer::class) + object AZ : Cyrl() { override val code: String = "az-Cyrl-AZ"; override val parentLang: Cyrl get() = Cyrl; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Cyrl() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Latn : Azerbaijani() { override val code: String = "az-Latn" - override val withoutDialect: String - get() = code + override val parentLang: Azerbaijani get() = Azerbaijani; - @Serializable(IetfLanguageCodeSerializer::class) - object AZ : Latn() { override val code: String = "az-Latn-AZ"; override val withoutDialect: String get() = Latn.code } + @Serializable(IetfLangSerializer::class) + object AZ : Latn() { override val code: String = "az-Latn-AZ"; override val parentLang: Latn get() = Latn; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Latn() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Azerbaijani() } - @Serializable(IetfLanguageCodeSerializer::class) - object Bashkir : IetfLanguageCode() { override val code: String = "ba"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Bashkir : IetfLang() { override val code: String = "ba" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Belarusian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Belarusian : IetfLang() { override val code: String = "be" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object BY : Belarusian() { override val code: String = "be-BY"; override val withoutDialect: String get() = Belarusian.code } + @Serializable(IetfLangSerializer::class) + object BY : Belarusian() { override val code: String = "be-BY"; override val parentLang: Belarusian get() = Belarusian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Belarusian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Bulgarian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Bulgarian : IetfLang() { override val code: String = "bg" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object BG : Bulgarian() { override val code: String = "bg-BG"; override val withoutDialect: String get() = Bulgarian.code } + @Serializable(IetfLangSerializer::class) + object BG : Bulgarian() { override val code: String = "bg-BG"; override val parentLang: Bulgarian get() = Bulgarian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Bulgarian() } - @Serializable(IetfLanguageCodeSerializer::class) - object BihariLanguages : IetfLanguageCode() { override val code: String = "bh"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object Bislama : IetfLanguageCode() { override val code: String = "bi"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object BihariLanguages : IetfLang() { override val code: String = "bh" } + @Serializable(IetfLangSerializer::class) + object Bislama : IetfLang() { override val code: String = "bi" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Bambara : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Bambara : IetfLang() { override val code: String = "bm" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object ML : Bambara() { override val code: String = "bm-ML"; override val withoutDialect: String get() = Bambara.code } + @Serializable(IetfLangSerializer::class) + object ML : Bambara() { override val code: String = "bm-ML"; override val parentLang: Bambara get() = Bambara; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Bambara() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Bengali : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Bengali : IetfLang() { override val code: String = "bn" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object BD : Bengali() { override val code: String = "bn-BD"; override val withoutDialect: String get() = Bengali.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Bengali() { override val code: String = "bn-IN"; override val withoutDialect: String get() = Bengali.code } + @Serializable(IetfLangSerializer::class) + object BD : Bengali() { override val code: String = "bn-BD"; override val parentLang: Bengali get() = Bengali; } + @Serializable(IetfLangSerializer::class) + object IN : Bengali() { override val code: String = "bn-IN"; override val parentLang: Bengali get() = Bengali; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Bengali() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Tibetan : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Tibetan : IetfLang() { override val code: String = "bo" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object CN : Tibetan() { override val code: String = "bo-CN"; override val withoutDialect: String get() = Tibetan.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Tibetan() { override val code: String = "bo-IN"; override val withoutDialect: String get() = Tibetan.code } + @Serializable(IetfLangSerializer::class) + object CN : Tibetan() { override val code: String = "bo-CN"; override val parentLang: Tibetan get() = Tibetan; } + @Serializable(IetfLangSerializer::class) + object IN : Tibetan() { override val code: String = "bo-IN"; override val parentLang: Tibetan get() = Tibetan; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Tibetan() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Breton : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Breton : IetfLang() { override val code: String = "br" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object FR : Breton() { override val code: String = "br-FR"; override val withoutDialect: String get() = Breton.code } + @Serializable(IetfLangSerializer::class) + object FR : Breton() { override val code: String = "br-FR"; override val parentLang: Breton get() = Breton; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Breton() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Bosnian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Bosnian : IetfLang() { override val code: String = "bs" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Cyrl : Bosnian() { override val code: String = "bs-Cyrl" - override val withoutDialect: String - get() = code + override val parentLang: Bosnian get() = Bosnian; - @Serializable(IetfLanguageCodeSerializer::class) - object BA : Cyrl() { override val code: String = "bs-Cyrl-BA"; override val withoutDialect: String get() = Cyrl.code } + @Serializable(IetfLangSerializer::class) + object BA : Cyrl() { override val code: String = "bs-Cyrl-BA"; override val parentLang: Cyrl get() = Cyrl; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Cyrl() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Latn : Bosnian() { override val code: String = "bs-Latn" - override val withoutDialect: String - get() = code + override val parentLang: Bosnian get() = Bosnian; - @Serializable(IetfLanguageCodeSerializer::class) - object BA : Latn() { override val code: String = "bs-Latn-BA"; override val withoutDialect: String get() = Latn.code } + @Serializable(IetfLangSerializer::class) + object BA : Latn() { override val code: String = "bs-Latn-BA"; override val parentLang: Latn get() = Latn; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Latn() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Bosnian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class CatalanValencian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class CatalanValencian : IetfLang() { override val code: String = "ca" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object AD : CatalanValencian() { override val code: String = "ca-AD"; override val withoutDialect: String get() = CatalanValencian.code } + @Serializable(IetfLangSerializer::class) + object AD : CatalanValencian() { override val code: String = "ca-AD"; override val parentLang: CatalanValencian get() = CatalanValencian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class ES : CatalanValencian() { override val code: String = "ca-ES" - override val withoutDialect: String - get() = code + override val parentLang: CatalanValencian get() = CatalanValencian; - @Serializable(IetfLanguageCodeSerializer::class) - object VALENCIA : ES() { override val code: String = "ca-ES-VALENCIA"; override val withoutDialect: String get() = ES.code } + @Serializable(IetfLangSerializer::class) + object VALENCIA : ES() { override val code: String = "ca-ES-VALENCIA"; override val parentLang: ES get() = ES; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : ES() } - @Serializable(IetfLanguageCodeSerializer::class) - object FR : CatalanValencian() { override val code: String = "ca-FR"; override val withoutDialect: String get() = CatalanValencian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IT : CatalanValencian() { override val code: String = "ca-IT"; override val withoutDialect: String get() = CatalanValencian.code } + @Serializable(IetfLangSerializer::class) + object FR : CatalanValencian() { override val code: String = "ca-FR"; override val parentLang: CatalanValencian get() = CatalanValencian; } + @Serializable(IetfLangSerializer::class) + object IT : CatalanValencian() { override val code: String = "ca-IT"; override val parentLang: CatalanValencian get() = CatalanValencian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : CatalanValencian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Chechen : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Chechen : IetfLang() { override val code: String = "ce" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object RU : Chechen() { override val code: String = "ce-RU"; override val withoutDialect: String get() = Chechen.code } + @Serializable(IetfLangSerializer::class) + object RU : Chechen() { override val code: String = "ce-RU"; override val parentLang: Chechen get() = Chechen; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Chechen() } - @Serializable(IetfLanguageCodeSerializer::class) - object Chamorro : IetfLanguageCode() { override val code: String = "ch"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object Corsican : IetfLanguageCode() { override val code: String = "co"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object Cree : IetfLanguageCode() { override val code: String = "cr"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Chamorro : IetfLang() { override val code: String = "ch" } + @Serializable(IetfLangSerializer::class) + object Corsican : IetfLang() { override val code: String = "co" } + @Serializable(IetfLangSerializer::class) + object Cree : IetfLang() { override val code: String = "cr" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Czech : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Czech : IetfLang() { override val code: String = "cs" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object CZ : Czech() { override val code: String = "cs-CZ"; override val withoutDialect: String get() = Czech.code } + @Serializable(IetfLangSerializer::class) + object CZ : Czech() { override val code: String = "cs-CZ"; override val parentLang: Czech get() = Czech; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Czech() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic : IetfLang() { override val code: String = "cu" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object RU : ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic() { override val code: String = "cu-RU"; override val withoutDialect: String get() = ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic.code } + @Serializable(IetfLangSerializer::class) + object RU : ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic() { override val code: String = "cu-RU"; override val parentLang: ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic get() = ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic() } - @Serializable(IetfLanguageCodeSerializer::class) - object Chuvash : IetfLanguageCode() { override val code: String = "cv"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Chuvash : IetfLang() { override val code: String = "cv" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Welsh : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Welsh : IetfLang() { override val code: String = "cy" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object GB : Welsh() { override val code: String = "cy-GB"; override val withoutDialect: String get() = Welsh.code } + @Serializable(IetfLangSerializer::class) + object GB : Welsh() { override val code: String = "cy-GB"; override val parentLang: Welsh get() = Welsh; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Welsh() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Danish : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Danish : IetfLang() { override val code: String = "da" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object DK : Danish() { override val code: String = "da-DK"; override val withoutDialect: String get() = Danish.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GL : Danish() { override val code: String = "da-GL"; override val withoutDialect: String get() = Danish.code } + @Serializable(IetfLangSerializer::class) + object DK : Danish() { override val code: String = "da-DK"; override val parentLang: Danish get() = Danish; } + @Serializable(IetfLangSerializer::class) + object GL : Danish() { override val code: String = "da-GL"; override val parentLang: Danish get() = Danish; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Danish() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class German : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class German : IetfLang() { override val code: String = "de" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object AT : German() { override val code: String = "de-AT"; override val withoutDialect: String get() = German.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BE : German() { override val code: String = "de-BE"; override val withoutDialect: String get() = German.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CH : German() { override val code: String = "de-CH"; override val withoutDialect: String get() = German.code } - @Serializable(IetfLanguageCodeSerializer::class) - object DE : German() { override val code: String = "de-DE"; override val withoutDialect: String get() = German.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IT : German() { override val code: String = "de-IT"; override val withoutDialect: String get() = German.code } - @Serializable(IetfLanguageCodeSerializer::class) - object LI : German() { override val code: String = "de-LI"; override val withoutDialect: String get() = German.code } - @Serializable(IetfLanguageCodeSerializer::class) - object LU : German() { override val code: String = "de-LU"; override val withoutDialect: String get() = German.code } + @Serializable(IetfLangSerializer::class) + object AT : German() { override val code: String = "de-AT"; override val parentLang: German get() = German; } + @Serializable(IetfLangSerializer::class) + object BE : German() { override val code: String = "de-BE"; override val parentLang: German get() = German; } + @Serializable(IetfLangSerializer::class) + object CH : German() { override val code: String = "de-CH"; override val parentLang: German get() = German; } + @Serializable(IetfLangSerializer::class) + object DE : German() { override val code: String = "de-DE"; override val parentLang: German get() = German; } + @Serializable(IetfLangSerializer::class) + object IT : German() { override val code: String = "de-IT"; override val parentLang: German get() = German; } + @Serializable(IetfLangSerializer::class) + object LI : German() { override val code: String = "de-LI"; override val parentLang: German get() = German; } + @Serializable(IetfLangSerializer::class) + object LU : German() { override val code: String = "de-LU"; override val parentLang: German get() = German; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : German() } - @Serializable(IetfLanguageCodeSerializer::class) - object DivehiDhivehiMaldivian : IetfLanguageCode() { override val code: String = "dv"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object DivehiDhivehiMaldivian : IetfLang() { override val code: String = "dv" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Dzongkha : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Dzongkha : IetfLang() { override val code: String = "dz" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object BT : Dzongkha() { override val code: String = "dz-BT"; override val withoutDialect: String get() = Dzongkha.code } + @Serializable(IetfLangSerializer::class) + object BT : Dzongkha() { override val code: String = "dz-BT"; override val parentLang: Dzongkha get() = Dzongkha; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Dzongkha() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Ewe : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Ewe : IetfLang() { override val code: String = "ee" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object GH : Ewe() { override val code: String = "ee-GH"; override val withoutDialect: String get() = Ewe.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TG : Ewe() { override val code: String = "ee-TG"; override val withoutDialect: String get() = Ewe.code } + @Serializable(IetfLangSerializer::class) + object GH : Ewe() { override val code: String = "ee-GH"; override val parentLang: Ewe get() = Ewe; } + @Serializable(IetfLangSerializer::class) + object TG : Ewe() { override val code: String = "ee-TG"; override val parentLang: Ewe get() = Ewe; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Ewe() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class GreekModern1453 : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class GreekModern1453 : IetfLang() { override val code: String = "el" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object CY : GreekModern1453() { override val code: String = "el-CY"; override val withoutDialect: String get() = GreekModern1453.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GR : GreekModern1453() { override val code: String = "el-GR"; override val withoutDialect: String get() = GreekModern1453.code } + @Serializable(IetfLangSerializer::class) + object CY : GreekModern1453() { override val code: String = "el-CY"; override val parentLang: GreekModern1453 get() = GreekModern1453; } + @Serializable(IetfLangSerializer::class) + object GR : GreekModern1453() { override val code: String = "el-GR"; override val parentLang: GreekModern1453 get() = GreekModern1453; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : GreekModern1453() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class English : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class English : IetfLang() { override val code: String = "en" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object L001 : English() { override val code: String = "en-001"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object L150 : English() { override val code: String = "en-150"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object AE : English() { override val code: String = "en-AE"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object AG : English() { override val code: String = "en-AG"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object AI : English() { override val code: String = "en-AI"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object AS : English() { override val code: String = "en-AS"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object AT : English() { override val code: String = "en-AT"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object AU : English() { override val code: String = "en-AU"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BB : English() { override val code: String = "en-BB"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BE : English() { override val code: String = "en-BE"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BI : English() { override val code: String = "en-BI"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BM : English() { override val code: String = "en-BM"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BS : English() { override val code: String = "en-BS"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BW : English() { override val code: String = "en-BW"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BZ : English() { override val code: String = "en-BZ"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CA : English() { override val code: String = "en-CA"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CC : English() { override val code: String = "en-CC"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CH : English() { override val code: String = "en-CH"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CK : English() { override val code: String = "en-CK"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CM : English() { override val code: String = "en-CM"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CX : English() { override val code: String = "en-CX"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CY : English() { override val code: String = "en-CY"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object DE : English() { override val code: String = "en-DE"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object DG : English() { override val code: String = "en-DG"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object DK : English() { override val code: String = "en-DK"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object DM : English() { override val code: String = "en-DM"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ER : English() { override val code: String = "en-ER"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object FI : English() { override val code: String = "en-FI"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object FJ : English() { override val code: String = "en-FJ"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object FK : English() { override val code: String = "en-FK"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object FM : English() { override val code: String = "en-FM"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GB : English() { override val code: String = "en-GB"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GD : English() { override val code: String = "en-GD"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GG : English() { override val code: String = "en-GG"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GH : English() { override val code: String = "en-GH"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GI : English() { override val code: String = "en-GI"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GM : English() { override val code: String = "en-GM"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GU : English() { override val code: String = "en-GU"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GY : English() { override val code: String = "en-GY"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object HK : English() { override val code: String = "en-HK"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IE : English() { override val code: String = "en-IE"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IL : English() { override val code: String = "en-IL"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IM : English() { override val code: String = "en-IM"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IN : English() { override val code: String = "en-IN"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IO : English() { override val code: String = "en-IO"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object JE : English() { override val code: String = "en-JE"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object JM : English() { override val code: String = "en-JM"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object KE : English() { override val code: String = "en-KE"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object KI : English() { override val code: String = "en-KI"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object KN : English() { override val code: String = "en-KN"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object KY : English() { override val code: String = "en-KY"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object LC : English() { override val code: String = "en-LC"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object LR : English() { override val code: String = "en-LR"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object LS : English() { override val code: String = "en-LS"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MG : English() { override val code: String = "en-MG"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MH : English() { override val code: String = "en-MH"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MO : English() { override val code: String = "en-MO"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MP : English() { override val code: String = "en-MP"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MS : English() { override val code: String = "en-MS"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MT : English() { override val code: String = "en-MT"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MU : English() { override val code: String = "en-MU"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MW : English() { override val code: String = "en-MW"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MY : English() { override val code: String = "en-MY"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NA : English() { override val code: String = "en-NA"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NF : English() { override val code: String = "en-NF"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NG : English() { override val code: String = "en-NG"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NL : English() { override val code: String = "en-NL"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NR : English() { override val code: String = "en-NR"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NU : English() { override val code: String = "en-NU"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NZ : English() { override val code: String = "en-NZ"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PG : English() { override val code: String = "en-PG"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PH : English() { override val code: String = "en-PH"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PK : English() { override val code: String = "en-PK"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PN : English() { override val code: String = "en-PN"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PR : English() { override val code: String = "en-PR"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PW : English() { override val code: String = "en-PW"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object RW : English() { override val code: String = "en-RW"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SB : English() { override val code: String = "en-SB"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SC : English() { override val code: String = "en-SC"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SD : English() { override val code: String = "en-SD"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SE : English() { override val code: String = "en-SE"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SG : English() { override val code: String = "en-SG"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SH : English() { override val code: String = "en-SH"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SI : English() { override val code: String = "en-SI"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SL : English() { override val code: String = "en-SL"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SS : English() { override val code: String = "en-SS"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SX : English() { override val code: String = "en-SX"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SZ : English() { override val code: String = "en-SZ"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TC : English() { override val code: String = "en-TC"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TK : English() { override val code: String = "en-TK"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TO : English() { override val code: String = "en-TO"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TT : English() { override val code: String = "en-TT"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TV : English() { override val code: String = "en-TV"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TZ : English() { override val code: String = "en-TZ"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object UG : English() { override val code: String = "en-UG"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object UM : English() { override val code: String = "en-UM"; override val withoutDialect: String get() = English.code } + @Serializable(IetfLangSerializer::class) + object L001 : English() { override val code: String = "en-001"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object L150 : English() { override val code: String = "en-150"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object AE : English() { override val code: String = "en-AE"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object AG : English() { override val code: String = "en-AG"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object AI : English() { override val code: String = "en-AI"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object AS : English() { override val code: String = "en-AS"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object AT : English() { override val code: String = "en-AT"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object AU : English() { override val code: String = "en-AU"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object BB : English() { override val code: String = "en-BB"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object BE : English() { override val code: String = "en-BE"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object BI : English() { override val code: String = "en-BI"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object BM : English() { override val code: String = "en-BM"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object BS : English() { override val code: String = "en-BS"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object BW : English() { override val code: String = "en-BW"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object BZ : English() { override val code: String = "en-BZ"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object CA : English() { override val code: String = "en-CA"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object CC : English() { override val code: String = "en-CC"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object CH : English() { override val code: String = "en-CH"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object CK : English() { override val code: String = "en-CK"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object CM : English() { override val code: String = "en-CM"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object CX : English() { override val code: String = "en-CX"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object CY : English() { override val code: String = "en-CY"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object DE : English() { override val code: String = "en-DE"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object DG : English() { override val code: String = "en-DG"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object DK : English() { override val code: String = "en-DK"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object DM : English() { override val code: String = "en-DM"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object ER : English() { override val code: String = "en-ER"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object FI : English() { override val code: String = "en-FI"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object FJ : English() { override val code: String = "en-FJ"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object FK : English() { override val code: String = "en-FK"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object FM : English() { override val code: String = "en-FM"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object GB : English() { override val code: String = "en-GB"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object GD : English() { override val code: String = "en-GD"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object GG : English() { override val code: String = "en-GG"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object GH : English() { override val code: String = "en-GH"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object GI : English() { override val code: String = "en-GI"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object GM : English() { override val code: String = "en-GM"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object GU : English() { override val code: String = "en-GU"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object GY : English() { override val code: String = "en-GY"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object HK : English() { override val code: String = "en-HK"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object IE : English() { override val code: String = "en-IE"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object IL : English() { override val code: String = "en-IL"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object IM : English() { override val code: String = "en-IM"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object IN : English() { override val code: String = "en-IN"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object IO : English() { override val code: String = "en-IO"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object JE : English() { override val code: String = "en-JE"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object JM : English() { override val code: String = "en-JM"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object KE : English() { override val code: String = "en-KE"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object KI : English() { override val code: String = "en-KI"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object KN : English() { override val code: String = "en-KN"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object KY : English() { override val code: String = "en-KY"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object LC : English() { override val code: String = "en-LC"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object LR : English() { override val code: String = "en-LR"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object LS : English() { override val code: String = "en-LS"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object MG : English() { override val code: String = "en-MG"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object MH : English() { override val code: String = "en-MH"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object MO : English() { override val code: String = "en-MO"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object MP : English() { override val code: String = "en-MP"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object MS : English() { override val code: String = "en-MS"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object MT : English() { override val code: String = "en-MT"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object MU : English() { override val code: String = "en-MU"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object MW : English() { override val code: String = "en-MW"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object MY : English() { override val code: String = "en-MY"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object NA : English() { override val code: String = "en-NA"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object NF : English() { override val code: String = "en-NF"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object NG : English() { override val code: String = "en-NG"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object NL : English() { override val code: String = "en-NL"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object NR : English() { override val code: String = "en-NR"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object NU : English() { override val code: String = "en-NU"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object NZ : English() { override val code: String = "en-NZ"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object PG : English() { override val code: String = "en-PG"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object PH : English() { override val code: String = "en-PH"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object PK : English() { override val code: String = "en-PK"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object PN : English() { override val code: String = "en-PN"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object PR : English() { override val code: String = "en-PR"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object PW : English() { override val code: String = "en-PW"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object RW : English() { override val code: String = "en-RW"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object SB : English() { override val code: String = "en-SB"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object SC : English() { override val code: String = "en-SC"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object SD : English() { override val code: String = "en-SD"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object SE : English() { override val code: String = "en-SE"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object SG : English() { override val code: String = "en-SG"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object SH : English() { override val code: String = "en-SH"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object SI : English() { override val code: String = "en-SI"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object SL : English() { override val code: String = "en-SL"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object SS : English() { override val code: String = "en-SS"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object SX : English() { override val code: String = "en-SX"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object SZ : English() { override val code: String = "en-SZ"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object TC : English() { override val code: String = "en-TC"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object TK : English() { override val code: String = "en-TK"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object TO : English() { override val code: String = "en-TO"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object TT : English() { override val code: String = "en-TT"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object TV : English() { override val code: String = "en-TV"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object TZ : English() { override val code: String = "en-TZ"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object UG : English() { override val code: String = "en-UG"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object UM : English() { override val code: String = "en-UM"; override val parentLang: English get() = English; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class US : English() { override val code: String = "en-US" - override val withoutDialect: String - get() = code + override val parentLang: English get() = English; - @Serializable(IetfLanguageCodeSerializer::class) - object POSIX : US() { override val code: String = "en-US-POSIX"; override val withoutDialect: String get() = US.code } + @Serializable(IetfLangSerializer::class) + object POSIX : US() { override val code: String = "en-US-POSIX"; override val parentLang: US get() = US; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : US() } - @Serializable(IetfLanguageCodeSerializer::class) - object VC : English() { override val code: String = "en-VC"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object VG : English() { override val code: String = "en-VG"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object VI : English() { override val code: String = "en-VI"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object VU : English() { override val code: String = "en-VU"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object WS : English() { override val code: String = "en-WS"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ZA : English() { override val code: String = "en-ZA"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ZM : English() { override val code: String = "en-ZM"; override val withoutDialect: String get() = English.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ZW : English() { override val code: String = "en-ZW"; override val withoutDialect: String get() = English.code } + @Serializable(IetfLangSerializer::class) + object VC : English() { override val code: String = "en-VC"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object VG : English() { override val code: String = "en-VG"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object VI : English() { override val code: String = "en-VI"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object VU : English() { override val code: String = "en-VU"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object WS : English() { override val code: String = "en-WS"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object ZA : English() { override val code: String = "en-ZA"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object ZM : English() { override val code: String = "en-ZM"; override val parentLang: English get() = English; } + @Serializable(IetfLangSerializer::class) + object ZW : English() { override val code: String = "en-ZW"; override val parentLang: English get() = English; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : English() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Esperanto : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Esperanto : IetfLang() { override val code: String = "eo" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object L001 : Esperanto() { override val code: String = "eo-001"; override val withoutDialect: String get() = Esperanto.code } + @Serializable(IetfLangSerializer::class) + object L001 : Esperanto() { override val code: String = "eo-001"; override val parentLang: Esperanto get() = Esperanto; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Esperanto() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class SpanishCastilian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class SpanishCastilian : IetfLang() { override val code: String = "es" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object L419 : SpanishCastilian() { override val code: String = "es-419"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object AR : SpanishCastilian() { override val code: String = "es-AR"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BO : SpanishCastilian() { override val code: String = "es-BO"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BR : SpanishCastilian() { override val code: String = "es-BR"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BZ : SpanishCastilian() { override val code: String = "es-BZ"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CL : SpanishCastilian() { override val code: String = "es-CL"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CO : SpanishCastilian() { override val code: String = "es-CO"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CR : SpanishCastilian() { override val code: String = "es-CR"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CU : SpanishCastilian() { override val code: String = "es-CU"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object DO : SpanishCastilian() { override val code: String = "es-DO"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object EA : SpanishCastilian() { override val code: String = "es-EA"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object EC : SpanishCastilian() { override val code: String = "es-EC"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ES : SpanishCastilian() { override val code: String = "es-ES"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GQ : SpanishCastilian() { override val code: String = "es-GQ"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GT : SpanishCastilian() { override val code: String = "es-GT"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object HN : SpanishCastilian() { override val code: String = "es-HN"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IC : SpanishCastilian() { override val code: String = "es-IC"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MX : SpanishCastilian() { override val code: String = "es-MX"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NI : SpanishCastilian() { override val code: String = "es-NI"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PA : SpanishCastilian() { override val code: String = "es-PA"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PE : SpanishCastilian() { override val code: String = "es-PE"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PH : SpanishCastilian() { override val code: String = "es-PH"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PR : SpanishCastilian() { override val code: String = "es-PR"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PY : SpanishCastilian() { override val code: String = "es-PY"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SV : SpanishCastilian() { override val code: String = "es-SV"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object US : SpanishCastilian() { override val code: String = "es-US"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object UY : SpanishCastilian() { override val code: String = "es-UY"; override val withoutDialect: String get() = SpanishCastilian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object VE : SpanishCastilian() { override val code: String = "es-VE"; override val withoutDialect: String get() = SpanishCastilian.code } + @Serializable(IetfLangSerializer::class) + object L419 : SpanishCastilian() { override val code: String = "es-419"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object AR : SpanishCastilian() { override val code: String = "es-AR"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object BO : SpanishCastilian() { override val code: String = "es-BO"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object BR : SpanishCastilian() { override val code: String = "es-BR"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object BZ : SpanishCastilian() { override val code: String = "es-BZ"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object CL : SpanishCastilian() { override val code: String = "es-CL"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object CO : SpanishCastilian() { override val code: String = "es-CO"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object CR : SpanishCastilian() { override val code: String = "es-CR"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object CU : SpanishCastilian() { override val code: String = "es-CU"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object DO : SpanishCastilian() { override val code: String = "es-DO"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object EA : SpanishCastilian() { override val code: String = "es-EA"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object EC : SpanishCastilian() { override val code: String = "es-EC"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object ES : SpanishCastilian() { override val code: String = "es-ES"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object GQ : SpanishCastilian() { override val code: String = "es-GQ"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object GT : SpanishCastilian() { override val code: String = "es-GT"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object HN : SpanishCastilian() { override val code: String = "es-HN"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object IC : SpanishCastilian() { override val code: String = "es-IC"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object MX : SpanishCastilian() { override val code: String = "es-MX"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object NI : SpanishCastilian() { override val code: String = "es-NI"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object PA : SpanishCastilian() { override val code: String = "es-PA"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object PE : SpanishCastilian() { override val code: String = "es-PE"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object PH : SpanishCastilian() { override val code: String = "es-PH"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object PR : SpanishCastilian() { override val code: String = "es-PR"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object PY : SpanishCastilian() { override val code: String = "es-PY"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object SV : SpanishCastilian() { override val code: String = "es-SV"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object US : SpanishCastilian() { override val code: String = "es-US"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object UY : SpanishCastilian() { override val code: String = "es-UY"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } + @Serializable(IetfLangSerializer::class) + object VE : SpanishCastilian() { override val code: String = "es-VE"; override val parentLang: SpanishCastilian get() = SpanishCastilian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : SpanishCastilian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Estonian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Estonian : IetfLang() { override val code: String = "et" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object EE : Estonian() { override val code: String = "et-EE"; override val withoutDialect: String get() = Estonian.code } + @Serializable(IetfLangSerializer::class) + object EE : Estonian() { override val code: String = "et-EE"; override val parentLang: Estonian get() = Estonian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Estonian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Basque : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Basque : IetfLang() { override val code: String = "eu" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object ES : Basque() { override val code: String = "eu-ES"; override val withoutDialect: String get() = Basque.code } + @Serializable(IetfLangSerializer::class) + object ES : Basque() { override val code: String = "eu-ES"; override val parentLang: Basque get() = Basque; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Basque() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Persian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Persian : IetfLang() { override val code: String = "fa" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object AF : Persian() { override val code: String = "fa-AF"; override val withoutDialect: String get() = Persian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IR : Persian() { override val code: String = "fa-IR"; override val withoutDialect: String get() = Persian.code } + @Serializable(IetfLangSerializer::class) + object AF : Persian() { override val code: String = "fa-AF"; override val parentLang: Persian get() = Persian; } + @Serializable(IetfLangSerializer::class) + object IR : Persian() { override val code: String = "fa-IR"; override val parentLang: Persian get() = Persian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Persian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Fulah : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Fulah : IetfLang() { override val code: String = "ff" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Adlm : Fulah() { override val code: String = "ff-Adlm" - override val withoutDialect: String - get() = code + override val parentLang: Fulah get() = Fulah; - @Serializable(IetfLanguageCodeSerializer::class) - object BF : Adlm() { override val code: String = "ff-Adlm-BF"; override val withoutDialect: String get() = Adlm.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CM : Adlm() { override val code: String = "ff-Adlm-CM"; override val withoutDialect: String get() = Adlm.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GH : Adlm() { override val code: String = "ff-Adlm-GH"; override val withoutDialect: String get() = Adlm.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GM : Adlm() { override val code: String = "ff-Adlm-GM"; override val withoutDialect: String get() = Adlm.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GN : Adlm() { override val code: String = "ff-Adlm-GN"; override val withoutDialect: String get() = Adlm.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GW : Adlm() { override val code: String = "ff-Adlm-GW"; override val withoutDialect: String get() = Adlm.code } - @Serializable(IetfLanguageCodeSerializer::class) - object LR : Adlm() { override val code: String = "ff-Adlm-LR"; override val withoutDialect: String get() = Adlm.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MR : Adlm() { override val code: String = "ff-Adlm-MR"; override val withoutDialect: String get() = Adlm.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NE : Adlm() { override val code: String = "ff-Adlm-NE"; override val withoutDialect: String get() = Adlm.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NG : Adlm() { override val code: String = "ff-Adlm-NG"; override val withoutDialect: String get() = Adlm.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SL : Adlm() { override val code: String = "ff-Adlm-SL"; override val withoutDialect: String get() = Adlm.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SN : Adlm() { override val code: String = "ff-Adlm-SN"; override val withoutDialect: String get() = Adlm.code } + @Serializable(IetfLangSerializer::class) + object BF : Adlm() { override val code: String = "ff-Adlm-BF"; override val parentLang: Adlm get() = Adlm; } + @Serializable(IetfLangSerializer::class) + object CM : Adlm() { override val code: String = "ff-Adlm-CM"; override val parentLang: Adlm get() = Adlm; } + @Serializable(IetfLangSerializer::class) + object GH : Adlm() { override val code: String = "ff-Adlm-GH"; override val parentLang: Adlm get() = Adlm; } + @Serializable(IetfLangSerializer::class) + object GM : Adlm() { override val code: String = "ff-Adlm-GM"; override val parentLang: Adlm get() = Adlm; } + @Serializable(IetfLangSerializer::class) + object GN : Adlm() { override val code: String = "ff-Adlm-GN"; override val parentLang: Adlm get() = Adlm; } + @Serializable(IetfLangSerializer::class) + object GW : Adlm() { override val code: String = "ff-Adlm-GW"; override val parentLang: Adlm get() = Adlm; } + @Serializable(IetfLangSerializer::class) + object LR : Adlm() { override val code: String = "ff-Adlm-LR"; override val parentLang: Adlm get() = Adlm; } + @Serializable(IetfLangSerializer::class) + object MR : Adlm() { override val code: String = "ff-Adlm-MR"; override val parentLang: Adlm get() = Adlm; } + @Serializable(IetfLangSerializer::class) + object NE : Adlm() { override val code: String = "ff-Adlm-NE"; override val parentLang: Adlm get() = Adlm; } + @Serializable(IetfLangSerializer::class) + object NG : Adlm() { override val code: String = "ff-Adlm-NG"; override val parentLang: Adlm get() = Adlm; } + @Serializable(IetfLangSerializer::class) + object SL : Adlm() { override val code: String = "ff-Adlm-SL"; override val parentLang: Adlm get() = Adlm; } + @Serializable(IetfLangSerializer::class) + object SN : Adlm() { override val code: String = "ff-Adlm-SN"; override val parentLang: Adlm get() = Adlm; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Adlm() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Latn : Fulah() { override val code: String = "ff-Latn" - override val withoutDialect: String - get() = code + override val parentLang: Fulah get() = Fulah; - @Serializable(IetfLanguageCodeSerializer::class) - object BF : Latn() { override val code: String = "ff-Latn-BF"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CM : Latn() { override val code: String = "ff-Latn-CM"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GH : Latn() { override val code: String = "ff-Latn-GH"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GM : Latn() { override val code: String = "ff-Latn-GM"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GN : Latn() { override val code: String = "ff-Latn-GN"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GW : Latn() { override val code: String = "ff-Latn-GW"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object LR : Latn() { override val code: String = "ff-Latn-LR"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MR : Latn() { override val code: String = "ff-Latn-MR"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NE : Latn() { override val code: String = "ff-Latn-NE"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NG : Latn() { override val code: String = "ff-Latn-NG"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SL : Latn() { override val code: String = "ff-Latn-SL"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SN : Latn() { override val code: String = "ff-Latn-SN"; override val withoutDialect: String get() = Latn.code } + @Serializable(IetfLangSerializer::class) + object BF : Latn() { override val code: String = "ff-Latn-BF"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object CM : Latn() { override val code: String = "ff-Latn-CM"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object GH : Latn() { override val code: String = "ff-Latn-GH"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object GM : Latn() { override val code: String = "ff-Latn-GM"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object GN : Latn() { override val code: String = "ff-Latn-GN"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object GW : Latn() { override val code: String = "ff-Latn-GW"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object LR : Latn() { override val code: String = "ff-Latn-LR"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object MR : Latn() { override val code: String = "ff-Latn-MR"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object NE : Latn() { override val code: String = "ff-Latn-NE"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object NG : Latn() { override val code: String = "ff-Latn-NG"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object SL : Latn() { override val code: String = "ff-Latn-SL"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object SN : Latn() { override val code: String = "ff-Latn-SN"; override val parentLang: Latn get() = Latn; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Latn() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Fulah() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Finnish : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Finnish : IetfLang() { override val code: String = "fi" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object FI : Finnish() { override val code: String = "fi-FI"; override val withoutDialect: String get() = Finnish.code } + @Serializable(IetfLangSerializer::class) + object FI : Finnish() { override val code: String = "fi-FI"; override val parentLang: Finnish get() = Finnish; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Finnish() } - @Serializable(IetfLanguageCodeSerializer::class) - object Fijian : IetfLanguageCode() { override val code: String = "fj"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Fijian : IetfLang() { override val code: String = "fj" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Faroese : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Faroese : IetfLang() { override val code: String = "fo" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object DK : Faroese() { override val code: String = "fo-DK"; override val withoutDialect: String get() = Faroese.code } - @Serializable(IetfLanguageCodeSerializer::class) - object FO : Faroese() { override val code: String = "fo-FO"; override val withoutDialect: String get() = Faroese.code } + @Serializable(IetfLangSerializer::class) + object DK : Faroese() { override val code: String = "fo-DK"; override val parentLang: Faroese get() = Faroese; } + @Serializable(IetfLangSerializer::class) + object FO : Faroese() { override val code: String = "fo-FO"; override val parentLang: Faroese get() = Faroese; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Faroese() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class French : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class French : IetfLang() { override val code: String = "fr" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object BE : French() { override val code: String = "fr-BE"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BF : French() { override val code: String = "fr-BF"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BI : French() { override val code: String = "fr-BI"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BJ : French() { override val code: String = "fr-BJ"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BL : French() { override val code: String = "fr-BL"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CA : French() { override val code: String = "fr-CA"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CD : French() { override val code: String = "fr-CD"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CF : French() { override val code: String = "fr-CF"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CG : French() { override val code: String = "fr-CG"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CH : French() { override val code: String = "fr-CH"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CI : French() { override val code: String = "fr-CI"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CM : French() { override val code: String = "fr-CM"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object DJ : French() { override val code: String = "fr-DJ"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object DZ : French() { override val code: String = "fr-DZ"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object FR : French() { override val code: String = "fr-FR"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GA : French() { override val code: String = "fr-GA"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GF : French() { override val code: String = "fr-GF"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GN : French() { override val code: String = "fr-GN"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GP : French() { override val code: String = "fr-GP"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GQ : French() { override val code: String = "fr-GQ"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object HT : French() { override val code: String = "fr-HT"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object KM : French() { override val code: String = "fr-KM"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object LU : French() { override val code: String = "fr-LU"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MA : French() { override val code: String = "fr-MA"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MC : French() { override val code: String = "fr-MC"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MF : French() { override val code: String = "fr-MF"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MG : French() { override val code: String = "fr-MG"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ML : French() { override val code: String = "fr-ML"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MQ : French() { override val code: String = "fr-MQ"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MR : French() { override val code: String = "fr-MR"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MU : French() { override val code: String = "fr-MU"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NC : French() { override val code: String = "fr-NC"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NE : French() { override val code: String = "fr-NE"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PF : French() { override val code: String = "fr-PF"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PM : French() { override val code: String = "fr-PM"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object RE : French() { override val code: String = "fr-RE"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object RW : French() { override val code: String = "fr-RW"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SC : French() { override val code: String = "fr-SC"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SN : French() { override val code: String = "fr-SN"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SY : French() { override val code: String = "fr-SY"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TD : French() { override val code: String = "fr-TD"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TG : French() { override val code: String = "fr-TG"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TN : French() { override val code: String = "fr-TN"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object VU : French() { override val code: String = "fr-VU"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object WF : French() { override val code: String = "fr-WF"; override val withoutDialect: String get() = French.code } - @Serializable(IetfLanguageCodeSerializer::class) - object YT : French() { override val code: String = "fr-YT"; override val withoutDialect: String get() = French.code } + @Serializable(IetfLangSerializer::class) + object BE : French() { override val code: String = "fr-BE"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object BF : French() { override val code: String = "fr-BF"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object BI : French() { override val code: String = "fr-BI"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object BJ : French() { override val code: String = "fr-BJ"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object BL : French() { override val code: String = "fr-BL"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object CA : French() { override val code: String = "fr-CA"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object CD : French() { override val code: String = "fr-CD"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object CF : French() { override val code: String = "fr-CF"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object CG : French() { override val code: String = "fr-CG"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object CH : French() { override val code: String = "fr-CH"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object CI : French() { override val code: String = "fr-CI"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object CM : French() { override val code: String = "fr-CM"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object DJ : French() { override val code: String = "fr-DJ"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object DZ : French() { override val code: String = "fr-DZ"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object FR : French() { override val code: String = "fr-FR"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object GA : French() { override val code: String = "fr-GA"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object GF : French() { override val code: String = "fr-GF"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object GN : French() { override val code: String = "fr-GN"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object GP : French() { override val code: String = "fr-GP"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object GQ : French() { override val code: String = "fr-GQ"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object HT : French() { override val code: String = "fr-HT"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object KM : French() { override val code: String = "fr-KM"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object LU : French() { override val code: String = "fr-LU"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object MA : French() { override val code: String = "fr-MA"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object MC : French() { override val code: String = "fr-MC"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object MF : French() { override val code: String = "fr-MF"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object MG : French() { override val code: String = "fr-MG"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object ML : French() { override val code: String = "fr-ML"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object MQ : French() { override val code: String = "fr-MQ"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object MR : French() { override val code: String = "fr-MR"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object MU : French() { override val code: String = "fr-MU"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object NC : French() { override val code: String = "fr-NC"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object NE : French() { override val code: String = "fr-NE"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object PF : French() { override val code: String = "fr-PF"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object PM : French() { override val code: String = "fr-PM"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object RE : French() { override val code: String = "fr-RE"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object RW : French() { override val code: String = "fr-RW"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object SC : French() { override val code: String = "fr-SC"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object SN : French() { override val code: String = "fr-SN"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object SY : French() { override val code: String = "fr-SY"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object TD : French() { override val code: String = "fr-TD"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object TG : French() { override val code: String = "fr-TG"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object TN : French() { override val code: String = "fr-TN"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object VU : French() { override val code: String = "fr-VU"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object WF : French() { override val code: String = "fr-WF"; override val parentLang: French get() = French; } + @Serializable(IetfLangSerializer::class) + object YT : French() { override val code: String = "fr-YT"; override val parentLang: French get() = French; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : French() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class WesternFrisian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class WesternFrisian : IetfLang() { override val code: String = "fy" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object NL : WesternFrisian() { override val code: String = "fy-NL"; override val withoutDialect: String get() = WesternFrisian.code } + @Serializable(IetfLangSerializer::class) + object NL : WesternFrisian() { override val code: String = "fy-NL"; override val parentLang: WesternFrisian get() = WesternFrisian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : WesternFrisian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Irish : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Irish : IetfLang() { override val code: String = "ga" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object GB : Irish() { override val code: String = "ga-GB"; override val withoutDialect: String get() = Irish.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IE : Irish() { override val code: String = "ga-IE"; override val withoutDialect: String get() = Irish.code } + @Serializable(IetfLangSerializer::class) + object GB : Irish() { override val code: String = "ga-GB"; override val parentLang: Irish get() = Irish; } + @Serializable(IetfLangSerializer::class) + object IE : Irish() { override val code: String = "ga-IE"; override val parentLang: Irish get() = Irish; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Irish() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class GaelicScottishGaelic : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class GaelicScottishGaelic : IetfLang() { override val code: String = "gd" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object GB : GaelicScottishGaelic() { override val code: String = "gd-GB"; override val withoutDialect: String get() = GaelicScottishGaelic.code } + @Serializable(IetfLangSerializer::class) + object GB : GaelicScottishGaelic() { override val code: String = "gd-GB"; override val parentLang: GaelicScottishGaelic get() = GaelicScottishGaelic; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : GaelicScottishGaelic() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Galician : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Galician : IetfLang() { override val code: String = "gl" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object ES : Galician() { override val code: String = "gl-ES"; override val withoutDialect: String get() = Galician.code } + @Serializable(IetfLangSerializer::class) + object ES : Galician() { override val code: String = "gl-ES"; override val parentLang: Galician get() = Galician; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Galician() } - @Serializable(IetfLanguageCodeSerializer::class) - object Guarani : IetfLanguageCode() { override val code: String = "gn"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Guarani : IetfLang() { override val code: String = "gn" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Gujarati : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Gujarati : IetfLang() { override val code: String = "gu" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Gujarati() { override val code: String = "gu-IN"; override val withoutDialect: String get() = Gujarati.code } + @Serializable(IetfLangSerializer::class) + object IN : Gujarati() { override val code: String = "gu-IN"; override val parentLang: Gujarati get() = Gujarati; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Gujarati() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Manx : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Manx : IetfLang() { override val code: String = "gv" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IM : Manx() { override val code: String = "gv-IM"; override val withoutDialect: String get() = Manx.code } + @Serializable(IetfLangSerializer::class) + object IM : Manx() { override val code: String = "gv-IM"; override val parentLang: Manx get() = Manx; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Manx() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Hausa : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Hausa : IetfLang() { override val code: String = "ha" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object GH : Hausa() { override val code: String = "ha-GH"; override val withoutDialect: String get() = Hausa.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NE : Hausa() { override val code: String = "ha-NE"; override val withoutDialect: String get() = Hausa.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NG : Hausa() { override val code: String = "ha-NG"; override val withoutDialect: String get() = Hausa.code } + @Serializable(IetfLangSerializer::class) + object GH : Hausa() { override val code: String = "ha-GH"; override val parentLang: Hausa get() = Hausa; } + @Serializable(IetfLangSerializer::class) + object NE : Hausa() { override val code: String = "ha-NE"; override val parentLang: Hausa get() = Hausa; } + @Serializable(IetfLangSerializer::class) + object NG : Hausa() { override val code: String = "ha-NG"; override val parentLang: Hausa get() = Hausa; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Hausa() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Hebrew : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Hebrew : IetfLang() { override val code: String = "he" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IL : Hebrew() { override val code: String = "he-IL"; override val withoutDialect: String get() = Hebrew.code } + @Serializable(IetfLangSerializer::class) + object IL : Hebrew() { override val code: String = "he-IL"; override val parentLang: Hebrew get() = Hebrew; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Hebrew() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Hindi : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Hindi : IetfLang() { override val code: String = "hi" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Hindi() { override val code: String = "hi-IN"; override val withoutDialect: String get() = Hindi.code } + @Serializable(IetfLangSerializer::class) + object IN : Hindi() { override val code: String = "hi-IN"; override val parentLang: Hindi get() = Hindi; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Hindi() } - @Serializable(IetfLanguageCodeSerializer::class) - object HiriMotu : IetfLanguageCode() { override val code: String = "ho"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object HiriMotu : IetfLang() { override val code: String = "ho" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Croatian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Croatian : IetfLang() { override val code: String = "hr" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object BA : Croatian() { override val code: String = "hr-BA"; override val withoutDialect: String get() = Croatian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object HR : Croatian() { override val code: String = "hr-HR"; override val withoutDialect: String get() = Croatian.code } + @Serializable(IetfLangSerializer::class) + object BA : Croatian() { override val code: String = "hr-BA"; override val parentLang: Croatian get() = Croatian; } + @Serializable(IetfLangSerializer::class) + object HR : Croatian() { override val code: String = "hr-HR"; override val parentLang: Croatian get() = Croatian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Croatian() } - @Serializable(IetfLanguageCodeSerializer::class) - object HaitianHaitianCreole : IetfLanguageCode() { override val code: String = "ht"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object HaitianHaitianCreole : IetfLang() { override val code: String = "ht" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Hungarian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Hungarian : IetfLang() { override val code: String = "hu" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object HU : Hungarian() { override val code: String = "hu-HU"; override val withoutDialect: String get() = Hungarian.code } + @Serializable(IetfLangSerializer::class) + object HU : Hungarian() { override val code: String = "hu-HU"; override val parentLang: Hungarian get() = Hungarian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Hungarian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Armenian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Armenian : IetfLang() { override val code: String = "hy" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object AM : Armenian() { override val code: String = "hy-AM"; override val withoutDialect: String get() = Armenian.code } + @Serializable(IetfLangSerializer::class) + object AM : Armenian() { override val code: String = "hy-AM"; override val parentLang: Armenian get() = Armenian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Armenian() } - @Serializable(IetfLanguageCodeSerializer::class) - object Herero : IetfLanguageCode() { override val code: String = "hz"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Herero : IetfLang() { override val code: String = "hz" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class InterlinguaInternationalAuxiliaryLanguageAssociation : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class InterlinguaInternationalAuxiliaryLanguageAssociation : IetfLang() { override val code: String = "ia" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object L001 : InterlinguaInternationalAuxiliaryLanguageAssociation() { override val code: String = "ia-001"; override val withoutDialect: String get() = InterlinguaInternationalAuxiliaryLanguageAssociation.code } + @Serializable(IetfLangSerializer::class) + object L001 : InterlinguaInternationalAuxiliaryLanguageAssociation() { override val code: String = "ia-001"; override val parentLang: InterlinguaInternationalAuxiliaryLanguageAssociation get() = InterlinguaInternationalAuxiliaryLanguageAssociation; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : InterlinguaInternationalAuxiliaryLanguageAssociation() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Indonesian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Indonesian : IetfLang() { override val code: String = "id" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object ID : Indonesian() { override val code: String = "id-ID"; override val withoutDialect: String get() = Indonesian.code } + @Serializable(IetfLangSerializer::class) + object ID : Indonesian() { override val code: String = "id-ID"; override val parentLang: Indonesian get() = Indonesian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Indonesian() } - @Serializable(IetfLanguageCodeSerializer::class) - object InterlingueOccidental : IetfLanguageCode() { override val code: String = "ie"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object InterlingueOccidental : IetfLang() { override val code: String = "ie" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Igbo : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Igbo : IetfLang() { override val code: String = "ig" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object NG : Igbo() { override val code: String = "ig-NG"; override val withoutDialect: String get() = Igbo.code } + @Serializable(IetfLangSerializer::class) + object NG : Igbo() { override val code: String = "ig-NG"; override val parentLang: Igbo get() = Igbo; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Igbo() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class SichuanYiNuosu : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class SichuanYiNuosu : IetfLang() { override val code: String = "ii" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object CN : SichuanYiNuosu() { override val code: String = "ii-CN"; override val withoutDialect: String get() = SichuanYiNuosu.code } + @Serializable(IetfLangSerializer::class) + object CN : SichuanYiNuosu() { override val code: String = "ii-CN"; override val parentLang: SichuanYiNuosu get() = SichuanYiNuosu; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : SichuanYiNuosu() } - @Serializable(IetfLanguageCodeSerializer::class) - object Inupiaq : IetfLanguageCode() { override val code: String = "ik"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object Ido : IetfLanguageCode() { override val code: String = "io"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Inupiaq : IetfLang() { override val code: String = "ik" } + @Serializable(IetfLangSerializer::class) + object Ido : IetfLang() { override val code: String = "io" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Icelandic : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Icelandic : IetfLang() { override val code: String = "is" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IS : Icelandic() { override val code: String = "is-IS"; override val withoutDialect: String get() = Icelandic.code } + @Serializable(IetfLangSerializer::class) + object IS : Icelandic() { override val code: String = "is-IS"; override val parentLang: Icelandic get() = Icelandic; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Icelandic() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Italian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Italian : IetfLang() { override val code: String = "it" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object CH : Italian() { override val code: String = "it-CH"; override val withoutDialect: String get() = Italian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object IT : Italian() { override val code: String = "it-IT"; override val withoutDialect: String get() = Italian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SM : Italian() { override val code: String = "it-SM"; override val withoutDialect: String get() = Italian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object VA : Italian() { override val code: String = "it-VA"; override val withoutDialect: String get() = Italian.code } + @Serializable(IetfLangSerializer::class) + object CH : Italian() { override val code: String = "it-CH"; override val parentLang: Italian get() = Italian; } + @Serializable(IetfLangSerializer::class) + object IT : Italian() { override val code: String = "it-IT"; override val parentLang: Italian get() = Italian; } + @Serializable(IetfLangSerializer::class) + object SM : Italian() { override val code: String = "it-SM"; override val parentLang: Italian get() = Italian; } + @Serializable(IetfLangSerializer::class) + object VA : Italian() { override val code: String = "it-VA"; override val parentLang: Italian get() = Italian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Italian() } - @Serializable(IetfLanguageCodeSerializer::class) - object Inuktitut : IetfLanguageCode() { override val code: String = "iu"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Inuktitut : IetfLang() { override val code: String = "iu" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Japanese : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Japanese : IetfLang() { override val code: String = "ja" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object JP : Japanese() { override val code: String = "ja-JP"; override val withoutDialect: String get() = Japanese.code } + @Serializable(IetfLangSerializer::class) + object JP : Japanese() { override val code: String = "ja-JP"; override val parentLang: Japanese get() = Japanese; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Japanese() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Javanese : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Javanese : IetfLang() { override val code: String = "jv" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object ID : Javanese() { override val code: String = "jv-ID"; override val withoutDialect: String get() = Javanese.code } + @Serializable(IetfLangSerializer::class) + object ID : Javanese() { override val code: String = "jv-ID"; override val parentLang: Javanese get() = Javanese; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Javanese() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Georgian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Georgian : IetfLang() { override val code: String = "ka" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object GE : Georgian() { override val code: String = "ka-GE"; override val withoutDialect: String get() = Georgian.code } + @Serializable(IetfLangSerializer::class) + object GE : Georgian() { override val code: String = "ka-GE"; override val parentLang: Georgian get() = Georgian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Georgian() } - @Serializable(IetfLanguageCodeSerializer::class) - object Kongo : IetfLanguageCode() { override val code: String = "kg"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Kongo : IetfLang() { override val code: String = "kg" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class KikuyuGikuyu : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class KikuyuGikuyu : IetfLang() { override val code: String = "ki" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object KE : KikuyuGikuyu() { override val code: String = "ki-KE"; override val withoutDialect: String get() = KikuyuGikuyu.code } + @Serializable(IetfLangSerializer::class) + object KE : KikuyuGikuyu() { override val code: String = "ki-KE"; override val parentLang: KikuyuGikuyu get() = KikuyuGikuyu; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : KikuyuGikuyu() } - @Serializable(IetfLanguageCodeSerializer::class) - object KuanyamaKwanyama : IetfLanguageCode() { override val code: String = "kj"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object KuanyamaKwanyama : IetfLang() { override val code: String = "kj" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Kazakh : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Kazakh : IetfLang() { override val code: String = "kk" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object KZ : Kazakh() { override val code: String = "kk-KZ"; override val withoutDialect: String get() = Kazakh.code } + @Serializable(IetfLangSerializer::class) + object KZ : Kazakh() { override val code: String = "kk-KZ"; override val parentLang: Kazakh get() = Kazakh; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Kazakh() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class KalaallisutGreenlandic : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class KalaallisutGreenlandic : IetfLang() { override val code: String = "kl" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object GL : KalaallisutGreenlandic() { override val code: String = "kl-GL"; override val withoutDialect: String get() = KalaallisutGreenlandic.code } + @Serializable(IetfLangSerializer::class) + object GL : KalaallisutGreenlandic() { override val code: String = "kl-GL"; override val parentLang: KalaallisutGreenlandic get() = KalaallisutGreenlandic; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : KalaallisutGreenlandic() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class CentralKhmer : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class CentralKhmer : IetfLang() { override val code: String = "km" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object KH : CentralKhmer() { override val code: String = "km-KH"; override val withoutDialect: String get() = CentralKhmer.code } + @Serializable(IetfLangSerializer::class) + object KH : CentralKhmer() { override val code: String = "km-KH"; override val parentLang: CentralKhmer get() = CentralKhmer; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : CentralKhmer() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Kannada : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Kannada : IetfLang() { override val code: String = "kn" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Kannada() { override val code: String = "kn-IN"; override val withoutDialect: String get() = Kannada.code } + @Serializable(IetfLangSerializer::class) + object IN : Kannada() { override val code: String = "kn-IN"; override val parentLang: Kannada get() = Kannada; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Kannada() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Korean : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Korean : IetfLang() { override val code: String = "ko" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object KP : Korean() { override val code: String = "ko-KP"; override val withoutDialect: String get() = Korean.code } - @Serializable(IetfLanguageCodeSerializer::class) - object KR : Korean() { override val code: String = "ko-KR"; override val withoutDialect: String get() = Korean.code } + @Serializable(IetfLangSerializer::class) + object KP : Korean() { override val code: String = "ko-KP"; override val parentLang: Korean get() = Korean; } + @Serializable(IetfLangSerializer::class) + object KR : Korean() { override val code: String = "ko-KR"; override val parentLang: Korean get() = Korean; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Korean() } - @Serializable(IetfLanguageCodeSerializer::class) - object Kanuri : IetfLanguageCode() { override val code: String = "kr"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Kanuri : IetfLang() { override val code: String = "kr" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Kashmiri : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Kashmiri : IetfLang() { override val code: String = "ks" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Arab : Kashmiri() { override val code: String = "ks-Arab" - override val withoutDialect: String - get() = code + override val parentLang: Kashmiri get() = Kashmiri; - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Arab() { override val code: String = "ks-Arab-IN"; override val withoutDialect: String get() = Arab.code } + @Serializable(IetfLangSerializer::class) + object IN : Arab() { override val code: String = "ks-Arab-IN"; override val parentLang: Arab get() = Arab; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Arab() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Kashmiri() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Kurdish : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Kurdish : IetfLang() { override val code: String = "ku" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object TR : Kurdish() { override val code: String = "ku-TR"; override val withoutDialect: String get() = Kurdish.code } + @Serializable(IetfLangSerializer::class) + object TR : Kurdish() { override val code: String = "ku-TR"; override val parentLang: Kurdish get() = Kurdish; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Kurdish() } - @Serializable(IetfLanguageCodeSerializer::class) - object Komi : IetfLanguageCode() { override val code: String = "kv"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Komi : IetfLang() { override val code: String = "kv" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Cornish : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Cornish : IetfLang() { override val code: String = "kw" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object GB : Cornish() { override val code: String = "kw-GB"; override val withoutDialect: String get() = Cornish.code } + @Serializable(IetfLangSerializer::class) + object GB : Cornish() { override val code: String = "kw-GB"; override val parentLang: Cornish get() = Cornish; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Cornish() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class KirghizKyrgyz : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class KirghizKyrgyz : IetfLang() { override val code: String = "ky" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object KG : KirghizKyrgyz() { override val code: String = "ky-KG"; override val withoutDialect: String get() = KirghizKyrgyz.code } + @Serializable(IetfLangSerializer::class) + object KG : KirghizKyrgyz() { override val code: String = "ky-KG"; override val parentLang: KirghizKyrgyz get() = KirghizKyrgyz; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : KirghizKyrgyz() } - @Serializable(IetfLanguageCodeSerializer::class) - object Latin : IetfLanguageCode() { override val code: String = "la"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Latin : IetfLang() { override val code: String = "la" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class LuxembourgishLetzeburgesch : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class LuxembourgishLetzeburgesch : IetfLang() { override val code: String = "lb" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object LU : LuxembourgishLetzeburgesch() { override val code: String = "lb-LU"; override val withoutDialect: String get() = LuxembourgishLetzeburgesch.code } + @Serializable(IetfLangSerializer::class) + object LU : LuxembourgishLetzeburgesch() { override val code: String = "lb-LU"; override val parentLang: LuxembourgishLetzeburgesch get() = LuxembourgishLetzeburgesch; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : LuxembourgishLetzeburgesch() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Ganda : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Ganda : IetfLang() { override val code: String = "lg" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object UG : Ganda() { override val code: String = "lg-UG"; override val withoutDialect: String get() = Ganda.code } + @Serializable(IetfLangSerializer::class) + object UG : Ganda() { override val code: String = "lg-UG"; override val parentLang: Ganda get() = Ganda; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Ganda() } - @Serializable(IetfLanguageCodeSerializer::class) - object LimburganLimburgerLimburgish : IetfLanguageCode() { override val code: String = "li"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object LimburganLimburgerLimburgish : IetfLang() { override val code: String = "li" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Lingala : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Lingala : IetfLang() { override val code: String = "ln" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object AO : Lingala() { override val code: String = "ln-AO"; override val withoutDialect: String get() = Lingala.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CD : Lingala() { override val code: String = "ln-CD"; override val withoutDialect: String get() = Lingala.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CF : Lingala() { override val code: String = "ln-CF"; override val withoutDialect: String get() = Lingala.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CG : Lingala() { override val code: String = "ln-CG"; override val withoutDialect: String get() = Lingala.code } + @Serializable(IetfLangSerializer::class) + object AO : Lingala() { override val code: String = "ln-AO"; override val parentLang: Lingala get() = Lingala; } + @Serializable(IetfLangSerializer::class) + object CD : Lingala() { override val code: String = "ln-CD"; override val parentLang: Lingala get() = Lingala; } + @Serializable(IetfLangSerializer::class) + object CF : Lingala() { override val code: String = "ln-CF"; override val parentLang: Lingala get() = Lingala; } + @Serializable(IetfLangSerializer::class) + object CG : Lingala() { override val code: String = "ln-CG"; override val parentLang: Lingala get() = Lingala; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Lingala() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Lao : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Lao : IetfLang() { override val code: String = "lo" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object LA : Lao() { override val code: String = "lo-LA"; override val withoutDialect: String get() = Lao.code } + @Serializable(IetfLangSerializer::class) + object LA : Lao() { override val code: String = "lo-LA"; override val parentLang: Lao get() = Lao; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Lao() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Lithuanian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Lithuanian : IetfLang() { override val code: String = "lt" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object LT : Lithuanian() { override val code: String = "lt-LT"; override val withoutDialect: String get() = Lithuanian.code } + @Serializable(IetfLangSerializer::class) + object LT : Lithuanian() { override val code: String = "lt-LT"; override val parentLang: Lithuanian get() = Lithuanian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Lithuanian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class LubaKatanga : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class LubaKatanga : IetfLang() { override val code: String = "lu" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object CD : LubaKatanga() { override val code: String = "lu-CD"; override val withoutDialect: String get() = LubaKatanga.code } + @Serializable(IetfLangSerializer::class) + object CD : LubaKatanga() { override val code: String = "lu-CD"; override val parentLang: LubaKatanga get() = LubaKatanga; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : LubaKatanga() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Latvian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Latvian : IetfLang() { override val code: String = "lv" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object LV : Latvian() { override val code: String = "lv-LV"; override val withoutDialect: String get() = Latvian.code } + @Serializable(IetfLangSerializer::class) + object LV : Latvian() { override val code: String = "lv-LV"; override val parentLang: Latvian get() = Latvian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Latvian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Malagasy : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Malagasy : IetfLang() { override val code: String = "mg" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object MG : Malagasy() { override val code: String = "mg-MG"; override val withoutDialect: String get() = Malagasy.code } + @Serializable(IetfLangSerializer::class) + object MG : Malagasy() { override val code: String = "mg-MG"; override val parentLang: Malagasy get() = Malagasy; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Malagasy() } - @Serializable(IetfLanguageCodeSerializer::class) - object Marshallese : IetfLanguageCode() { override val code: String = "mh"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Marshallese : IetfLang() { override val code: String = "mh" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Maori : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Maori : IetfLang() { override val code: String = "mi" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object NZ : Maori() { override val code: String = "mi-NZ"; override val withoutDialect: String get() = Maori.code } + @Serializable(IetfLangSerializer::class) + object NZ : Maori() { override val code: String = "mi-NZ"; override val parentLang: Maori get() = Maori; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Maori() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Macedonian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Macedonian : IetfLang() { override val code: String = "mk" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object MK : Macedonian() { override val code: String = "mk-MK"; override val withoutDialect: String get() = Macedonian.code } + @Serializable(IetfLangSerializer::class) + object MK : Macedonian() { override val code: String = "mk-MK"; override val parentLang: Macedonian get() = Macedonian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Macedonian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Malayalam : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Malayalam : IetfLang() { override val code: String = "ml" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Malayalam() { override val code: String = "ml-IN"; override val withoutDialect: String get() = Malayalam.code } + @Serializable(IetfLangSerializer::class) + object IN : Malayalam() { override val code: String = "ml-IN"; override val parentLang: Malayalam get() = Malayalam; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Malayalam() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Mongolian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Mongolian : IetfLang() { override val code: String = "mn" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object MN : Mongolian() { override val code: String = "mn-MN"; override val withoutDialect: String get() = Mongolian.code } + @Serializable(IetfLangSerializer::class) + object MN : Mongolian() { override val code: String = "mn-MN"; override val parentLang: Mongolian get() = Mongolian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Mongolian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Marathi : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Marathi : IetfLang() { override val code: String = "mr" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Marathi() { override val code: String = "mr-IN"; override val withoutDialect: String get() = Marathi.code } + @Serializable(IetfLangSerializer::class) + object IN : Marathi() { override val code: String = "mr-IN"; override val parentLang: Marathi get() = Marathi; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Marathi() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Malay : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Malay : IetfLang() { override val code: String = "ms" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object BN : Malay() { override val code: String = "ms-BN"; override val withoutDialect: String get() = Malay.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ID : Malay() { override val code: String = "ms-ID"; override val withoutDialect: String get() = Malay.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MY : Malay() { override val code: String = "ms-MY"; override val withoutDialect: String get() = Malay.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SG : Malay() { override val code: String = "ms-SG"; override val withoutDialect: String get() = Malay.code } + @Serializable(IetfLangSerializer::class) + object BN : Malay() { override val code: String = "ms-BN"; override val parentLang: Malay get() = Malay; } + @Serializable(IetfLangSerializer::class) + object ID : Malay() { override val code: String = "ms-ID"; override val parentLang: Malay get() = Malay; } + @Serializable(IetfLangSerializer::class) + object MY : Malay() { override val code: String = "ms-MY"; override val parentLang: Malay get() = Malay; } + @Serializable(IetfLangSerializer::class) + object SG : Malay() { override val code: String = "ms-SG"; override val parentLang: Malay get() = Malay; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Malay() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Maltese : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Maltese : IetfLang() { override val code: String = "mt" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object MT : Maltese() { override val code: String = "mt-MT"; override val withoutDialect: String get() = Maltese.code } + @Serializable(IetfLangSerializer::class) + object MT : Maltese() { override val code: String = "mt-MT"; override val parentLang: Maltese get() = Maltese; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Maltese() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Burmese : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Burmese : IetfLang() { override val code: String = "my" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object MM : Burmese() { override val code: String = "my-MM"; override val withoutDialect: String get() = Burmese.code } + @Serializable(IetfLangSerializer::class) + object MM : Burmese() { override val code: String = "my-MM"; override val parentLang: Burmese get() = Burmese; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Burmese() } - @Serializable(IetfLanguageCodeSerializer::class) - object Nauru : IetfLanguageCode() { override val code: String = "na"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Nauru : IetfLang() { override val code: String = "na" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class BokmalNorwegianNorwegianBokmal : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class BokmalNorwegianNorwegianBokmal : IetfLang() { override val code: String = "nb" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object NO : BokmalNorwegianNorwegianBokmal() { override val code: String = "nb-NO"; override val withoutDialect: String get() = BokmalNorwegianNorwegianBokmal.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SJ : BokmalNorwegianNorwegianBokmal() { override val code: String = "nb-SJ"; override val withoutDialect: String get() = BokmalNorwegianNorwegianBokmal.code } + @Serializable(IetfLangSerializer::class) + object NO : BokmalNorwegianNorwegianBokmal() { override val code: String = "nb-NO"; override val parentLang: BokmalNorwegianNorwegianBokmal get() = BokmalNorwegianNorwegianBokmal; } + @Serializable(IetfLangSerializer::class) + object SJ : BokmalNorwegianNorwegianBokmal() { override val code: String = "nb-SJ"; override val parentLang: BokmalNorwegianNorwegianBokmal get() = BokmalNorwegianNorwegianBokmal; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : BokmalNorwegianNorwegianBokmal() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class NdebeleNorthNorthNdebele : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class NdebeleNorthNorthNdebele : IetfLang() { override val code: String = "nd" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object ZW : NdebeleNorthNorthNdebele() { override val code: String = "nd-ZW"; override val withoutDialect: String get() = NdebeleNorthNorthNdebele.code } + @Serializable(IetfLangSerializer::class) + object ZW : NdebeleNorthNorthNdebele() { override val code: String = "nd-ZW"; override val parentLang: NdebeleNorthNorthNdebele get() = NdebeleNorthNorthNdebele; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : NdebeleNorthNorthNdebele() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Nepali : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Nepali : IetfLang() { override val code: String = "ne" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Nepali() { override val code: String = "ne-IN"; override val withoutDialect: String get() = Nepali.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NP : Nepali() { override val code: String = "ne-NP"; override val withoutDialect: String get() = Nepali.code } + @Serializable(IetfLangSerializer::class) + object IN : Nepali() { override val code: String = "ne-IN"; override val parentLang: Nepali get() = Nepali; } + @Serializable(IetfLangSerializer::class) + object NP : Nepali() { override val code: String = "ne-NP"; override val parentLang: Nepali get() = Nepali; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Nepali() } - @Serializable(IetfLanguageCodeSerializer::class) - object Ndonga : IetfLanguageCode() { override val code: String = "ng"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Ndonga : IetfLang() { override val code: String = "ng" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class DutchFlemish : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class DutchFlemish : IetfLang() { override val code: String = "nl" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object AW : DutchFlemish() { override val code: String = "nl-AW"; override val withoutDialect: String get() = DutchFlemish.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BE : DutchFlemish() { override val code: String = "nl-BE"; override val withoutDialect: String get() = DutchFlemish.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BQ : DutchFlemish() { override val code: String = "nl-BQ"; override val withoutDialect: String get() = DutchFlemish.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CW : DutchFlemish() { override val code: String = "nl-CW"; override val withoutDialect: String get() = DutchFlemish.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NL : DutchFlemish() { override val code: String = "nl-NL"; override val withoutDialect: String get() = DutchFlemish.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SR : DutchFlemish() { override val code: String = "nl-SR"; override val withoutDialect: String get() = DutchFlemish.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SX : DutchFlemish() { override val code: String = "nl-SX"; override val withoutDialect: String get() = DutchFlemish.code } + @Serializable(IetfLangSerializer::class) + object AW : DutchFlemish() { override val code: String = "nl-AW"; override val parentLang: DutchFlemish get() = DutchFlemish; } + @Serializable(IetfLangSerializer::class) + object BE : DutchFlemish() { override val code: String = "nl-BE"; override val parentLang: DutchFlemish get() = DutchFlemish; } + @Serializable(IetfLangSerializer::class) + object BQ : DutchFlemish() { override val code: String = "nl-BQ"; override val parentLang: DutchFlemish get() = DutchFlemish; } + @Serializable(IetfLangSerializer::class) + object CW : DutchFlemish() { override val code: String = "nl-CW"; override val parentLang: DutchFlemish get() = DutchFlemish; } + @Serializable(IetfLangSerializer::class) + object NL : DutchFlemish() { override val code: String = "nl-NL"; override val parentLang: DutchFlemish get() = DutchFlemish; } + @Serializable(IetfLangSerializer::class) + object SR : DutchFlemish() { override val code: String = "nl-SR"; override val parentLang: DutchFlemish get() = DutchFlemish; } + @Serializable(IetfLangSerializer::class) + object SX : DutchFlemish() { override val code: String = "nl-SX"; override val parentLang: DutchFlemish get() = DutchFlemish; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : DutchFlemish() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class NorwegianNynorskNynorskNorwegian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class NorwegianNynorskNynorskNorwegian : IetfLang() { override val code: String = "nn" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object NO : NorwegianNynorskNynorskNorwegian() { override val code: String = "nn-NO"; override val withoutDialect: String get() = NorwegianNynorskNynorskNorwegian.code } + @Serializable(IetfLangSerializer::class) + object NO : NorwegianNynorskNynorskNorwegian() { override val code: String = "nn-NO"; override val parentLang: NorwegianNynorskNynorskNorwegian get() = NorwegianNynorskNynorskNorwegian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : NorwegianNynorskNynorskNorwegian() } - @Serializable(IetfLanguageCodeSerializer::class) - object Norwegian : IetfLanguageCode() { override val code: String = "no"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object NdebeleSouthSouthNdebele : IetfLanguageCode() { override val code: String = "nr"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object NavajoNavaho : IetfLanguageCode() { override val code: String = "nv"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object ChichewaChewaNyanja : IetfLanguageCode() { override val code: String = "ny"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object OccitanPost1500 : IetfLanguageCode() { override val code: String = "oc"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object Ojibwa : IetfLanguageCode() { override val code: String = "oj"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Norwegian : IetfLang() { override val code: String = "no" } + @Serializable(IetfLangSerializer::class) + object NdebeleSouthSouthNdebele : IetfLang() { override val code: String = "nr" } + @Serializable(IetfLangSerializer::class) + object NavajoNavaho : IetfLang() { override val code: String = "nv" } + @Serializable(IetfLangSerializer::class) + object ChichewaChewaNyanja : IetfLang() { override val code: String = "ny" } + @Serializable(IetfLangSerializer::class) + object OccitanPost1500 : IetfLang() { override val code: String = "oc" } + @Serializable(IetfLangSerializer::class) + object Ojibwa : IetfLang() { override val code: String = "oj" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Oromo : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Oromo : IetfLang() { override val code: String = "om" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object ET : Oromo() { override val code: String = "om-ET"; override val withoutDialect: String get() = Oromo.code } - @Serializable(IetfLanguageCodeSerializer::class) - object KE : Oromo() { override val code: String = "om-KE"; override val withoutDialect: String get() = Oromo.code } + @Serializable(IetfLangSerializer::class) + object ET : Oromo() { override val code: String = "om-ET"; override val parentLang: Oromo get() = Oromo; } + @Serializable(IetfLangSerializer::class) + object KE : Oromo() { override val code: String = "om-KE"; override val parentLang: Oromo get() = Oromo; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Oromo() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Oriya : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Oriya : IetfLang() { override val code: String = "or" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Oriya() { override val code: String = "or-IN"; override val withoutDialect: String get() = Oriya.code } + @Serializable(IetfLangSerializer::class) + object IN : Oriya() { override val code: String = "or-IN"; override val parentLang: Oriya get() = Oriya; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Oriya() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class OssetianOssetic : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class OssetianOssetic : IetfLang() { override val code: String = "os" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object GE : OssetianOssetic() { override val code: String = "os-GE"; override val withoutDialect: String get() = OssetianOssetic.code } - @Serializable(IetfLanguageCodeSerializer::class) - object RU : OssetianOssetic() { override val code: String = "os-RU"; override val withoutDialect: String get() = OssetianOssetic.code } + @Serializable(IetfLangSerializer::class) + object GE : OssetianOssetic() { override val code: String = "os-GE"; override val parentLang: OssetianOssetic get() = OssetianOssetic; } + @Serializable(IetfLangSerializer::class) + object RU : OssetianOssetic() { override val code: String = "os-RU"; override val parentLang: OssetianOssetic get() = OssetianOssetic; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : OssetianOssetic() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class PanjabiPunjabi : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class PanjabiPunjabi : IetfLang() { override val code: String = "pa" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Arab : PanjabiPunjabi() { override val code: String = "pa-Arab" - override val withoutDialect: String - get() = code + override val parentLang: PanjabiPunjabi get() = PanjabiPunjabi; - @Serializable(IetfLanguageCodeSerializer::class) - object PK : Arab() { override val code: String = "pa-Arab-PK"; override val withoutDialect: String get() = Arab.code } + @Serializable(IetfLangSerializer::class) + object PK : Arab() { override val code: String = "pa-Arab-PK"; override val parentLang: Arab get() = Arab; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Arab() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Guru : PanjabiPunjabi() { override val code: String = "pa-Guru" - override val withoutDialect: String - get() = code + override val parentLang: PanjabiPunjabi get() = PanjabiPunjabi; - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Guru() { override val code: String = "pa-Guru-IN"; override val withoutDialect: String get() = Guru.code } + @Serializable(IetfLangSerializer::class) + object IN : Guru() { override val code: String = "pa-Guru-IN"; override val parentLang: Guru get() = Guru; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Guru() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : PanjabiPunjabi() } - @Serializable(IetfLanguageCodeSerializer::class) - object Pali : IetfLanguageCode() { override val code: String = "pi"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Pali : IetfLang() { override val code: String = "pi" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Polish : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Polish : IetfLang() { override val code: String = "pl" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object PL : Polish() { override val code: String = "pl-PL"; override val withoutDialect: String get() = Polish.code } + @Serializable(IetfLangSerializer::class) + object PL : Polish() { override val code: String = "pl-PL"; override val parentLang: Polish get() = Polish; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Polish() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class PushtoPashto : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class PushtoPashto : IetfLang() { override val code: String = "ps" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object AF : PushtoPashto() { override val code: String = "ps-AF"; override val withoutDialect: String get() = PushtoPashto.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PK : PushtoPashto() { override val code: String = "ps-PK"; override val withoutDialect: String get() = PushtoPashto.code } + @Serializable(IetfLangSerializer::class) + object AF : PushtoPashto() { override val code: String = "ps-AF"; override val parentLang: PushtoPashto get() = PushtoPashto; } + @Serializable(IetfLangSerializer::class) + object PK : PushtoPashto() { override val code: String = "ps-PK"; override val parentLang: PushtoPashto get() = PushtoPashto; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : PushtoPashto() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Portuguese : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Portuguese : IetfLang() { override val code: String = "pt" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object AO : Portuguese() { override val code: String = "pt-AO"; override val withoutDialect: String get() = Portuguese.code } - @Serializable(IetfLanguageCodeSerializer::class) - object BR : Portuguese() { override val code: String = "pt-BR"; override val withoutDialect: String get() = Portuguese.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CH : Portuguese() { override val code: String = "pt-CH"; override val withoutDialect: String get() = Portuguese.code } - @Serializable(IetfLanguageCodeSerializer::class) - object CV : Portuguese() { override val code: String = "pt-CV"; override val withoutDialect: String get() = Portuguese.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GQ : Portuguese() { override val code: String = "pt-GQ"; override val withoutDialect: String get() = Portuguese.code } - @Serializable(IetfLanguageCodeSerializer::class) - object GW : Portuguese() { override val code: String = "pt-GW"; override val withoutDialect: String get() = Portuguese.code } - @Serializable(IetfLanguageCodeSerializer::class) - object LU : Portuguese() { override val code: String = "pt-LU"; override val withoutDialect: String get() = Portuguese.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MO : Portuguese() { override val code: String = "pt-MO"; override val withoutDialect: String get() = Portuguese.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MZ : Portuguese() { override val code: String = "pt-MZ"; override val withoutDialect: String get() = Portuguese.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PT : Portuguese() { override val code: String = "pt-PT"; override val withoutDialect: String get() = Portuguese.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ST : Portuguese() { override val code: String = "pt-ST"; override val withoutDialect: String get() = Portuguese.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TL : Portuguese() { override val code: String = "pt-TL"; override val withoutDialect: String get() = Portuguese.code } + @Serializable(IetfLangSerializer::class) + object AO : Portuguese() { override val code: String = "pt-AO"; override val parentLang: Portuguese get() = Portuguese; } + @Serializable(IetfLangSerializer::class) + object BR : Portuguese() { override val code: String = "pt-BR"; override val parentLang: Portuguese get() = Portuguese; } + @Serializable(IetfLangSerializer::class) + object CH : Portuguese() { override val code: String = "pt-CH"; override val parentLang: Portuguese get() = Portuguese; } + @Serializable(IetfLangSerializer::class) + object CV : Portuguese() { override val code: String = "pt-CV"; override val parentLang: Portuguese get() = Portuguese; } + @Serializable(IetfLangSerializer::class) + object GQ : Portuguese() { override val code: String = "pt-GQ"; override val parentLang: Portuguese get() = Portuguese; } + @Serializable(IetfLangSerializer::class) + object GW : Portuguese() { override val code: String = "pt-GW"; override val parentLang: Portuguese get() = Portuguese; } + @Serializable(IetfLangSerializer::class) + object LU : Portuguese() { override val code: String = "pt-LU"; override val parentLang: Portuguese get() = Portuguese; } + @Serializable(IetfLangSerializer::class) + object MO : Portuguese() { override val code: String = "pt-MO"; override val parentLang: Portuguese get() = Portuguese; } + @Serializable(IetfLangSerializer::class) + object MZ : Portuguese() { override val code: String = "pt-MZ"; override val parentLang: Portuguese get() = Portuguese; } + @Serializable(IetfLangSerializer::class) + object PT : Portuguese() { override val code: String = "pt-PT"; override val parentLang: Portuguese get() = Portuguese; } + @Serializable(IetfLangSerializer::class) + object ST : Portuguese() { override val code: String = "pt-ST"; override val parentLang: Portuguese get() = Portuguese; } + @Serializable(IetfLangSerializer::class) + object TL : Portuguese() { override val code: String = "pt-TL"; override val parentLang: Portuguese get() = Portuguese; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Portuguese() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Quechua : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Quechua : IetfLang() { override val code: String = "qu" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object BO : Quechua() { override val code: String = "qu-BO"; override val withoutDialect: String get() = Quechua.code } - @Serializable(IetfLanguageCodeSerializer::class) - object EC : Quechua() { override val code: String = "qu-EC"; override val withoutDialect: String get() = Quechua.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PE : Quechua() { override val code: String = "qu-PE"; override val withoutDialect: String get() = Quechua.code } + @Serializable(IetfLangSerializer::class) + object BO : Quechua() { override val code: String = "qu-BO"; override val parentLang: Quechua get() = Quechua; } + @Serializable(IetfLangSerializer::class) + object EC : Quechua() { override val code: String = "qu-EC"; override val parentLang: Quechua get() = Quechua; } + @Serializable(IetfLangSerializer::class) + object PE : Quechua() { override val code: String = "qu-PE"; override val parentLang: Quechua get() = Quechua; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Quechua() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Romansh : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Romansh : IetfLang() { override val code: String = "rm" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object CH : Romansh() { override val code: String = "rm-CH"; override val withoutDialect: String get() = Romansh.code } + @Serializable(IetfLangSerializer::class) + object CH : Romansh() { override val code: String = "rm-CH"; override val parentLang: Romansh get() = Romansh; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Romansh() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Rundi : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Rundi : IetfLang() { override val code: String = "rn" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object BI : Rundi() { override val code: String = "rn-BI"; override val withoutDialect: String get() = Rundi.code } + @Serializable(IetfLangSerializer::class) + object BI : Rundi() { override val code: String = "rn-BI"; override val parentLang: Rundi get() = Rundi; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Rundi() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class RomanianMoldavianMoldovan : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class RomanianMoldavianMoldovan : IetfLang() { override val code: String = "ro" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object MD : RomanianMoldavianMoldovan() { override val code: String = "ro-MD"; override val withoutDialect: String get() = RomanianMoldavianMoldovan.code } - @Serializable(IetfLanguageCodeSerializer::class) - object RO : RomanianMoldavianMoldovan() { override val code: String = "ro-RO"; override val withoutDialect: String get() = RomanianMoldavianMoldovan.code } + @Serializable(IetfLangSerializer::class) + object MD : RomanianMoldavianMoldovan() { override val code: String = "ro-MD"; override val parentLang: RomanianMoldavianMoldovan get() = RomanianMoldavianMoldovan; } + @Serializable(IetfLangSerializer::class) + object RO : RomanianMoldavianMoldovan() { override val code: String = "ro-RO"; override val parentLang: RomanianMoldavianMoldovan get() = RomanianMoldavianMoldovan; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : RomanianMoldavianMoldovan() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Russian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Russian : IetfLang() { override val code: String = "ru" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object BY : Russian() { override val code: String = "ru-BY"; override val withoutDialect: String get() = Russian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object KG : Russian() { override val code: String = "ru-KG"; override val withoutDialect: String get() = Russian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object KZ : Russian() { override val code: String = "ru-KZ"; override val withoutDialect: String get() = Russian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MD : Russian() { override val code: String = "ru-MD"; override val withoutDialect: String get() = Russian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object RU : Russian() { override val code: String = "ru-RU"; override val withoutDialect: String get() = Russian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object UA : Russian() { override val code: String = "ru-UA"; override val withoutDialect: String get() = Russian.code } + @Serializable(IetfLangSerializer::class) + object BY : Russian() { override val code: String = "ru-BY"; override val parentLang: Russian get() = Russian; } + @Serializable(IetfLangSerializer::class) + object KG : Russian() { override val code: String = "ru-KG"; override val parentLang: Russian get() = Russian; } + @Serializable(IetfLangSerializer::class) + object KZ : Russian() { override val code: String = "ru-KZ"; override val parentLang: Russian get() = Russian; } + @Serializable(IetfLangSerializer::class) + object MD : Russian() { override val code: String = "ru-MD"; override val parentLang: Russian get() = Russian; } + @Serializable(IetfLangSerializer::class) + object RU : Russian() { override val code: String = "ru-RU"; override val parentLang: Russian get() = Russian; } + @Serializable(IetfLangSerializer::class) + object UA : Russian() { override val code: String = "ru-UA"; override val parentLang: Russian get() = Russian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Russian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Kinyarwanda : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Kinyarwanda : IetfLang() { override val code: String = "rw" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object RW : Kinyarwanda() { override val code: String = "rw-RW"; override val withoutDialect: String get() = Kinyarwanda.code } + @Serializable(IetfLangSerializer::class) + object RW : Kinyarwanda() { override val code: String = "rw-RW"; override val parentLang: Kinyarwanda get() = Kinyarwanda; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Kinyarwanda() } - @Serializable(IetfLanguageCodeSerializer::class) - object Sanskrit : IetfLanguageCode() { override val code: String = "sa"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object Sardinian : IetfLanguageCode() { override val code: String = "sc"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Sanskrit : IetfLang() { override val code: String = "sa" } + @Serializable(IetfLangSerializer::class) + object Sardinian : IetfLang() { override val code: String = "sc" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Sindhi : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Sindhi : IetfLang() { override val code: String = "sd" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Arab : Sindhi() { override val code: String = "sd-Arab" - override val withoutDialect: String - get() = code + override val parentLang: Sindhi get() = Sindhi; - @Serializable(IetfLanguageCodeSerializer::class) - object PK : Arab() { override val code: String = "sd-Arab-PK"; override val withoutDialect: String get() = Arab.code } + @Serializable(IetfLangSerializer::class) + object PK : Arab() { override val code: String = "sd-Arab-PK"; override val parentLang: Arab get() = Arab; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Arab() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Deva : Sindhi() { override val code: String = "sd-Deva" - override val withoutDialect: String - get() = code + override val parentLang: Sindhi get() = Sindhi; - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Deva() { override val code: String = "sd-Deva-IN"; override val withoutDialect: String get() = Deva.code } + @Serializable(IetfLangSerializer::class) + object IN : Deva() { override val code: String = "sd-Deva-IN"; override val parentLang: Deva get() = Deva; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Deva() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Sindhi() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class NorthernSami : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class NorthernSami : IetfLang() { override val code: String = "se" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object FI : NorthernSami() { override val code: String = "se-FI"; override val withoutDialect: String get() = NorthernSami.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NO : NorthernSami() { override val code: String = "se-NO"; override val withoutDialect: String get() = NorthernSami.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SE : NorthernSami() { override val code: String = "se-SE"; override val withoutDialect: String get() = NorthernSami.code } + @Serializable(IetfLangSerializer::class) + object FI : NorthernSami() { override val code: String = "se-FI"; override val parentLang: NorthernSami get() = NorthernSami; } + @Serializable(IetfLangSerializer::class) + object NO : NorthernSami() { override val code: String = "se-NO"; override val parentLang: NorthernSami get() = NorthernSami; } + @Serializable(IetfLangSerializer::class) + object SE : NorthernSami() { override val code: String = "se-SE"; override val parentLang: NorthernSami get() = NorthernSami; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : NorthernSami() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Sango : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Sango : IetfLang() { override val code: String = "sg" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object CF : Sango() { override val code: String = "sg-CF"; override val withoutDialect: String get() = Sango.code } + @Serializable(IetfLangSerializer::class) + object CF : Sango() { override val code: String = "sg-CF"; override val parentLang: Sango get() = Sango; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Sango() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class SinhalaSinhalese : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class SinhalaSinhalese : IetfLang() { override val code: String = "si" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object LK : SinhalaSinhalese() { override val code: String = "si-LK"; override val withoutDialect: String get() = SinhalaSinhalese.code } + @Serializable(IetfLangSerializer::class) + object LK : SinhalaSinhalese() { override val code: String = "si-LK"; override val parentLang: SinhalaSinhalese get() = SinhalaSinhalese; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : SinhalaSinhalese() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Slovak : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Slovak : IetfLang() { override val code: String = "sk" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object SK : Slovak() { override val code: String = "sk-SK"; override val withoutDialect: String get() = Slovak.code } + @Serializable(IetfLangSerializer::class) + object SK : Slovak() { override val code: String = "sk-SK"; override val parentLang: Slovak get() = Slovak; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Slovak() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Slovenian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Slovenian : IetfLang() { override val code: String = "sl" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object SI : Slovenian() { override val code: String = "sl-SI"; override val withoutDialect: String get() = Slovenian.code } + @Serializable(IetfLangSerializer::class) + object SI : Slovenian() { override val code: String = "sl-SI"; override val parentLang: Slovenian get() = Slovenian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Slovenian() } - @Serializable(IetfLanguageCodeSerializer::class) - object Samoan : IetfLanguageCode() { override val code: String = "sm"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Samoan : IetfLang() { override val code: String = "sm" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Shona : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Shona : IetfLang() { override val code: String = "sn" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object ZW : Shona() { override val code: String = "sn-ZW"; override val withoutDialect: String get() = Shona.code } + @Serializable(IetfLangSerializer::class) + object ZW : Shona() { override val code: String = "sn-ZW"; override val parentLang: Shona get() = Shona; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Shona() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Somali : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Somali : IetfLang() { override val code: String = "so" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object DJ : Somali() { override val code: String = "so-DJ"; override val withoutDialect: String get() = Somali.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ET : Somali() { override val code: String = "so-ET"; override val withoutDialect: String get() = Somali.code } - @Serializable(IetfLanguageCodeSerializer::class) - object KE : Somali() { override val code: String = "so-KE"; override val withoutDialect: String get() = Somali.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SO : Somali() { override val code: String = "so-SO"; override val withoutDialect: String get() = Somali.code } + @Serializable(IetfLangSerializer::class) + object DJ : Somali() { override val code: String = "so-DJ"; override val parentLang: Somali get() = Somali; } + @Serializable(IetfLangSerializer::class) + object ET : Somali() { override val code: String = "so-ET"; override val parentLang: Somali get() = Somali; } + @Serializable(IetfLangSerializer::class) + object KE : Somali() { override val code: String = "so-KE"; override val parentLang: Somali get() = Somali; } + @Serializable(IetfLangSerializer::class) + object SO : Somali() { override val code: String = "so-SO"; override val parentLang: Somali get() = Somali; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Somali() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Albanian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Albanian : IetfLang() { override val code: String = "sq" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object AL : Albanian() { override val code: String = "sq-AL"; override val withoutDialect: String get() = Albanian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MK : Albanian() { override val code: String = "sq-MK"; override val withoutDialect: String get() = Albanian.code } - @Serializable(IetfLanguageCodeSerializer::class) - object XK : Albanian() { override val code: String = "sq-XK"; override val withoutDialect: String get() = Albanian.code } + @Serializable(IetfLangSerializer::class) + object AL : Albanian() { override val code: String = "sq-AL"; override val parentLang: Albanian get() = Albanian; } + @Serializable(IetfLangSerializer::class) + object MK : Albanian() { override val code: String = "sq-MK"; override val parentLang: Albanian get() = Albanian; } + @Serializable(IetfLangSerializer::class) + object XK : Albanian() { override val code: String = "sq-XK"; override val parentLang: Albanian get() = Albanian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Albanian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Serbian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Serbian : IetfLang() { override val code: String = "sr" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Cyrl : Serbian() { override val code: String = "sr-Cyrl" - override val withoutDialect: String - get() = code + override val parentLang: Serbian get() = Serbian; - @Serializable(IetfLanguageCodeSerializer::class) - object BA : Cyrl() { override val code: String = "sr-Cyrl-BA"; override val withoutDialect: String get() = Cyrl.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ME : Cyrl() { override val code: String = "sr-Cyrl-ME"; override val withoutDialect: String get() = Cyrl.code } - @Serializable(IetfLanguageCodeSerializer::class) - object RS : Cyrl() { override val code: String = "sr-Cyrl-RS"; override val withoutDialect: String get() = Cyrl.code } - @Serializable(IetfLanguageCodeSerializer::class) - object XK : Cyrl() { override val code: String = "sr-Cyrl-XK"; override val withoutDialect: String get() = Cyrl.code } + @Serializable(IetfLangSerializer::class) + object BA : Cyrl() { override val code: String = "sr-Cyrl-BA"; override val parentLang: Cyrl get() = Cyrl; } + @Serializable(IetfLangSerializer::class) + object ME : Cyrl() { override val code: String = "sr-Cyrl-ME"; override val parentLang: Cyrl get() = Cyrl; } + @Serializable(IetfLangSerializer::class) + object RS : Cyrl() { override val code: String = "sr-Cyrl-RS"; override val parentLang: Cyrl get() = Cyrl; } + @Serializable(IetfLangSerializer::class) + object XK : Cyrl() { override val code: String = "sr-Cyrl-XK"; override val parentLang: Cyrl get() = Cyrl; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Cyrl() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Latn : Serbian() { override val code: String = "sr-Latn" - override val withoutDialect: String - get() = code + override val parentLang: Serbian get() = Serbian; - @Serializable(IetfLanguageCodeSerializer::class) - object BA : Latn() { override val code: String = "sr-Latn-BA"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ME : Latn() { override val code: String = "sr-Latn-ME"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object RS : Latn() { override val code: String = "sr-Latn-RS"; override val withoutDialect: String get() = Latn.code } - @Serializable(IetfLanguageCodeSerializer::class) - object XK : Latn() { override val code: String = "sr-Latn-XK"; override val withoutDialect: String get() = Latn.code } + @Serializable(IetfLangSerializer::class) + object BA : Latn() { override val code: String = "sr-Latn-BA"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object ME : Latn() { override val code: String = "sr-Latn-ME"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object RS : Latn() { override val code: String = "sr-Latn-RS"; override val parentLang: Latn get() = Latn; } + @Serializable(IetfLangSerializer::class) + object XK : Latn() { override val code: String = "sr-Latn-XK"; override val parentLang: Latn get() = Latn; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Latn() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Serbian() } - @Serializable(IetfLanguageCodeSerializer::class) - object Swati : IetfLanguageCode() { override val code: String = "ss"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object SothoSouthern : IetfLanguageCode() { override val code: String = "st"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Swati : IetfLang() { override val code: String = "ss" } + @Serializable(IetfLangSerializer::class) + object SothoSouthern : IetfLang() { override val code: String = "st" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Sundanese : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Sundanese : IetfLang() { override val code: String = "su" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Latn : Sundanese() { override val code: String = "su-Latn" - override val withoutDialect: String - get() = code + override val parentLang: Sundanese get() = Sundanese; - @Serializable(IetfLanguageCodeSerializer::class) - object ID : Latn() { override val code: String = "su-Latn-ID"; override val withoutDialect: String get() = Latn.code } + @Serializable(IetfLangSerializer::class) + object ID : Latn() { override val code: String = "su-Latn-ID"; override val parentLang: Latn get() = Latn; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Latn() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Sundanese() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Swedish : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Swedish : IetfLang() { override val code: String = "sv" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object AX : Swedish() { override val code: String = "sv-AX"; override val withoutDialect: String get() = Swedish.code } - @Serializable(IetfLanguageCodeSerializer::class) - object FI : Swedish() { override val code: String = "sv-FI"; override val withoutDialect: String get() = Swedish.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SE : Swedish() { override val code: String = "sv-SE"; override val withoutDialect: String get() = Swedish.code } + @Serializable(IetfLangSerializer::class) + object AX : Swedish() { override val code: String = "sv-AX"; override val parentLang: Swedish get() = Swedish; } + @Serializable(IetfLangSerializer::class) + object FI : Swedish() { override val code: String = "sv-FI"; override val parentLang: Swedish get() = Swedish; } + @Serializable(IetfLangSerializer::class) + object SE : Swedish() { override val code: String = "sv-SE"; override val parentLang: Swedish get() = Swedish; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Swedish() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Swahili : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Swahili : IetfLang() { override val code: String = "sw" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object CD : Swahili() { override val code: String = "sw-CD"; override val withoutDialect: String get() = Swahili.code } - @Serializable(IetfLanguageCodeSerializer::class) - object KE : Swahili() { override val code: String = "sw-KE"; override val withoutDialect: String get() = Swahili.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TZ : Swahili() { override val code: String = "sw-TZ"; override val withoutDialect: String get() = Swahili.code } - @Serializable(IetfLanguageCodeSerializer::class) - object UG : Swahili() { override val code: String = "sw-UG"; override val withoutDialect: String get() = Swahili.code } + @Serializable(IetfLangSerializer::class) + object CD : Swahili() { override val code: String = "sw-CD"; override val parentLang: Swahili get() = Swahili; } + @Serializable(IetfLangSerializer::class) + object KE : Swahili() { override val code: String = "sw-KE"; override val parentLang: Swahili get() = Swahili; } + @Serializable(IetfLangSerializer::class) + object TZ : Swahili() { override val code: String = "sw-TZ"; override val parentLang: Swahili get() = Swahili; } + @Serializable(IetfLangSerializer::class) + object UG : Swahili() { override val code: String = "sw-UG"; override val parentLang: Swahili get() = Swahili; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Swahili() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Tamil : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Tamil : IetfLang() { override val code: String = "ta" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Tamil() { override val code: String = "ta-IN"; override val withoutDialect: String get() = Tamil.code } - @Serializable(IetfLanguageCodeSerializer::class) - object LK : Tamil() { override val code: String = "ta-LK"; override val withoutDialect: String get() = Tamil.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MY : Tamil() { override val code: String = "ta-MY"; override val withoutDialect: String get() = Tamil.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SG : Tamil() { override val code: String = "ta-SG"; override val withoutDialect: String get() = Tamil.code } + @Serializable(IetfLangSerializer::class) + object IN : Tamil() { override val code: String = "ta-IN"; override val parentLang: Tamil get() = Tamil; } + @Serializable(IetfLangSerializer::class) + object LK : Tamil() { override val code: String = "ta-LK"; override val parentLang: Tamil get() = Tamil; } + @Serializable(IetfLangSerializer::class) + object MY : Tamil() { override val code: String = "ta-MY"; override val parentLang: Tamil get() = Tamil; } + @Serializable(IetfLangSerializer::class) + object SG : Tamil() { override val code: String = "ta-SG"; override val parentLang: Tamil get() = Tamil; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Tamil() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Telugu : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Telugu : IetfLang() { override val code: String = "te" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Telugu() { override val code: String = "te-IN"; override val withoutDialect: String get() = Telugu.code } + @Serializable(IetfLangSerializer::class) + object IN : Telugu() { override val code: String = "te-IN"; override val parentLang: Telugu get() = Telugu; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Telugu() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Tajik : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Tajik : IetfLang() { override val code: String = "tg" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object TJ : Tajik() { override val code: String = "tg-TJ"; override val withoutDialect: String get() = Tajik.code } + @Serializable(IetfLangSerializer::class) + object TJ : Tajik() { override val code: String = "tg-TJ"; override val parentLang: Tajik get() = Tajik; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Tajik() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Thai : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Thai : IetfLang() { override val code: String = "th" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object TH : Thai() { override val code: String = "th-TH"; override val withoutDialect: String get() = Thai.code } + @Serializable(IetfLangSerializer::class) + object TH : Thai() { override val code: String = "th-TH"; override val parentLang: Thai get() = Thai; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Thai() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Tigrinya : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Tigrinya : IetfLang() { override val code: String = "ti" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object ER : Tigrinya() { override val code: String = "ti-ER"; override val withoutDialect: String get() = Tigrinya.code } - @Serializable(IetfLanguageCodeSerializer::class) - object ET : Tigrinya() { override val code: String = "ti-ET"; override val withoutDialect: String get() = Tigrinya.code } + @Serializable(IetfLangSerializer::class) + object ER : Tigrinya() { override val code: String = "ti-ER"; override val parentLang: Tigrinya get() = Tigrinya; } + @Serializable(IetfLangSerializer::class) + object ET : Tigrinya() { override val code: String = "ti-ET"; override val parentLang: Tigrinya get() = Tigrinya; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Tigrinya() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Turkmen : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Turkmen : IetfLang() { override val code: String = "tk" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object TM : Turkmen() { override val code: String = "tk-TM"; override val withoutDialect: String get() = Turkmen.code } + @Serializable(IetfLangSerializer::class) + object TM : Turkmen() { override val code: String = "tk-TM"; override val parentLang: Turkmen get() = Turkmen; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Turkmen() } - @Serializable(IetfLanguageCodeSerializer::class) - object Tagalog : IetfLanguageCode() { override val code: String = "tl"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object Tswana : IetfLanguageCode() { override val code: String = "tn"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Tagalog : IetfLang() { override val code: String = "tl" } + @Serializable(IetfLangSerializer::class) + object Tswana : IetfLang() { override val code: String = "tn" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class TongaTongaIslands : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class TongaTongaIslands : IetfLang() { override val code: String = "to" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object TO : TongaTongaIslands() { override val code: String = "to-TO"; override val withoutDialect: String get() = TongaTongaIslands.code } + @Serializable(IetfLangSerializer::class) + object TO : TongaTongaIslands() { override val code: String = "to-TO"; override val parentLang: TongaTongaIslands get() = TongaTongaIslands; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : TongaTongaIslands() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Turkish : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Turkish : IetfLang() { override val code: String = "tr" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object CY : Turkish() { override val code: String = "tr-CY"; override val withoutDialect: String get() = Turkish.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TR : Turkish() { override val code: String = "tr-TR"; override val withoutDialect: String get() = Turkish.code } + @Serializable(IetfLangSerializer::class) + object CY : Turkish() { override val code: String = "tr-CY"; override val parentLang: Turkish get() = Turkish; } + @Serializable(IetfLangSerializer::class) + object TR : Turkish() { override val code: String = "tr-TR"; override val parentLang: Turkish get() = Turkish; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Turkish() } - @Serializable(IetfLanguageCodeSerializer::class) - object Tsonga : IetfLanguageCode() { override val code: String = "ts"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Tsonga : IetfLang() { override val code: String = "ts" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Tatar : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Tatar : IetfLang() { override val code: String = "tt" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object RU : Tatar() { override val code: String = "tt-RU"; override val withoutDialect: String get() = Tatar.code } + @Serializable(IetfLangSerializer::class) + object RU : Tatar() { override val code: String = "tt-RU"; override val parentLang: Tatar get() = Tatar; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Tatar() } - @Serializable(IetfLanguageCodeSerializer::class) - object Twi : IetfLanguageCode() { override val code: String = "tw"; override val withoutDialect: String get() = code } - @Serializable(IetfLanguageCodeSerializer::class) - object Tahitian : IetfLanguageCode() { override val code: String = "ty"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Twi : IetfLang() { override val code: String = "tw" } + @Serializable(IetfLangSerializer::class) + object Tahitian : IetfLang() { override val code: String = "ty" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class UighurUyghur : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class UighurUyghur : IetfLang() { override val code: String = "ug" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object CN : UighurUyghur() { override val code: String = "ug-CN"; override val withoutDialect: String get() = UighurUyghur.code } + @Serializable(IetfLangSerializer::class) + object CN : UighurUyghur() { override val code: String = "ug-CN"; override val parentLang: UighurUyghur get() = UighurUyghur; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : UighurUyghur() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Ukrainian : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Ukrainian : IetfLang() { override val code: String = "uk" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object UA : Ukrainian() { override val code: String = "uk-UA"; override val withoutDialect: String get() = Ukrainian.code } + @Serializable(IetfLangSerializer::class) + object UA : Ukrainian() { override val code: String = "uk-UA"; override val parentLang: Ukrainian get() = Ukrainian; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Ukrainian() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Urdu : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Urdu : IetfLang() { override val code: String = "ur" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object IN : Urdu() { override val code: String = "ur-IN"; override val withoutDialect: String get() = Urdu.code } - @Serializable(IetfLanguageCodeSerializer::class) - object PK : Urdu() { override val code: String = "ur-PK"; override val withoutDialect: String get() = Urdu.code } + @Serializable(IetfLangSerializer::class) + object IN : Urdu() { override val code: String = "ur-IN"; override val parentLang: Urdu get() = Urdu; } + @Serializable(IetfLangSerializer::class) + object PK : Urdu() { override val code: String = "ur-PK"; override val parentLang: Urdu get() = Urdu; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Urdu() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Uzbek : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Uzbek : IetfLang() { override val code: String = "uz" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Arab : Uzbek() { override val code: String = "uz-Arab" - override val withoutDialect: String - get() = code + override val parentLang: Uzbek get() = Uzbek; - @Serializable(IetfLanguageCodeSerializer::class) - object AF : Arab() { override val code: String = "uz-Arab-AF"; override val withoutDialect: String get() = Arab.code } + @Serializable(IetfLangSerializer::class) + object AF : Arab() { override val code: String = "uz-Arab-AF"; override val parentLang: Arab get() = Arab; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Arab() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Cyrl : Uzbek() { override val code: String = "uz-Cyrl" - override val withoutDialect: String - get() = code + override val parentLang: Uzbek get() = Uzbek; - @Serializable(IetfLanguageCodeSerializer::class) - object UZ : Cyrl() { override val code: String = "uz-Cyrl-UZ"; override val withoutDialect: String get() = Cyrl.code } + @Serializable(IetfLangSerializer::class) + object UZ : Cyrl() { override val code: String = "uz-Cyrl-UZ"; override val parentLang: Cyrl get() = Cyrl; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Cyrl() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Latn : Uzbek() { override val code: String = "uz-Latn" - override val withoutDialect: String - get() = code + override val parentLang: Uzbek get() = Uzbek; - @Serializable(IetfLanguageCodeSerializer::class) - object UZ : Latn() { override val code: String = "uz-Latn-UZ"; override val withoutDialect: String get() = Latn.code } + @Serializable(IetfLangSerializer::class) + object UZ : Latn() { override val code: String = "uz-Latn-UZ"; override val parentLang: Latn get() = Latn; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Latn() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Uzbek() } - @Serializable(IetfLanguageCodeSerializer::class) - object Venda : IetfLanguageCode() { override val code: String = "ve"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Venda : IetfLang() { override val code: String = "ve" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Vietnamese : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Vietnamese : IetfLang() { override val code: String = "vi" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object VN : Vietnamese() { override val code: String = "vi-VN"; override val withoutDialect: String get() = Vietnamese.code } + @Serializable(IetfLangSerializer::class) + object VN : Vietnamese() { override val code: String = "vi-VN"; override val parentLang: Vietnamese get() = Vietnamese; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Vietnamese() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Volapuk : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Volapuk : IetfLang() { override val code: String = "vo" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object L001 : Volapuk() { override val code: String = "vo-001"; override val withoutDialect: String get() = Volapuk.code } + @Serializable(IetfLangSerializer::class) + object L001 : Volapuk() { override val code: String = "vo-001"; override val parentLang: Volapuk get() = Volapuk; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Volapuk() } - @Serializable(IetfLanguageCodeSerializer::class) - object Walloon : IetfLanguageCode() { override val code: String = "wa"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object Walloon : IetfLang() { override val code: String = "wa" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Wolof : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Wolof : IetfLang() { override val code: String = "wo" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object SN : Wolof() { override val code: String = "wo-SN"; override val withoutDialect: String get() = Wolof.code } + @Serializable(IetfLangSerializer::class) + object SN : Wolof() { override val code: String = "wo-SN"; override val parentLang: Wolof get() = Wolof; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Wolof() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Xhosa : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Xhosa : IetfLang() { override val code: String = "xh" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object ZA : Xhosa() { override val code: String = "xh-ZA"; override val withoutDialect: String get() = Xhosa.code } + @Serializable(IetfLangSerializer::class) + object ZA : Xhosa() { override val code: String = "xh-ZA"; override val parentLang: Xhosa get() = Xhosa; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Xhosa() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Yiddish : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Yiddish : IetfLang() { override val code: String = "yi" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object L001 : Yiddish() { override val code: String = "yi-001"; override val withoutDialect: String get() = Yiddish.code } + @Serializable(IetfLangSerializer::class) + object L001 : Yiddish() { override val code: String = "yi-001"; override val parentLang: Yiddish get() = Yiddish; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Yiddish() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Yoruba : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Yoruba : IetfLang() { override val code: String = "yo" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object BJ : Yoruba() { override val code: String = "yo-BJ"; override val withoutDialect: String get() = Yoruba.code } - @Serializable(IetfLanguageCodeSerializer::class) - object NG : Yoruba() { override val code: String = "yo-NG"; override val withoutDialect: String get() = Yoruba.code } + @Serializable(IetfLangSerializer::class) + object BJ : Yoruba() { override val code: String = "yo-BJ"; override val parentLang: Yoruba get() = Yoruba; } + @Serializable(IetfLangSerializer::class) + object NG : Yoruba() { override val code: String = "yo-NG"; override val parentLang: Yoruba get() = Yoruba; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Yoruba() } - @Serializable(IetfLanguageCodeSerializer::class) - object ZhuangChuang : IetfLanguageCode() { override val code: String = "za"; override val withoutDialect: String get() = code } + @Serializable(IetfLangSerializer::class) + object ZhuangChuang : IetfLang() { override val code: String = "za" } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Chinese : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Chinese : IetfLang() { override val code: String = "zh" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Hans : Chinese() { override val code: String = "zh-Hans" - override val withoutDialect: String - get() = code + override val parentLang: Chinese get() = Chinese; - @Serializable(IetfLanguageCodeSerializer::class) - object CN : Hans() { override val code: String = "zh-Hans-CN"; override val withoutDialect: String get() = Hans.code } - @Serializable(IetfLanguageCodeSerializer::class) - object HK : Hans() { override val code: String = "zh-Hans-HK"; override val withoutDialect: String get() = Hans.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MO : Hans() { override val code: String = "zh-Hans-MO"; override val withoutDialect: String get() = Hans.code } - @Serializable(IetfLanguageCodeSerializer::class) - object SG : Hans() { override val code: String = "zh-Hans-SG"; override val withoutDialect: String get() = Hans.code } + @Serializable(IetfLangSerializer::class) + object CN : Hans() { override val code: String = "zh-Hans-CN"; override val parentLang: Hans get() = Hans; } + @Serializable(IetfLangSerializer::class) + object HK : Hans() { override val code: String = "zh-Hans-HK"; override val parentLang: Hans get() = Hans; } + @Serializable(IetfLangSerializer::class) + object MO : Hans() { override val code: String = "zh-Hans-MO"; override val parentLang: Hans get() = Hans; } + @Serializable(IetfLangSerializer::class) + object SG : Hans() { override val code: String = "zh-Hans-SG"; override val parentLang: Hans get() = Hans; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Hans() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) sealed class Hant : Chinese() { override val code: String = "zh-Hant" - override val withoutDialect: String - get() = code + override val parentLang: Chinese get() = Chinese; - @Serializable(IetfLanguageCodeSerializer::class) - object HK : Hant() { override val code: String = "zh-Hant-HK"; override val withoutDialect: String get() = Hant.code } - @Serializable(IetfLanguageCodeSerializer::class) - object MO : Hant() { override val code: String = "zh-Hant-MO"; override val withoutDialect: String get() = Hant.code } - @Serializable(IetfLanguageCodeSerializer::class) - object TW : Hant() { override val code: String = "zh-Hant-TW"; override val withoutDialect: String get() = Hant.code } + @Serializable(IetfLangSerializer::class) + object HK : Hant() { override val code: String = "zh-Hant-HK"; override val parentLang: Hant get() = Hant; } + @Serializable(IetfLangSerializer::class) + object MO : Hant() { override val code: String = "zh-Hant-MO"; override val parentLang: Hant get() = Hant; } + @Serializable(IetfLangSerializer::class) + object TW : Hant() { override val code: String = "zh-Hant-TW"; override val parentLang: Hant get() = Hant; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Hant() } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Chinese() } - @Serializable(IetfLanguageCodeSerializer::class) - sealed class Zulu : IetfLanguageCode() { + @Serializable(IetfLangSerializer::class) + sealed class Zulu : IetfLang() { override val code: String = "zu" - override val withoutDialect: String - get() = code - @Serializable(IetfLanguageCodeSerializer::class) - object ZA : Zulu() { override val code: String = "zu-ZA"; override val withoutDialect: String get() = Zulu.code } + @Serializable(IetfLangSerializer::class) + object ZA : Zulu() { override val code: String = "zu-ZA"; override val parentLang: Zulu get() = Zulu; } - @Serializable(IetfLanguageCodeSerializer::class) + @Serializable(IetfLangSerializer::class) companion object : Zulu() } - @Serializable(IetfLanguageCodeSerializer::class) - data class UnknownIetfLanguageCode (override val code: String) : IetfLanguageCode() { - override val withoutDialect: String = code.takeWhile { it != '-' } + @Serializable(IetfLangSerializer::class) + data class UnknownIetfLang (override val code: String) : IetfLang() { + override val parentLang = code.dropLastWhile { it != '-' }.removeSuffix("-").takeIf { it.length > 0 } ?.let(::UnknownIetfLang) } + @Deprecated("Renamed", ReplaceWith("UnknownIetfLang", "dev.inmo.micro_utils.language_codes.IetfLang.UnknownIetfLang")) + val UnknownIetfLanguageCode = UnknownIetfLang override fun toString() = code } +@Deprecated("Renamed", ReplaceWith("IetfLang", "dev.inmo.micro_utils.language_codes.IetfLang")) +typealias IetfLanguageCode = IetfLang \ No newline at end of file diff --git a/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/StringToLanguageCodes.kt b/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/StringToLanguageCodes.kt index cca376663d6..1ce830e5321 100644 --- a/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/StringToLanguageCodes.kt +++ b/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/StringToLanguageCodes.kt @@ -1,671 +1,1356 @@ package dev.inmo.micro_utils.language_codes -fun String.asIetfLanguageCode(): IetfLanguageCode { - return when (this) { - IetfLanguageCode.Afar.code -> IetfLanguageCode.Afar - IetfLanguageCode.Abkhazian.code -> IetfLanguageCode.Abkhazian - IetfLanguageCode.Avestan.code -> IetfLanguageCode.Avestan - IetfLanguageCode.Afrikaans.code -> IetfLanguageCode.Afrikaans - IetfLanguageCode.Afrikaans.NA.code -> IetfLanguageCode.Afrikaans.NA - IetfLanguageCode.Afrikaans.ZA.code -> IetfLanguageCode.Afrikaans.ZA - IetfLanguageCode.Akan.code -> IetfLanguageCode.Akan - IetfLanguageCode.Akan.GH.code -> IetfLanguageCode.Akan.GH - IetfLanguageCode.Amharic.code -> IetfLanguageCode.Amharic - IetfLanguageCode.Amharic.ET.code -> IetfLanguageCode.Amharic.ET - IetfLanguageCode.Aragonese.code -> IetfLanguageCode.Aragonese - IetfLanguageCode.Arabic.code -> IetfLanguageCode.Arabic - IetfLanguageCode.Arabic.L001.code -> IetfLanguageCode.Arabic.L001 - IetfLanguageCode.Arabic.AE.code -> IetfLanguageCode.Arabic.AE - IetfLanguageCode.Arabic.BH.code -> IetfLanguageCode.Arabic.BH - IetfLanguageCode.Arabic.DJ.code -> IetfLanguageCode.Arabic.DJ - IetfLanguageCode.Arabic.DZ.code -> IetfLanguageCode.Arabic.DZ - IetfLanguageCode.Arabic.EG.code -> IetfLanguageCode.Arabic.EG - IetfLanguageCode.Arabic.EH.code -> IetfLanguageCode.Arabic.EH - IetfLanguageCode.Arabic.ER.code -> IetfLanguageCode.Arabic.ER - IetfLanguageCode.Arabic.IL.code -> IetfLanguageCode.Arabic.IL - IetfLanguageCode.Arabic.IQ.code -> IetfLanguageCode.Arabic.IQ - IetfLanguageCode.Arabic.JO.code -> IetfLanguageCode.Arabic.JO - IetfLanguageCode.Arabic.KM.code -> IetfLanguageCode.Arabic.KM - IetfLanguageCode.Arabic.KW.code -> IetfLanguageCode.Arabic.KW - IetfLanguageCode.Arabic.LB.code -> IetfLanguageCode.Arabic.LB - IetfLanguageCode.Arabic.LY.code -> IetfLanguageCode.Arabic.LY - IetfLanguageCode.Arabic.MA.code -> IetfLanguageCode.Arabic.MA - IetfLanguageCode.Arabic.MR.code -> IetfLanguageCode.Arabic.MR - IetfLanguageCode.Arabic.OM.code -> IetfLanguageCode.Arabic.OM - IetfLanguageCode.Arabic.PS.code -> IetfLanguageCode.Arabic.PS - IetfLanguageCode.Arabic.QA.code -> IetfLanguageCode.Arabic.QA - IetfLanguageCode.Arabic.SA.code -> IetfLanguageCode.Arabic.SA - IetfLanguageCode.Arabic.SD.code -> IetfLanguageCode.Arabic.SD - IetfLanguageCode.Arabic.SO.code -> IetfLanguageCode.Arabic.SO - IetfLanguageCode.Arabic.SS.code -> IetfLanguageCode.Arabic.SS - IetfLanguageCode.Arabic.SY.code -> IetfLanguageCode.Arabic.SY - IetfLanguageCode.Arabic.TD.code -> IetfLanguageCode.Arabic.TD - IetfLanguageCode.Arabic.TN.code -> IetfLanguageCode.Arabic.TN - IetfLanguageCode.Arabic.YE.code -> IetfLanguageCode.Arabic.YE - IetfLanguageCode.Assamese.code -> IetfLanguageCode.Assamese - IetfLanguageCode.Assamese.IN.code -> IetfLanguageCode.Assamese.IN - IetfLanguageCode.Avaric.code -> IetfLanguageCode.Avaric - IetfLanguageCode.Aymara.code -> IetfLanguageCode.Aymara - IetfLanguageCode.Azerbaijani.code -> IetfLanguageCode.Azerbaijani - IetfLanguageCode.Azerbaijani.Cyrl.code -> IetfLanguageCode.Azerbaijani.Cyrl - IetfLanguageCode.Azerbaijani.Cyrl.AZ.code -> IetfLanguageCode.Azerbaijani.Cyrl.AZ - IetfLanguageCode.Azerbaijani.Latn.code -> IetfLanguageCode.Azerbaijani.Latn - IetfLanguageCode.Azerbaijani.Latn.AZ.code -> IetfLanguageCode.Azerbaijani.Latn.AZ - IetfLanguageCode.Bashkir.code -> IetfLanguageCode.Bashkir - IetfLanguageCode.Belarusian.code -> IetfLanguageCode.Belarusian - IetfLanguageCode.Belarusian.BY.code -> IetfLanguageCode.Belarusian.BY - IetfLanguageCode.Bulgarian.code -> IetfLanguageCode.Bulgarian - IetfLanguageCode.Bulgarian.BG.code -> IetfLanguageCode.Bulgarian.BG - IetfLanguageCode.BihariLanguages.code -> IetfLanguageCode.BihariLanguages - IetfLanguageCode.Bislama.code -> IetfLanguageCode.Bislama - IetfLanguageCode.Bambara.code -> IetfLanguageCode.Bambara - IetfLanguageCode.Bambara.ML.code -> IetfLanguageCode.Bambara.ML - IetfLanguageCode.Bengali.code -> IetfLanguageCode.Bengali - IetfLanguageCode.Bengali.BD.code -> IetfLanguageCode.Bengali.BD - IetfLanguageCode.Bengali.IN.code -> IetfLanguageCode.Bengali.IN - IetfLanguageCode.Tibetan.code -> IetfLanguageCode.Tibetan - IetfLanguageCode.Tibetan.CN.code -> IetfLanguageCode.Tibetan.CN - IetfLanguageCode.Tibetan.IN.code -> IetfLanguageCode.Tibetan.IN - IetfLanguageCode.Breton.code -> IetfLanguageCode.Breton - IetfLanguageCode.Breton.FR.code -> IetfLanguageCode.Breton.FR - IetfLanguageCode.Bosnian.code -> IetfLanguageCode.Bosnian - IetfLanguageCode.Bosnian.Cyrl.code -> IetfLanguageCode.Bosnian.Cyrl - IetfLanguageCode.Bosnian.Cyrl.BA.code -> IetfLanguageCode.Bosnian.Cyrl.BA - IetfLanguageCode.Bosnian.Latn.code -> IetfLanguageCode.Bosnian.Latn - IetfLanguageCode.Bosnian.Latn.BA.code -> IetfLanguageCode.Bosnian.Latn.BA - IetfLanguageCode.CatalanValencian.code -> IetfLanguageCode.CatalanValencian - IetfLanguageCode.CatalanValencian.AD.code -> IetfLanguageCode.CatalanValencian.AD - IetfLanguageCode.CatalanValencian.ES.code -> IetfLanguageCode.CatalanValencian.ES - IetfLanguageCode.CatalanValencian.ES.VALENCIA.code -> IetfLanguageCode.CatalanValencian.ES.VALENCIA - IetfLanguageCode.CatalanValencian.FR.code -> IetfLanguageCode.CatalanValencian.FR - IetfLanguageCode.CatalanValencian.IT.code -> IetfLanguageCode.CatalanValencian.IT - IetfLanguageCode.Chechen.code -> IetfLanguageCode.Chechen - IetfLanguageCode.Chechen.RU.code -> IetfLanguageCode.Chechen.RU - IetfLanguageCode.Chamorro.code -> IetfLanguageCode.Chamorro - IetfLanguageCode.Corsican.code -> IetfLanguageCode.Corsican - IetfLanguageCode.Cree.code -> IetfLanguageCode.Cree - IetfLanguageCode.Czech.code -> IetfLanguageCode.Czech - IetfLanguageCode.Czech.CZ.code -> IetfLanguageCode.Czech.CZ - IetfLanguageCode.ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic.code -> IetfLanguageCode.ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic - IetfLanguageCode.ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic.RU.code -> IetfLanguageCode.ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic.RU - IetfLanguageCode.Chuvash.code -> IetfLanguageCode.Chuvash - IetfLanguageCode.Welsh.code -> IetfLanguageCode.Welsh - IetfLanguageCode.Welsh.GB.code -> IetfLanguageCode.Welsh.GB - IetfLanguageCode.Danish.code -> IetfLanguageCode.Danish - IetfLanguageCode.Danish.DK.code -> IetfLanguageCode.Danish.DK - IetfLanguageCode.Danish.GL.code -> IetfLanguageCode.Danish.GL - IetfLanguageCode.German.code -> IetfLanguageCode.German - IetfLanguageCode.German.AT.code -> IetfLanguageCode.German.AT - IetfLanguageCode.German.BE.code -> IetfLanguageCode.German.BE - IetfLanguageCode.German.CH.code -> IetfLanguageCode.German.CH - IetfLanguageCode.German.DE.code -> IetfLanguageCode.German.DE - IetfLanguageCode.German.IT.code -> IetfLanguageCode.German.IT - IetfLanguageCode.German.LI.code -> IetfLanguageCode.German.LI - IetfLanguageCode.German.LU.code -> IetfLanguageCode.German.LU - IetfLanguageCode.DivehiDhivehiMaldivian.code -> IetfLanguageCode.DivehiDhivehiMaldivian - IetfLanguageCode.Dzongkha.code -> IetfLanguageCode.Dzongkha - IetfLanguageCode.Dzongkha.BT.code -> IetfLanguageCode.Dzongkha.BT - IetfLanguageCode.Ewe.code -> IetfLanguageCode.Ewe - IetfLanguageCode.Ewe.GH.code -> IetfLanguageCode.Ewe.GH - IetfLanguageCode.Ewe.TG.code -> IetfLanguageCode.Ewe.TG - IetfLanguageCode.GreekModern1453.code -> IetfLanguageCode.GreekModern1453 - IetfLanguageCode.GreekModern1453.CY.code -> IetfLanguageCode.GreekModern1453.CY - IetfLanguageCode.GreekModern1453.GR.code -> IetfLanguageCode.GreekModern1453.GR - IetfLanguageCode.English.code -> IetfLanguageCode.English - IetfLanguageCode.English.L001.code -> IetfLanguageCode.English.L001 - IetfLanguageCode.English.L150.code -> IetfLanguageCode.English.L150 - IetfLanguageCode.English.AE.code -> IetfLanguageCode.English.AE - IetfLanguageCode.English.AG.code -> IetfLanguageCode.English.AG - IetfLanguageCode.English.AI.code -> IetfLanguageCode.English.AI - IetfLanguageCode.English.AS.code -> IetfLanguageCode.English.AS - IetfLanguageCode.English.AT.code -> IetfLanguageCode.English.AT - IetfLanguageCode.English.AU.code -> IetfLanguageCode.English.AU - IetfLanguageCode.English.BB.code -> IetfLanguageCode.English.BB - IetfLanguageCode.English.BE.code -> IetfLanguageCode.English.BE - IetfLanguageCode.English.BI.code -> IetfLanguageCode.English.BI - IetfLanguageCode.English.BM.code -> IetfLanguageCode.English.BM - IetfLanguageCode.English.BS.code -> IetfLanguageCode.English.BS - IetfLanguageCode.English.BW.code -> IetfLanguageCode.English.BW - IetfLanguageCode.English.BZ.code -> IetfLanguageCode.English.BZ - IetfLanguageCode.English.CA.code -> IetfLanguageCode.English.CA - IetfLanguageCode.English.CC.code -> IetfLanguageCode.English.CC - IetfLanguageCode.English.CH.code -> IetfLanguageCode.English.CH - IetfLanguageCode.English.CK.code -> IetfLanguageCode.English.CK - IetfLanguageCode.English.CM.code -> IetfLanguageCode.English.CM - IetfLanguageCode.English.CX.code -> IetfLanguageCode.English.CX - IetfLanguageCode.English.CY.code -> IetfLanguageCode.English.CY - IetfLanguageCode.English.DE.code -> IetfLanguageCode.English.DE - IetfLanguageCode.English.DG.code -> IetfLanguageCode.English.DG - IetfLanguageCode.English.DK.code -> IetfLanguageCode.English.DK - IetfLanguageCode.English.DM.code -> IetfLanguageCode.English.DM - IetfLanguageCode.English.ER.code -> IetfLanguageCode.English.ER - IetfLanguageCode.English.FI.code -> IetfLanguageCode.English.FI - IetfLanguageCode.English.FJ.code -> IetfLanguageCode.English.FJ - IetfLanguageCode.English.FK.code -> IetfLanguageCode.English.FK - IetfLanguageCode.English.FM.code -> IetfLanguageCode.English.FM - IetfLanguageCode.English.GB.code -> IetfLanguageCode.English.GB - IetfLanguageCode.English.GD.code -> IetfLanguageCode.English.GD - IetfLanguageCode.English.GG.code -> IetfLanguageCode.English.GG - IetfLanguageCode.English.GH.code -> IetfLanguageCode.English.GH - IetfLanguageCode.English.GI.code -> IetfLanguageCode.English.GI - IetfLanguageCode.English.GM.code -> IetfLanguageCode.English.GM - IetfLanguageCode.English.GU.code -> IetfLanguageCode.English.GU - IetfLanguageCode.English.GY.code -> IetfLanguageCode.English.GY - IetfLanguageCode.English.HK.code -> IetfLanguageCode.English.HK - IetfLanguageCode.English.IE.code -> IetfLanguageCode.English.IE - IetfLanguageCode.English.IL.code -> IetfLanguageCode.English.IL - IetfLanguageCode.English.IM.code -> IetfLanguageCode.English.IM - IetfLanguageCode.English.IN.code -> IetfLanguageCode.English.IN - IetfLanguageCode.English.IO.code -> IetfLanguageCode.English.IO - IetfLanguageCode.English.JE.code -> IetfLanguageCode.English.JE - IetfLanguageCode.English.JM.code -> IetfLanguageCode.English.JM - IetfLanguageCode.English.KE.code -> IetfLanguageCode.English.KE - IetfLanguageCode.English.KI.code -> IetfLanguageCode.English.KI - IetfLanguageCode.English.KN.code -> IetfLanguageCode.English.KN - IetfLanguageCode.English.KY.code -> IetfLanguageCode.English.KY - IetfLanguageCode.English.LC.code -> IetfLanguageCode.English.LC - IetfLanguageCode.English.LR.code -> IetfLanguageCode.English.LR - IetfLanguageCode.English.LS.code -> IetfLanguageCode.English.LS - IetfLanguageCode.English.MG.code -> IetfLanguageCode.English.MG - IetfLanguageCode.English.MH.code -> IetfLanguageCode.English.MH - IetfLanguageCode.English.MO.code -> IetfLanguageCode.English.MO - IetfLanguageCode.English.MP.code -> IetfLanguageCode.English.MP - IetfLanguageCode.English.MS.code -> IetfLanguageCode.English.MS - IetfLanguageCode.English.MT.code -> IetfLanguageCode.English.MT - IetfLanguageCode.English.MU.code -> IetfLanguageCode.English.MU - IetfLanguageCode.English.MW.code -> IetfLanguageCode.English.MW - IetfLanguageCode.English.MY.code -> IetfLanguageCode.English.MY - IetfLanguageCode.English.NA.code -> IetfLanguageCode.English.NA - IetfLanguageCode.English.NF.code -> IetfLanguageCode.English.NF - IetfLanguageCode.English.NG.code -> IetfLanguageCode.English.NG - IetfLanguageCode.English.NL.code -> IetfLanguageCode.English.NL - IetfLanguageCode.English.NR.code -> IetfLanguageCode.English.NR - IetfLanguageCode.English.NU.code -> IetfLanguageCode.English.NU - IetfLanguageCode.English.NZ.code -> IetfLanguageCode.English.NZ - IetfLanguageCode.English.PG.code -> IetfLanguageCode.English.PG - IetfLanguageCode.English.PH.code -> IetfLanguageCode.English.PH - IetfLanguageCode.English.PK.code -> IetfLanguageCode.English.PK - IetfLanguageCode.English.PN.code -> IetfLanguageCode.English.PN - IetfLanguageCode.English.PR.code -> IetfLanguageCode.English.PR - IetfLanguageCode.English.PW.code -> IetfLanguageCode.English.PW - IetfLanguageCode.English.RW.code -> IetfLanguageCode.English.RW - IetfLanguageCode.English.SB.code -> IetfLanguageCode.English.SB - IetfLanguageCode.English.SC.code -> IetfLanguageCode.English.SC - IetfLanguageCode.English.SD.code -> IetfLanguageCode.English.SD - IetfLanguageCode.English.SE.code -> IetfLanguageCode.English.SE - IetfLanguageCode.English.SG.code -> IetfLanguageCode.English.SG - IetfLanguageCode.English.SH.code -> IetfLanguageCode.English.SH - IetfLanguageCode.English.SI.code -> IetfLanguageCode.English.SI - IetfLanguageCode.English.SL.code -> IetfLanguageCode.English.SL - IetfLanguageCode.English.SS.code -> IetfLanguageCode.English.SS - IetfLanguageCode.English.SX.code -> IetfLanguageCode.English.SX - IetfLanguageCode.English.SZ.code -> IetfLanguageCode.English.SZ - IetfLanguageCode.English.TC.code -> IetfLanguageCode.English.TC - IetfLanguageCode.English.TK.code -> IetfLanguageCode.English.TK - IetfLanguageCode.English.TO.code -> IetfLanguageCode.English.TO - IetfLanguageCode.English.TT.code -> IetfLanguageCode.English.TT - IetfLanguageCode.English.TV.code -> IetfLanguageCode.English.TV - IetfLanguageCode.English.TZ.code -> IetfLanguageCode.English.TZ - IetfLanguageCode.English.UG.code -> IetfLanguageCode.English.UG - IetfLanguageCode.English.UM.code -> IetfLanguageCode.English.UM - IetfLanguageCode.English.US.code -> IetfLanguageCode.English.US - IetfLanguageCode.English.US.POSIX.code -> IetfLanguageCode.English.US.POSIX - IetfLanguageCode.English.VC.code -> IetfLanguageCode.English.VC - IetfLanguageCode.English.VG.code -> IetfLanguageCode.English.VG - IetfLanguageCode.English.VI.code -> IetfLanguageCode.English.VI - IetfLanguageCode.English.VU.code -> IetfLanguageCode.English.VU - IetfLanguageCode.English.WS.code -> IetfLanguageCode.English.WS - IetfLanguageCode.English.ZA.code -> IetfLanguageCode.English.ZA - IetfLanguageCode.English.ZM.code -> IetfLanguageCode.English.ZM - IetfLanguageCode.English.ZW.code -> IetfLanguageCode.English.ZW - IetfLanguageCode.Esperanto.code -> IetfLanguageCode.Esperanto - IetfLanguageCode.Esperanto.L001.code -> IetfLanguageCode.Esperanto.L001 - IetfLanguageCode.SpanishCastilian.code -> IetfLanguageCode.SpanishCastilian - IetfLanguageCode.SpanishCastilian.L419.code -> IetfLanguageCode.SpanishCastilian.L419 - IetfLanguageCode.SpanishCastilian.AR.code -> IetfLanguageCode.SpanishCastilian.AR - IetfLanguageCode.SpanishCastilian.BO.code -> IetfLanguageCode.SpanishCastilian.BO - IetfLanguageCode.SpanishCastilian.BR.code -> IetfLanguageCode.SpanishCastilian.BR - IetfLanguageCode.SpanishCastilian.BZ.code -> IetfLanguageCode.SpanishCastilian.BZ - IetfLanguageCode.SpanishCastilian.CL.code -> IetfLanguageCode.SpanishCastilian.CL - IetfLanguageCode.SpanishCastilian.CO.code -> IetfLanguageCode.SpanishCastilian.CO - IetfLanguageCode.SpanishCastilian.CR.code -> IetfLanguageCode.SpanishCastilian.CR - IetfLanguageCode.SpanishCastilian.CU.code -> IetfLanguageCode.SpanishCastilian.CU - IetfLanguageCode.SpanishCastilian.DO.code -> IetfLanguageCode.SpanishCastilian.DO - IetfLanguageCode.SpanishCastilian.EA.code -> IetfLanguageCode.SpanishCastilian.EA - IetfLanguageCode.SpanishCastilian.EC.code -> IetfLanguageCode.SpanishCastilian.EC - IetfLanguageCode.SpanishCastilian.ES.code -> IetfLanguageCode.SpanishCastilian.ES - IetfLanguageCode.SpanishCastilian.GQ.code -> IetfLanguageCode.SpanishCastilian.GQ - IetfLanguageCode.SpanishCastilian.GT.code -> IetfLanguageCode.SpanishCastilian.GT - IetfLanguageCode.SpanishCastilian.HN.code -> IetfLanguageCode.SpanishCastilian.HN - IetfLanguageCode.SpanishCastilian.IC.code -> IetfLanguageCode.SpanishCastilian.IC - IetfLanguageCode.SpanishCastilian.MX.code -> IetfLanguageCode.SpanishCastilian.MX - IetfLanguageCode.SpanishCastilian.NI.code -> IetfLanguageCode.SpanishCastilian.NI - IetfLanguageCode.SpanishCastilian.PA.code -> IetfLanguageCode.SpanishCastilian.PA - IetfLanguageCode.SpanishCastilian.PE.code -> IetfLanguageCode.SpanishCastilian.PE - IetfLanguageCode.SpanishCastilian.PH.code -> IetfLanguageCode.SpanishCastilian.PH - IetfLanguageCode.SpanishCastilian.PR.code -> IetfLanguageCode.SpanishCastilian.PR - IetfLanguageCode.SpanishCastilian.PY.code -> IetfLanguageCode.SpanishCastilian.PY - IetfLanguageCode.SpanishCastilian.SV.code -> IetfLanguageCode.SpanishCastilian.SV - IetfLanguageCode.SpanishCastilian.US.code -> IetfLanguageCode.SpanishCastilian.US - IetfLanguageCode.SpanishCastilian.UY.code -> IetfLanguageCode.SpanishCastilian.UY - IetfLanguageCode.SpanishCastilian.VE.code -> IetfLanguageCode.SpanishCastilian.VE - IetfLanguageCode.Estonian.code -> IetfLanguageCode.Estonian - IetfLanguageCode.Estonian.EE.code -> IetfLanguageCode.Estonian.EE - IetfLanguageCode.Basque.code -> IetfLanguageCode.Basque - IetfLanguageCode.Basque.ES.code -> IetfLanguageCode.Basque.ES - IetfLanguageCode.Persian.code -> IetfLanguageCode.Persian - IetfLanguageCode.Persian.AF.code -> IetfLanguageCode.Persian.AF - IetfLanguageCode.Persian.IR.code -> IetfLanguageCode.Persian.IR - IetfLanguageCode.Fulah.code -> IetfLanguageCode.Fulah - IetfLanguageCode.Fulah.Adlm.code -> IetfLanguageCode.Fulah.Adlm - IetfLanguageCode.Fulah.Adlm.BF.code -> IetfLanguageCode.Fulah.Adlm.BF - IetfLanguageCode.Fulah.Adlm.CM.code -> IetfLanguageCode.Fulah.Adlm.CM - IetfLanguageCode.Fulah.Adlm.GH.code -> IetfLanguageCode.Fulah.Adlm.GH - IetfLanguageCode.Fulah.Adlm.GM.code -> IetfLanguageCode.Fulah.Adlm.GM - IetfLanguageCode.Fulah.Adlm.GN.code -> IetfLanguageCode.Fulah.Adlm.GN - IetfLanguageCode.Fulah.Adlm.GW.code -> IetfLanguageCode.Fulah.Adlm.GW - IetfLanguageCode.Fulah.Adlm.LR.code -> IetfLanguageCode.Fulah.Adlm.LR - IetfLanguageCode.Fulah.Adlm.MR.code -> IetfLanguageCode.Fulah.Adlm.MR - IetfLanguageCode.Fulah.Adlm.NE.code -> IetfLanguageCode.Fulah.Adlm.NE - IetfLanguageCode.Fulah.Adlm.NG.code -> IetfLanguageCode.Fulah.Adlm.NG - IetfLanguageCode.Fulah.Adlm.SL.code -> IetfLanguageCode.Fulah.Adlm.SL - IetfLanguageCode.Fulah.Adlm.SN.code -> IetfLanguageCode.Fulah.Adlm.SN - IetfLanguageCode.Fulah.Latn.code -> IetfLanguageCode.Fulah.Latn - IetfLanguageCode.Fulah.Latn.BF.code -> IetfLanguageCode.Fulah.Latn.BF - IetfLanguageCode.Fulah.Latn.CM.code -> IetfLanguageCode.Fulah.Latn.CM - IetfLanguageCode.Fulah.Latn.GH.code -> IetfLanguageCode.Fulah.Latn.GH - IetfLanguageCode.Fulah.Latn.GM.code -> IetfLanguageCode.Fulah.Latn.GM - IetfLanguageCode.Fulah.Latn.GN.code -> IetfLanguageCode.Fulah.Latn.GN - IetfLanguageCode.Fulah.Latn.GW.code -> IetfLanguageCode.Fulah.Latn.GW - IetfLanguageCode.Fulah.Latn.LR.code -> IetfLanguageCode.Fulah.Latn.LR - IetfLanguageCode.Fulah.Latn.MR.code -> IetfLanguageCode.Fulah.Latn.MR - IetfLanguageCode.Fulah.Latn.NE.code -> IetfLanguageCode.Fulah.Latn.NE - IetfLanguageCode.Fulah.Latn.NG.code -> IetfLanguageCode.Fulah.Latn.NG - IetfLanguageCode.Fulah.Latn.SL.code -> IetfLanguageCode.Fulah.Latn.SL - IetfLanguageCode.Fulah.Latn.SN.code -> IetfLanguageCode.Fulah.Latn.SN - IetfLanguageCode.Finnish.code -> IetfLanguageCode.Finnish - IetfLanguageCode.Finnish.FI.code -> IetfLanguageCode.Finnish.FI - IetfLanguageCode.Fijian.code -> IetfLanguageCode.Fijian - IetfLanguageCode.Faroese.code -> IetfLanguageCode.Faroese - IetfLanguageCode.Faroese.DK.code -> IetfLanguageCode.Faroese.DK - IetfLanguageCode.Faroese.FO.code -> IetfLanguageCode.Faroese.FO - IetfLanguageCode.French.code -> IetfLanguageCode.French - IetfLanguageCode.French.BE.code -> IetfLanguageCode.French.BE - IetfLanguageCode.French.BF.code -> IetfLanguageCode.French.BF - IetfLanguageCode.French.BI.code -> IetfLanguageCode.French.BI - IetfLanguageCode.French.BJ.code -> IetfLanguageCode.French.BJ - IetfLanguageCode.French.BL.code -> IetfLanguageCode.French.BL - IetfLanguageCode.French.CA.code -> IetfLanguageCode.French.CA - IetfLanguageCode.French.CD.code -> IetfLanguageCode.French.CD - IetfLanguageCode.French.CF.code -> IetfLanguageCode.French.CF - IetfLanguageCode.French.CG.code -> IetfLanguageCode.French.CG - IetfLanguageCode.French.CH.code -> IetfLanguageCode.French.CH - IetfLanguageCode.French.CI.code -> IetfLanguageCode.French.CI - IetfLanguageCode.French.CM.code -> IetfLanguageCode.French.CM - IetfLanguageCode.French.DJ.code -> IetfLanguageCode.French.DJ - IetfLanguageCode.French.DZ.code -> IetfLanguageCode.French.DZ - IetfLanguageCode.French.FR.code -> IetfLanguageCode.French.FR - IetfLanguageCode.French.GA.code -> IetfLanguageCode.French.GA - IetfLanguageCode.French.GF.code -> IetfLanguageCode.French.GF - IetfLanguageCode.French.GN.code -> IetfLanguageCode.French.GN - IetfLanguageCode.French.GP.code -> IetfLanguageCode.French.GP - IetfLanguageCode.French.GQ.code -> IetfLanguageCode.French.GQ - IetfLanguageCode.French.HT.code -> IetfLanguageCode.French.HT - IetfLanguageCode.French.KM.code -> IetfLanguageCode.French.KM - IetfLanguageCode.French.LU.code -> IetfLanguageCode.French.LU - IetfLanguageCode.French.MA.code -> IetfLanguageCode.French.MA - IetfLanguageCode.French.MC.code -> IetfLanguageCode.French.MC - IetfLanguageCode.French.MF.code -> IetfLanguageCode.French.MF - IetfLanguageCode.French.MG.code -> IetfLanguageCode.French.MG - IetfLanguageCode.French.ML.code -> IetfLanguageCode.French.ML - IetfLanguageCode.French.MQ.code -> IetfLanguageCode.French.MQ - IetfLanguageCode.French.MR.code -> IetfLanguageCode.French.MR - IetfLanguageCode.French.MU.code -> IetfLanguageCode.French.MU - IetfLanguageCode.French.NC.code -> IetfLanguageCode.French.NC - IetfLanguageCode.French.NE.code -> IetfLanguageCode.French.NE - IetfLanguageCode.French.PF.code -> IetfLanguageCode.French.PF - IetfLanguageCode.French.PM.code -> IetfLanguageCode.French.PM - IetfLanguageCode.French.RE.code -> IetfLanguageCode.French.RE - IetfLanguageCode.French.RW.code -> IetfLanguageCode.French.RW - IetfLanguageCode.French.SC.code -> IetfLanguageCode.French.SC - IetfLanguageCode.French.SN.code -> IetfLanguageCode.French.SN - IetfLanguageCode.French.SY.code -> IetfLanguageCode.French.SY - IetfLanguageCode.French.TD.code -> IetfLanguageCode.French.TD - IetfLanguageCode.French.TG.code -> IetfLanguageCode.French.TG - IetfLanguageCode.French.TN.code -> IetfLanguageCode.French.TN - IetfLanguageCode.French.VU.code -> IetfLanguageCode.French.VU - IetfLanguageCode.French.WF.code -> IetfLanguageCode.French.WF - IetfLanguageCode.French.YT.code -> IetfLanguageCode.French.YT - IetfLanguageCode.WesternFrisian.code -> IetfLanguageCode.WesternFrisian - IetfLanguageCode.WesternFrisian.NL.code -> IetfLanguageCode.WesternFrisian.NL - IetfLanguageCode.Irish.code -> IetfLanguageCode.Irish - IetfLanguageCode.Irish.GB.code -> IetfLanguageCode.Irish.GB - IetfLanguageCode.Irish.IE.code -> IetfLanguageCode.Irish.IE - IetfLanguageCode.GaelicScottishGaelic.code -> IetfLanguageCode.GaelicScottishGaelic - IetfLanguageCode.GaelicScottishGaelic.GB.code -> IetfLanguageCode.GaelicScottishGaelic.GB - IetfLanguageCode.Galician.code -> IetfLanguageCode.Galician - IetfLanguageCode.Galician.ES.code -> IetfLanguageCode.Galician.ES - IetfLanguageCode.Guarani.code -> IetfLanguageCode.Guarani - IetfLanguageCode.Gujarati.code -> IetfLanguageCode.Gujarati - IetfLanguageCode.Gujarati.IN.code -> IetfLanguageCode.Gujarati.IN - IetfLanguageCode.Manx.code -> IetfLanguageCode.Manx - IetfLanguageCode.Manx.IM.code -> IetfLanguageCode.Manx.IM - IetfLanguageCode.Hausa.code -> IetfLanguageCode.Hausa - IetfLanguageCode.Hausa.GH.code -> IetfLanguageCode.Hausa.GH - IetfLanguageCode.Hausa.NE.code -> IetfLanguageCode.Hausa.NE - IetfLanguageCode.Hausa.NG.code -> IetfLanguageCode.Hausa.NG - IetfLanguageCode.Hebrew.code -> IetfLanguageCode.Hebrew - IetfLanguageCode.Hebrew.IL.code -> IetfLanguageCode.Hebrew.IL - IetfLanguageCode.Hindi.code -> IetfLanguageCode.Hindi - IetfLanguageCode.Hindi.IN.code -> IetfLanguageCode.Hindi.IN - IetfLanguageCode.HiriMotu.code -> IetfLanguageCode.HiriMotu - IetfLanguageCode.Croatian.code -> IetfLanguageCode.Croatian - IetfLanguageCode.Croatian.BA.code -> IetfLanguageCode.Croatian.BA - IetfLanguageCode.Croatian.HR.code -> IetfLanguageCode.Croatian.HR - IetfLanguageCode.HaitianHaitianCreole.code -> IetfLanguageCode.HaitianHaitianCreole - IetfLanguageCode.Hungarian.code -> IetfLanguageCode.Hungarian - IetfLanguageCode.Hungarian.HU.code -> IetfLanguageCode.Hungarian.HU - IetfLanguageCode.Armenian.code -> IetfLanguageCode.Armenian - IetfLanguageCode.Armenian.AM.code -> IetfLanguageCode.Armenian.AM - IetfLanguageCode.Herero.code -> IetfLanguageCode.Herero - IetfLanguageCode.InterlinguaInternationalAuxiliaryLanguageAssociation.code -> IetfLanguageCode.InterlinguaInternationalAuxiliaryLanguageAssociation - IetfLanguageCode.InterlinguaInternationalAuxiliaryLanguageAssociation.L001.code -> IetfLanguageCode.InterlinguaInternationalAuxiliaryLanguageAssociation.L001 - IetfLanguageCode.Indonesian.code -> IetfLanguageCode.Indonesian - IetfLanguageCode.Indonesian.ID.code -> IetfLanguageCode.Indonesian.ID - IetfLanguageCode.InterlingueOccidental.code -> IetfLanguageCode.InterlingueOccidental - IetfLanguageCode.Igbo.code -> IetfLanguageCode.Igbo - IetfLanguageCode.Igbo.NG.code -> IetfLanguageCode.Igbo.NG - IetfLanguageCode.SichuanYiNuosu.code -> IetfLanguageCode.SichuanYiNuosu - IetfLanguageCode.SichuanYiNuosu.CN.code -> IetfLanguageCode.SichuanYiNuosu.CN - IetfLanguageCode.Inupiaq.code -> IetfLanguageCode.Inupiaq - IetfLanguageCode.Ido.code -> IetfLanguageCode.Ido - IetfLanguageCode.Icelandic.code -> IetfLanguageCode.Icelandic - IetfLanguageCode.Icelandic.IS.code -> IetfLanguageCode.Icelandic.IS - IetfLanguageCode.Italian.code -> IetfLanguageCode.Italian - IetfLanguageCode.Italian.CH.code -> IetfLanguageCode.Italian.CH - IetfLanguageCode.Italian.IT.code -> IetfLanguageCode.Italian.IT - IetfLanguageCode.Italian.SM.code -> IetfLanguageCode.Italian.SM - IetfLanguageCode.Italian.VA.code -> IetfLanguageCode.Italian.VA - IetfLanguageCode.Inuktitut.code -> IetfLanguageCode.Inuktitut - IetfLanguageCode.Japanese.code -> IetfLanguageCode.Japanese - IetfLanguageCode.Japanese.JP.code -> IetfLanguageCode.Japanese.JP - IetfLanguageCode.Javanese.code -> IetfLanguageCode.Javanese - IetfLanguageCode.Javanese.ID.code -> IetfLanguageCode.Javanese.ID - IetfLanguageCode.Georgian.code -> IetfLanguageCode.Georgian - IetfLanguageCode.Georgian.GE.code -> IetfLanguageCode.Georgian.GE - IetfLanguageCode.Kongo.code -> IetfLanguageCode.Kongo - IetfLanguageCode.KikuyuGikuyu.code -> IetfLanguageCode.KikuyuGikuyu - IetfLanguageCode.KikuyuGikuyu.KE.code -> IetfLanguageCode.KikuyuGikuyu.KE - IetfLanguageCode.KuanyamaKwanyama.code -> IetfLanguageCode.KuanyamaKwanyama - IetfLanguageCode.Kazakh.code -> IetfLanguageCode.Kazakh - IetfLanguageCode.Kazakh.KZ.code -> IetfLanguageCode.Kazakh.KZ - IetfLanguageCode.KalaallisutGreenlandic.code -> IetfLanguageCode.KalaallisutGreenlandic - IetfLanguageCode.KalaallisutGreenlandic.GL.code -> IetfLanguageCode.KalaallisutGreenlandic.GL - IetfLanguageCode.CentralKhmer.code -> IetfLanguageCode.CentralKhmer - IetfLanguageCode.CentralKhmer.KH.code -> IetfLanguageCode.CentralKhmer.KH - IetfLanguageCode.Kannada.code -> IetfLanguageCode.Kannada - IetfLanguageCode.Kannada.IN.code -> IetfLanguageCode.Kannada.IN - IetfLanguageCode.Korean.code -> IetfLanguageCode.Korean - IetfLanguageCode.Korean.KP.code -> IetfLanguageCode.Korean.KP - IetfLanguageCode.Korean.KR.code -> IetfLanguageCode.Korean.KR - IetfLanguageCode.Kanuri.code -> IetfLanguageCode.Kanuri - IetfLanguageCode.Kashmiri.code -> IetfLanguageCode.Kashmiri - IetfLanguageCode.Kashmiri.Arab.code -> IetfLanguageCode.Kashmiri.Arab - IetfLanguageCode.Kashmiri.Arab.IN.code -> IetfLanguageCode.Kashmiri.Arab.IN - IetfLanguageCode.Kurdish.code -> IetfLanguageCode.Kurdish - IetfLanguageCode.Kurdish.TR.code -> IetfLanguageCode.Kurdish.TR - IetfLanguageCode.Komi.code -> IetfLanguageCode.Komi - IetfLanguageCode.Cornish.code -> IetfLanguageCode.Cornish - IetfLanguageCode.Cornish.GB.code -> IetfLanguageCode.Cornish.GB - IetfLanguageCode.KirghizKyrgyz.code -> IetfLanguageCode.KirghizKyrgyz - IetfLanguageCode.KirghizKyrgyz.KG.code -> IetfLanguageCode.KirghizKyrgyz.KG - IetfLanguageCode.Latin.code -> IetfLanguageCode.Latin - IetfLanguageCode.LuxembourgishLetzeburgesch.code -> IetfLanguageCode.LuxembourgishLetzeburgesch - IetfLanguageCode.LuxembourgishLetzeburgesch.LU.code -> IetfLanguageCode.LuxembourgishLetzeburgesch.LU - IetfLanguageCode.Ganda.code -> IetfLanguageCode.Ganda - IetfLanguageCode.Ganda.UG.code -> IetfLanguageCode.Ganda.UG - IetfLanguageCode.LimburganLimburgerLimburgish.code -> IetfLanguageCode.LimburganLimburgerLimburgish - IetfLanguageCode.Lingala.code -> IetfLanguageCode.Lingala - IetfLanguageCode.Lingala.AO.code -> IetfLanguageCode.Lingala.AO - IetfLanguageCode.Lingala.CD.code -> IetfLanguageCode.Lingala.CD - IetfLanguageCode.Lingala.CF.code -> IetfLanguageCode.Lingala.CF - IetfLanguageCode.Lingala.CG.code -> IetfLanguageCode.Lingala.CG - IetfLanguageCode.Lao.code -> IetfLanguageCode.Lao - IetfLanguageCode.Lao.LA.code -> IetfLanguageCode.Lao.LA - IetfLanguageCode.Lithuanian.code -> IetfLanguageCode.Lithuanian - IetfLanguageCode.Lithuanian.LT.code -> IetfLanguageCode.Lithuanian.LT - IetfLanguageCode.LubaKatanga.code -> IetfLanguageCode.LubaKatanga - IetfLanguageCode.LubaKatanga.CD.code -> IetfLanguageCode.LubaKatanga.CD - IetfLanguageCode.Latvian.code -> IetfLanguageCode.Latvian - IetfLanguageCode.Latvian.LV.code -> IetfLanguageCode.Latvian.LV - IetfLanguageCode.Malagasy.code -> IetfLanguageCode.Malagasy - IetfLanguageCode.Malagasy.MG.code -> IetfLanguageCode.Malagasy.MG - IetfLanguageCode.Marshallese.code -> IetfLanguageCode.Marshallese - IetfLanguageCode.Maori.code -> IetfLanguageCode.Maori - IetfLanguageCode.Maori.NZ.code -> IetfLanguageCode.Maori.NZ - IetfLanguageCode.Macedonian.code -> IetfLanguageCode.Macedonian - IetfLanguageCode.Macedonian.MK.code -> IetfLanguageCode.Macedonian.MK - IetfLanguageCode.Malayalam.code -> IetfLanguageCode.Malayalam - IetfLanguageCode.Malayalam.IN.code -> IetfLanguageCode.Malayalam.IN - IetfLanguageCode.Mongolian.code -> IetfLanguageCode.Mongolian - IetfLanguageCode.Mongolian.MN.code -> IetfLanguageCode.Mongolian.MN - IetfLanguageCode.Marathi.code -> IetfLanguageCode.Marathi - IetfLanguageCode.Marathi.IN.code -> IetfLanguageCode.Marathi.IN - IetfLanguageCode.Malay.code -> IetfLanguageCode.Malay - IetfLanguageCode.Malay.BN.code -> IetfLanguageCode.Malay.BN - IetfLanguageCode.Malay.ID.code -> IetfLanguageCode.Malay.ID - IetfLanguageCode.Malay.MY.code -> IetfLanguageCode.Malay.MY - IetfLanguageCode.Malay.SG.code -> IetfLanguageCode.Malay.SG - IetfLanguageCode.Maltese.code -> IetfLanguageCode.Maltese - IetfLanguageCode.Maltese.MT.code -> IetfLanguageCode.Maltese.MT - IetfLanguageCode.Burmese.code -> IetfLanguageCode.Burmese - IetfLanguageCode.Burmese.MM.code -> IetfLanguageCode.Burmese.MM - IetfLanguageCode.Nauru.code -> IetfLanguageCode.Nauru - IetfLanguageCode.BokmalNorwegianNorwegianBokmal.code -> IetfLanguageCode.BokmalNorwegianNorwegianBokmal - IetfLanguageCode.BokmalNorwegianNorwegianBokmal.NO.code -> IetfLanguageCode.BokmalNorwegianNorwegianBokmal.NO - IetfLanguageCode.BokmalNorwegianNorwegianBokmal.SJ.code -> IetfLanguageCode.BokmalNorwegianNorwegianBokmal.SJ - IetfLanguageCode.NdebeleNorthNorthNdebele.code -> IetfLanguageCode.NdebeleNorthNorthNdebele - IetfLanguageCode.NdebeleNorthNorthNdebele.ZW.code -> IetfLanguageCode.NdebeleNorthNorthNdebele.ZW - IetfLanguageCode.Nepali.code -> IetfLanguageCode.Nepali - IetfLanguageCode.Nepali.IN.code -> IetfLanguageCode.Nepali.IN - IetfLanguageCode.Nepali.NP.code -> IetfLanguageCode.Nepali.NP - IetfLanguageCode.Ndonga.code -> IetfLanguageCode.Ndonga - IetfLanguageCode.DutchFlemish.code -> IetfLanguageCode.DutchFlemish - IetfLanguageCode.DutchFlemish.AW.code -> IetfLanguageCode.DutchFlemish.AW - IetfLanguageCode.DutchFlemish.BE.code -> IetfLanguageCode.DutchFlemish.BE - IetfLanguageCode.DutchFlemish.BQ.code -> IetfLanguageCode.DutchFlemish.BQ - IetfLanguageCode.DutchFlemish.CW.code -> IetfLanguageCode.DutchFlemish.CW - IetfLanguageCode.DutchFlemish.NL.code -> IetfLanguageCode.DutchFlemish.NL - IetfLanguageCode.DutchFlemish.SR.code -> IetfLanguageCode.DutchFlemish.SR - IetfLanguageCode.DutchFlemish.SX.code -> IetfLanguageCode.DutchFlemish.SX - IetfLanguageCode.NorwegianNynorskNynorskNorwegian.code -> IetfLanguageCode.NorwegianNynorskNynorskNorwegian - IetfLanguageCode.NorwegianNynorskNynorskNorwegian.NO.code -> IetfLanguageCode.NorwegianNynorskNynorskNorwegian.NO - IetfLanguageCode.Norwegian.code -> IetfLanguageCode.Norwegian - IetfLanguageCode.NdebeleSouthSouthNdebele.code -> IetfLanguageCode.NdebeleSouthSouthNdebele - IetfLanguageCode.NavajoNavaho.code -> IetfLanguageCode.NavajoNavaho - IetfLanguageCode.ChichewaChewaNyanja.code -> IetfLanguageCode.ChichewaChewaNyanja - IetfLanguageCode.OccitanPost1500.code -> IetfLanguageCode.OccitanPost1500 - IetfLanguageCode.Ojibwa.code -> IetfLanguageCode.Ojibwa - IetfLanguageCode.Oromo.code -> IetfLanguageCode.Oromo - IetfLanguageCode.Oromo.ET.code -> IetfLanguageCode.Oromo.ET - IetfLanguageCode.Oromo.KE.code -> IetfLanguageCode.Oromo.KE - IetfLanguageCode.Oriya.code -> IetfLanguageCode.Oriya - IetfLanguageCode.Oriya.IN.code -> IetfLanguageCode.Oriya.IN - IetfLanguageCode.OssetianOssetic.code -> IetfLanguageCode.OssetianOssetic - IetfLanguageCode.OssetianOssetic.GE.code -> IetfLanguageCode.OssetianOssetic.GE - IetfLanguageCode.OssetianOssetic.RU.code -> IetfLanguageCode.OssetianOssetic.RU - IetfLanguageCode.PanjabiPunjabi.code -> IetfLanguageCode.PanjabiPunjabi - IetfLanguageCode.PanjabiPunjabi.Arab.code -> IetfLanguageCode.PanjabiPunjabi.Arab - IetfLanguageCode.PanjabiPunjabi.Arab.PK.code -> IetfLanguageCode.PanjabiPunjabi.Arab.PK - IetfLanguageCode.PanjabiPunjabi.Guru.code -> IetfLanguageCode.PanjabiPunjabi.Guru - IetfLanguageCode.PanjabiPunjabi.Guru.IN.code -> IetfLanguageCode.PanjabiPunjabi.Guru.IN - IetfLanguageCode.Pali.code -> IetfLanguageCode.Pali - IetfLanguageCode.Polish.code -> IetfLanguageCode.Polish - IetfLanguageCode.Polish.PL.code -> IetfLanguageCode.Polish.PL - IetfLanguageCode.PushtoPashto.code -> IetfLanguageCode.PushtoPashto - IetfLanguageCode.PushtoPashto.AF.code -> IetfLanguageCode.PushtoPashto.AF - IetfLanguageCode.PushtoPashto.PK.code -> IetfLanguageCode.PushtoPashto.PK - IetfLanguageCode.Portuguese.code -> IetfLanguageCode.Portuguese - IetfLanguageCode.Portuguese.AO.code -> IetfLanguageCode.Portuguese.AO - IetfLanguageCode.Portuguese.BR.code -> IetfLanguageCode.Portuguese.BR - IetfLanguageCode.Portuguese.CH.code -> IetfLanguageCode.Portuguese.CH - IetfLanguageCode.Portuguese.CV.code -> IetfLanguageCode.Portuguese.CV - IetfLanguageCode.Portuguese.GQ.code -> IetfLanguageCode.Portuguese.GQ - IetfLanguageCode.Portuguese.GW.code -> IetfLanguageCode.Portuguese.GW - IetfLanguageCode.Portuguese.LU.code -> IetfLanguageCode.Portuguese.LU - IetfLanguageCode.Portuguese.MO.code -> IetfLanguageCode.Portuguese.MO - IetfLanguageCode.Portuguese.MZ.code -> IetfLanguageCode.Portuguese.MZ - IetfLanguageCode.Portuguese.PT.code -> IetfLanguageCode.Portuguese.PT - IetfLanguageCode.Portuguese.ST.code -> IetfLanguageCode.Portuguese.ST - IetfLanguageCode.Portuguese.TL.code -> IetfLanguageCode.Portuguese.TL - IetfLanguageCode.Quechua.code -> IetfLanguageCode.Quechua - IetfLanguageCode.Quechua.BO.code -> IetfLanguageCode.Quechua.BO - IetfLanguageCode.Quechua.EC.code -> IetfLanguageCode.Quechua.EC - IetfLanguageCode.Quechua.PE.code -> IetfLanguageCode.Quechua.PE - IetfLanguageCode.Romansh.code -> IetfLanguageCode.Romansh - IetfLanguageCode.Romansh.CH.code -> IetfLanguageCode.Romansh.CH - IetfLanguageCode.Rundi.code -> IetfLanguageCode.Rundi - IetfLanguageCode.Rundi.BI.code -> IetfLanguageCode.Rundi.BI - IetfLanguageCode.RomanianMoldavianMoldovan.code -> IetfLanguageCode.RomanianMoldavianMoldovan - IetfLanguageCode.RomanianMoldavianMoldovan.MD.code -> IetfLanguageCode.RomanianMoldavianMoldovan.MD - IetfLanguageCode.RomanianMoldavianMoldovan.RO.code -> IetfLanguageCode.RomanianMoldavianMoldovan.RO - IetfLanguageCode.Russian.code -> IetfLanguageCode.Russian - IetfLanguageCode.Russian.BY.code -> IetfLanguageCode.Russian.BY - IetfLanguageCode.Russian.KG.code -> IetfLanguageCode.Russian.KG - IetfLanguageCode.Russian.KZ.code -> IetfLanguageCode.Russian.KZ - IetfLanguageCode.Russian.MD.code -> IetfLanguageCode.Russian.MD - IetfLanguageCode.Russian.RU.code -> IetfLanguageCode.Russian.RU - IetfLanguageCode.Russian.UA.code -> IetfLanguageCode.Russian.UA - IetfLanguageCode.Kinyarwanda.code -> IetfLanguageCode.Kinyarwanda - IetfLanguageCode.Kinyarwanda.RW.code -> IetfLanguageCode.Kinyarwanda.RW - IetfLanguageCode.Sanskrit.code -> IetfLanguageCode.Sanskrit - IetfLanguageCode.Sardinian.code -> IetfLanguageCode.Sardinian - IetfLanguageCode.Sindhi.code -> IetfLanguageCode.Sindhi - IetfLanguageCode.Sindhi.Arab.code -> IetfLanguageCode.Sindhi.Arab - IetfLanguageCode.Sindhi.Arab.PK.code -> IetfLanguageCode.Sindhi.Arab.PK - IetfLanguageCode.Sindhi.Deva.code -> IetfLanguageCode.Sindhi.Deva - IetfLanguageCode.Sindhi.Deva.IN.code -> IetfLanguageCode.Sindhi.Deva.IN - IetfLanguageCode.NorthernSami.code -> IetfLanguageCode.NorthernSami - IetfLanguageCode.NorthernSami.FI.code -> IetfLanguageCode.NorthernSami.FI - IetfLanguageCode.NorthernSami.NO.code -> IetfLanguageCode.NorthernSami.NO - IetfLanguageCode.NorthernSami.SE.code -> IetfLanguageCode.NorthernSami.SE - IetfLanguageCode.Sango.code -> IetfLanguageCode.Sango - IetfLanguageCode.Sango.CF.code -> IetfLanguageCode.Sango.CF - IetfLanguageCode.SinhalaSinhalese.code -> IetfLanguageCode.SinhalaSinhalese - IetfLanguageCode.SinhalaSinhalese.LK.code -> IetfLanguageCode.SinhalaSinhalese.LK - IetfLanguageCode.Slovak.code -> IetfLanguageCode.Slovak - IetfLanguageCode.Slovak.SK.code -> IetfLanguageCode.Slovak.SK - IetfLanguageCode.Slovenian.code -> IetfLanguageCode.Slovenian - IetfLanguageCode.Slovenian.SI.code -> IetfLanguageCode.Slovenian.SI - IetfLanguageCode.Samoan.code -> IetfLanguageCode.Samoan - IetfLanguageCode.Shona.code -> IetfLanguageCode.Shona - IetfLanguageCode.Shona.ZW.code -> IetfLanguageCode.Shona.ZW - IetfLanguageCode.Somali.code -> IetfLanguageCode.Somali - IetfLanguageCode.Somali.DJ.code -> IetfLanguageCode.Somali.DJ - IetfLanguageCode.Somali.ET.code -> IetfLanguageCode.Somali.ET - IetfLanguageCode.Somali.KE.code -> IetfLanguageCode.Somali.KE - IetfLanguageCode.Somali.SO.code -> IetfLanguageCode.Somali.SO - IetfLanguageCode.Albanian.code -> IetfLanguageCode.Albanian - IetfLanguageCode.Albanian.AL.code -> IetfLanguageCode.Albanian.AL - IetfLanguageCode.Albanian.MK.code -> IetfLanguageCode.Albanian.MK - IetfLanguageCode.Albanian.XK.code -> IetfLanguageCode.Albanian.XK - IetfLanguageCode.Serbian.code -> IetfLanguageCode.Serbian - IetfLanguageCode.Serbian.Cyrl.code -> IetfLanguageCode.Serbian.Cyrl - IetfLanguageCode.Serbian.Cyrl.BA.code -> IetfLanguageCode.Serbian.Cyrl.BA - IetfLanguageCode.Serbian.Cyrl.ME.code -> IetfLanguageCode.Serbian.Cyrl.ME - IetfLanguageCode.Serbian.Cyrl.RS.code -> IetfLanguageCode.Serbian.Cyrl.RS - IetfLanguageCode.Serbian.Cyrl.XK.code -> IetfLanguageCode.Serbian.Cyrl.XK - IetfLanguageCode.Serbian.Latn.code -> IetfLanguageCode.Serbian.Latn - IetfLanguageCode.Serbian.Latn.BA.code -> IetfLanguageCode.Serbian.Latn.BA - IetfLanguageCode.Serbian.Latn.ME.code -> IetfLanguageCode.Serbian.Latn.ME - IetfLanguageCode.Serbian.Latn.RS.code -> IetfLanguageCode.Serbian.Latn.RS - IetfLanguageCode.Serbian.Latn.XK.code -> IetfLanguageCode.Serbian.Latn.XK - IetfLanguageCode.Swati.code -> IetfLanguageCode.Swati - IetfLanguageCode.SothoSouthern.code -> IetfLanguageCode.SothoSouthern - IetfLanguageCode.Sundanese.code -> IetfLanguageCode.Sundanese - IetfLanguageCode.Sundanese.Latn.code -> IetfLanguageCode.Sundanese.Latn - IetfLanguageCode.Sundanese.Latn.ID.code -> IetfLanguageCode.Sundanese.Latn.ID - IetfLanguageCode.Swedish.code -> IetfLanguageCode.Swedish - IetfLanguageCode.Swedish.AX.code -> IetfLanguageCode.Swedish.AX - IetfLanguageCode.Swedish.FI.code -> IetfLanguageCode.Swedish.FI - IetfLanguageCode.Swedish.SE.code -> IetfLanguageCode.Swedish.SE - IetfLanguageCode.Swahili.code -> IetfLanguageCode.Swahili - IetfLanguageCode.Swahili.CD.code -> IetfLanguageCode.Swahili.CD - IetfLanguageCode.Swahili.KE.code -> IetfLanguageCode.Swahili.KE - IetfLanguageCode.Swahili.TZ.code -> IetfLanguageCode.Swahili.TZ - IetfLanguageCode.Swahili.UG.code -> IetfLanguageCode.Swahili.UG - IetfLanguageCode.Tamil.code -> IetfLanguageCode.Tamil - IetfLanguageCode.Tamil.IN.code -> IetfLanguageCode.Tamil.IN - IetfLanguageCode.Tamil.LK.code -> IetfLanguageCode.Tamil.LK - IetfLanguageCode.Tamil.MY.code -> IetfLanguageCode.Tamil.MY - IetfLanguageCode.Tamil.SG.code -> IetfLanguageCode.Tamil.SG - IetfLanguageCode.Telugu.code -> IetfLanguageCode.Telugu - IetfLanguageCode.Telugu.IN.code -> IetfLanguageCode.Telugu.IN - IetfLanguageCode.Tajik.code -> IetfLanguageCode.Tajik - IetfLanguageCode.Tajik.TJ.code -> IetfLanguageCode.Tajik.TJ - IetfLanguageCode.Thai.code -> IetfLanguageCode.Thai - IetfLanguageCode.Thai.TH.code -> IetfLanguageCode.Thai.TH - IetfLanguageCode.Tigrinya.code -> IetfLanguageCode.Tigrinya - IetfLanguageCode.Tigrinya.ER.code -> IetfLanguageCode.Tigrinya.ER - IetfLanguageCode.Tigrinya.ET.code -> IetfLanguageCode.Tigrinya.ET - IetfLanguageCode.Turkmen.code -> IetfLanguageCode.Turkmen - IetfLanguageCode.Turkmen.TM.code -> IetfLanguageCode.Turkmen.TM - IetfLanguageCode.Tagalog.code -> IetfLanguageCode.Tagalog - IetfLanguageCode.Tswana.code -> IetfLanguageCode.Tswana - IetfLanguageCode.TongaTongaIslands.code -> IetfLanguageCode.TongaTongaIslands - IetfLanguageCode.TongaTongaIslands.TO.code -> IetfLanguageCode.TongaTongaIslands.TO - IetfLanguageCode.Turkish.code -> IetfLanguageCode.Turkish - IetfLanguageCode.Turkish.CY.code -> IetfLanguageCode.Turkish.CY - IetfLanguageCode.Turkish.TR.code -> IetfLanguageCode.Turkish.TR - IetfLanguageCode.Tsonga.code -> IetfLanguageCode.Tsonga - IetfLanguageCode.Tatar.code -> IetfLanguageCode.Tatar - IetfLanguageCode.Tatar.RU.code -> IetfLanguageCode.Tatar.RU - IetfLanguageCode.Twi.code -> IetfLanguageCode.Twi - IetfLanguageCode.Tahitian.code -> IetfLanguageCode.Tahitian - IetfLanguageCode.UighurUyghur.code -> IetfLanguageCode.UighurUyghur - IetfLanguageCode.UighurUyghur.CN.code -> IetfLanguageCode.UighurUyghur.CN - IetfLanguageCode.Ukrainian.code -> IetfLanguageCode.Ukrainian - IetfLanguageCode.Ukrainian.UA.code -> IetfLanguageCode.Ukrainian.UA - IetfLanguageCode.Urdu.code -> IetfLanguageCode.Urdu - IetfLanguageCode.Urdu.IN.code -> IetfLanguageCode.Urdu.IN - IetfLanguageCode.Urdu.PK.code -> IetfLanguageCode.Urdu.PK - IetfLanguageCode.Uzbek.code -> IetfLanguageCode.Uzbek - IetfLanguageCode.Uzbek.Arab.code -> IetfLanguageCode.Uzbek.Arab - IetfLanguageCode.Uzbek.Arab.AF.code -> IetfLanguageCode.Uzbek.Arab.AF - IetfLanguageCode.Uzbek.Cyrl.code -> IetfLanguageCode.Uzbek.Cyrl - IetfLanguageCode.Uzbek.Cyrl.UZ.code -> IetfLanguageCode.Uzbek.Cyrl.UZ - IetfLanguageCode.Uzbek.Latn.code -> IetfLanguageCode.Uzbek.Latn - IetfLanguageCode.Uzbek.Latn.UZ.code -> IetfLanguageCode.Uzbek.Latn.UZ - IetfLanguageCode.Venda.code -> IetfLanguageCode.Venda - IetfLanguageCode.Vietnamese.code -> IetfLanguageCode.Vietnamese - IetfLanguageCode.Vietnamese.VN.code -> IetfLanguageCode.Vietnamese.VN - IetfLanguageCode.Volapuk.code -> IetfLanguageCode.Volapuk - IetfLanguageCode.Volapuk.L001.code -> IetfLanguageCode.Volapuk.L001 - IetfLanguageCode.Walloon.code -> IetfLanguageCode.Walloon - IetfLanguageCode.Wolof.code -> IetfLanguageCode.Wolof - IetfLanguageCode.Wolof.SN.code -> IetfLanguageCode.Wolof.SN - IetfLanguageCode.Xhosa.code -> IetfLanguageCode.Xhosa - IetfLanguageCode.Xhosa.ZA.code -> IetfLanguageCode.Xhosa.ZA - IetfLanguageCode.Yiddish.code -> IetfLanguageCode.Yiddish - IetfLanguageCode.Yiddish.L001.code -> IetfLanguageCode.Yiddish.L001 - IetfLanguageCode.Yoruba.code -> IetfLanguageCode.Yoruba - IetfLanguageCode.Yoruba.BJ.code -> IetfLanguageCode.Yoruba.BJ - IetfLanguageCode.Yoruba.NG.code -> IetfLanguageCode.Yoruba.NG - IetfLanguageCode.ZhuangChuang.code -> IetfLanguageCode.ZhuangChuang - IetfLanguageCode.Chinese.code -> IetfLanguageCode.Chinese - IetfLanguageCode.Chinese.Hans.code -> IetfLanguageCode.Chinese.Hans - IetfLanguageCode.Chinese.Hans.CN.code -> IetfLanguageCode.Chinese.Hans.CN - IetfLanguageCode.Chinese.Hans.HK.code -> IetfLanguageCode.Chinese.Hans.HK - IetfLanguageCode.Chinese.Hans.MO.code -> IetfLanguageCode.Chinese.Hans.MO - IetfLanguageCode.Chinese.Hans.SG.code -> IetfLanguageCode.Chinese.Hans.SG - IetfLanguageCode.Chinese.Hant.code -> IetfLanguageCode.Chinese.Hant - IetfLanguageCode.Chinese.Hant.HK.code -> IetfLanguageCode.Chinese.Hant.HK - IetfLanguageCode.Chinese.Hant.MO.code -> IetfLanguageCode.Chinese.Hant.MO - IetfLanguageCode.Chinese.Hant.TW.code -> IetfLanguageCode.Chinese.Hant.TW - IetfLanguageCode.Zulu.code -> IetfLanguageCode.Zulu - IetfLanguageCode.Zulu.ZA.code -> IetfLanguageCode.Zulu.ZA - else -> IetfLanguageCode.UnknownIetfLanguageCode(this) - } +val knownLanguageCodesMap: Map by lazy { + mapOf( + IetfLang.Afar.code to IetfLang.Afar, + IetfLang.Abkhazian.code to IetfLang.Abkhazian, + IetfLang.Avestan.code to IetfLang.Avestan, + IetfLang.Afrikaans.code to IetfLang.Afrikaans, + IetfLang.Afrikaans.NA.code to IetfLang.Afrikaans.NA, + IetfLang.Afrikaans.ZA.code to IetfLang.Afrikaans.ZA, + IetfLang.Akan.code to IetfLang.Akan, + IetfLang.Akan.GH.code to IetfLang.Akan.GH, + IetfLang.Amharic.code to IetfLang.Amharic, + IetfLang.Amharic.ET.code to IetfLang.Amharic.ET, + IetfLang.Aragonese.code to IetfLang.Aragonese, + IetfLang.Arabic.code to IetfLang.Arabic, + IetfLang.Arabic.L001.code to IetfLang.Arabic.L001, + IetfLang.Arabic.AE.code to IetfLang.Arabic.AE, + IetfLang.Arabic.BH.code to IetfLang.Arabic.BH, + IetfLang.Arabic.DJ.code to IetfLang.Arabic.DJ, + IetfLang.Arabic.DZ.code to IetfLang.Arabic.DZ, + IetfLang.Arabic.EG.code to IetfLang.Arabic.EG, + IetfLang.Arabic.EH.code to IetfLang.Arabic.EH, + IetfLang.Arabic.ER.code to IetfLang.Arabic.ER, + IetfLang.Arabic.IL.code to IetfLang.Arabic.IL, + IetfLang.Arabic.IQ.code to IetfLang.Arabic.IQ, + IetfLang.Arabic.JO.code to IetfLang.Arabic.JO, + IetfLang.Arabic.KM.code to IetfLang.Arabic.KM, + IetfLang.Arabic.KW.code to IetfLang.Arabic.KW, + IetfLang.Arabic.LB.code to IetfLang.Arabic.LB, + IetfLang.Arabic.LY.code to IetfLang.Arabic.LY, + IetfLang.Arabic.MA.code to IetfLang.Arabic.MA, + IetfLang.Arabic.MR.code to IetfLang.Arabic.MR, + IetfLang.Arabic.OM.code to IetfLang.Arabic.OM, + IetfLang.Arabic.PS.code to IetfLang.Arabic.PS, + IetfLang.Arabic.QA.code to IetfLang.Arabic.QA, + IetfLang.Arabic.SA.code to IetfLang.Arabic.SA, + IetfLang.Arabic.SD.code to IetfLang.Arabic.SD, + IetfLang.Arabic.SO.code to IetfLang.Arabic.SO, + IetfLang.Arabic.SS.code to IetfLang.Arabic.SS, + IetfLang.Arabic.SY.code to IetfLang.Arabic.SY, + IetfLang.Arabic.TD.code to IetfLang.Arabic.TD, + IetfLang.Arabic.TN.code to IetfLang.Arabic.TN, + IetfLang.Arabic.YE.code to IetfLang.Arabic.YE, + IetfLang.Assamese.code to IetfLang.Assamese, + IetfLang.Assamese.IN.code to IetfLang.Assamese.IN, + IetfLang.Avaric.code to IetfLang.Avaric, + IetfLang.Aymara.code to IetfLang.Aymara, + IetfLang.Azerbaijani.code to IetfLang.Azerbaijani, + IetfLang.Azerbaijani.Cyrl.code to IetfLang.Azerbaijani.Cyrl, + IetfLang.Azerbaijani.Cyrl.AZ.code to IetfLang.Azerbaijani.Cyrl.AZ, + IetfLang.Azerbaijani.Latn.code to IetfLang.Azerbaijani.Latn, + IetfLang.Azerbaijani.Latn.AZ.code to IetfLang.Azerbaijani.Latn.AZ, + IetfLang.Bashkir.code to IetfLang.Bashkir, + IetfLang.Belarusian.code to IetfLang.Belarusian, + IetfLang.Belarusian.BY.code to IetfLang.Belarusian.BY, + IetfLang.Bulgarian.code to IetfLang.Bulgarian, + IetfLang.Bulgarian.BG.code to IetfLang.Bulgarian.BG, + IetfLang.BihariLanguages.code to IetfLang.BihariLanguages, + IetfLang.Bislama.code to IetfLang.Bislama, + IetfLang.Bambara.code to IetfLang.Bambara, + IetfLang.Bambara.ML.code to IetfLang.Bambara.ML, + IetfLang.Bengali.code to IetfLang.Bengali, + IetfLang.Bengali.BD.code to IetfLang.Bengali.BD, + IetfLang.Bengali.IN.code to IetfLang.Bengali.IN, + IetfLang.Tibetan.code to IetfLang.Tibetan, + IetfLang.Tibetan.CN.code to IetfLang.Tibetan.CN, + IetfLang.Tibetan.IN.code to IetfLang.Tibetan.IN, + IetfLang.Breton.code to IetfLang.Breton, + IetfLang.Breton.FR.code to IetfLang.Breton.FR, + IetfLang.Bosnian.code to IetfLang.Bosnian, + IetfLang.Bosnian.Cyrl.code to IetfLang.Bosnian.Cyrl, + IetfLang.Bosnian.Cyrl.BA.code to IetfLang.Bosnian.Cyrl.BA, + IetfLang.Bosnian.Latn.code to IetfLang.Bosnian.Latn, + IetfLang.Bosnian.Latn.BA.code to IetfLang.Bosnian.Latn.BA, + IetfLang.CatalanValencian.code to IetfLang.CatalanValencian, + IetfLang.CatalanValencian.AD.code to IetfLang.CatalanValencian.AD, + IetfLang.CatalanValencian.ES.code to IetfLang.CatalanValencian.ES, + IetfLang.CatalanValencian.ES.VALENCIA.code to IetfLang.CatalanValencian.ES.VALENCIA, + IetfLang.CatalanValencian.FR.code to IetfLang.CatalanValencian.FR, + IetfLang.CatalanValencian.IT.code to IetfLang.CatalanValencian.IT, + IetfLang.Chechen.code to IetfLang.Chechen, + IetfLang.Chechen.RU.code to IetfLang.Chechen.RU, + IetfLang.Chamorro.code to IetfLang.Chamorro, + IetfLang.Corsican.code to IetfLang.Corsican, + IetfLang.Cree.code to IetfLang.Cree, + IetfLang.Czech.code to IetfLang.Czech, + IetfLang.Czech.CZ.code to IetfLang.Czech.CZ, + IetfLang.ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic.code to IetfLang.ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic, + IetfLang.ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic.RU.code to IetfLang.ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic.RU, + IetfLang.Chuvash.code to IetfLang.Chuvash, + IetfLang.Welsh.code to IetfLang.Welsh, + IetfLang.Welsh.GB.code to IetfLang.Welsh.GB, + IetfLang.Danish.code to IetfLang.Danish, + IetfLang.Danish.DK.code to IetfLang.Danish.DK, + IetfLang.Danish.GL.code to IetfLang.Danish.GL, + IetfLang.German.code to IetfLang.German, + IetfLang.German.AT.code to IetfLang.German.AT, + IetfLang.German.BE.code to IetfLang.German.BE, + IetfLang.German.CH.code to IetfLang.German.CH, + IetfLang.German.DE.code to IetfLang.German.DE, + IetfLang.German.IT.code to IetfLang.German.IT, + IetfLang.German.LI.code to IetfLang.German.LI, + IetfLang.German.LU.code to IetfLang.German.LU, + IetfLang.DivehiDhivehiMaldivian.code to IetfLang.DivehiDhivehiMaldivian, + IetfLang.Dzongkha.code to IetfLang.Dzongkha, + IetfLang.Dzongkha.BT.code to IetfLang.Dzongkha.BT, + IetfLang.Ewe.code to IetfLang.Ewe, + IetfLang.Ewe.GH.code to IetfLang.Ewe.GH, + IetfLang.Ewe.TG.code to IetfLang.Ewe.TG, + IetfLang.GreekModern1453.code to IetfLang.GreekModern1453, + IetfLang.GreekModern1453.CY.code to IetfLang.GreekModern1453.CY, + IetfLang.GreekModern1453.GR.code to IetfLang.GreekModern1453.GR, + IetfLang.English.code to IetfLang.English, + IetfLang.English.L001.code to IetfLang.English.L001, + IetfLang.English.L150.code to IetfLang.English.L150, + IetfLang.English.AE.code to IetfLang.English.AE, + IetfLang.English.AG.code to IetfLang.English.AG, + IetfLang.English.AI.code to IetfLang.English.AI, + IetfLang.English.AS.code to IetfLang.English.AS, + IetfLang.English.AT.code to IetfLang.English.AT, + IetfLang.English.AU.code to IetfLang.English.AU, + IetfLang.English.BB.code to IetfLang.English.BB, + IetfLang.English.BE.code to IetfLang.English.BE, + IetfLang.English.BI.code to IetfLang.English.BI, + IetfLang.English.BM.code to IetfLang.English.BM, + IetfLang.English.BS.code to IetfLang.English.BS, + IetfLang.English.BW.code to IetfLang.English.BW, + IetfLang.English.BZ.code to IetfLang.English.BZ, + IetfLang.English.CA.code to IetfLang.English.CA, + IetfLang.English.CC.code to IetfLang.English.CC, + IetfLang.English.CH.code to IetfLang.English.CH, + IetfLang.English.CK.code to IetfLang.English.CK, + IetfLang.English.CM.code to IetfLang.English.CM, + IetfLang.English.CX.code to IetfLang.English.CX, + IetfLang.English.CY.code to IetfLang.English.CY, + IetfLang.English.DE.code to IetfLang.English.DE, + IetfLang.English.DG.code to IetfLang.English.DG, + IetfLang.English.DK.code to IetfLang.English.DK, + IetfLang.English.DM.code to IetfLang.English.DM, + IetfLang.English.ER.code to IetfLang.English.ER, + IetfLang.English.FI.code to IetfLang.English.FI, + IetfLang.English.FJ.code to IetfLang.English.FJ, + IetfLang.English.FK.code to IetfLang.English.FK, + IetfLang.English.FM.code to IetfLang.English.FM, + IetfLang.English.GB.code to IetfLang.English.GB, + IetfLang.English.GD.code to IetfLang.English.GD, + IetfLang.English.GG.code to IetfLang.English.GG, + IetfLang.English.GH.code to IetfLang.English.GH, + IetfLang.English.GI.code to IetfLang.English.GI, + IetfLang.English.GM.code to IetfLang.English.GM, + IetfLang.English.GU.code to IetfLang.English.GU, + IetfLang.English.GY.code to IetfLang.English.GY, + IetfLang.English.HK.code to IetfLang.English.HK, + IetfLang.English.IE.code to IetfLang.English.IE, + IetfLang.English.IL.code to IetfLang.English.IL, + IetfLang.English.IM.code to IetfLang.English.IM, + IetfLang.English.IN.code to IetfLang.English.IN, + IetfLang.English.IO.code to IetfLang.English.IO, + IetfLang.English.JE.code to IetfLang.English.JE, + IetfLang.English.JM.code to IetfLang.English.JM, + IetfLang.English.KE.code to IetfLang.English.KE, + IetfLang.English.KI.code to IetfLang.English.KI, + IetfLang.English.KN.code to IetfLang.English.KN, + IetfLang.English.KY.code to IetfLang.English.KY, + IetfLang.English.LC.code to IetfLang.English.LC, + IetfLang.English.LR.code to IetfLang.English.LR, + IetfLang.English.LS.code to IetfLang.English.LS, + IetfLang.English.MG.code to IetfLang.English.MG, + IetfLang.English.MH.code to IetfLang.English.MH, + IetfLang.English.MO.code to IetfLang.English.MO, + IetfLang.English.MP.code to IetfLang.English.MP, + IetfLang.English.MS.code to IetfLang.English.MS, + IetfLang.English.MT.code to IetfLang.English.MT, + IetfLang.English.MU.code to IetfLang.English.MU, + IetfLang.English.MW.code to IetfLang.English.MW, + IetfLang.English.MY.code to IetfLang.English.MY, + IetfLang.English.NA.code to IetfLang.English.NA, + IetfLang.English.NF.code to IetfLang.English.NF, + IetfLang.English.NG.code to IetfLang.English.NG, + IetfLang.English.NL.code to IetfLang.English.NL, + IetfLang.English.NR.code to IetfLang.English.NR, + IetfLang.English.NU.code to IetfLang.English.NU, + IetfLang.English.NZ.code to IetfLang.English.NZ, + IetfLang.English.PG.code to IetfLang.English.PG, + IetfLang.English.PH.code to IetfLang.English.PH, + IetfLang.English.PK.code to IetfLang.English.PK, + IetfLang.English.PN.code to IetfLang.English.PN, + IetfLang.English.PR.code to IetfLang.English.PR, + IetfLang.English.PW.code to IetfLang.English.PW, + IetfLang.English.RW.code to IetfLang.English.RW, + IetfLang.English.SB.code to IetfLang.English.SB, + IetfLang.English.SC.code to IetfLang.English.SC, + IetfLang.English.SD.code to IetfLang.English.SD, + IetfLang.English.SE.code to IetfLang.English.SE, + IetfLang.English.SG.code to IetfLang.English.SG, + IetfLang.English.SH.code to IetfLang.English.SH, + IetfLang.English.SI.code to IetfLang.English.SI, + IetfLang.English.SL.code to IetfLang.English.SL, + IetfLang.English.SS.code to IetfLang.English.SS, + IetfLang.English.SX.code to IetfLang.English.SX, + IetfLang.English.SZ.code to IetfLang.English.SZ, + IetfLang.English.TC.code to IetfLang.English.TC, + IetfLang.English.TK.code to IetfLang.English.TK, + IetfLang.English.TO.code to IetfLang.English.TO, + IetfLang.English.TT.code to IetfLang.English.TT, + IetfLang.English.TV.code to IetfLang.English.TV, + IetfLang.English.TZ.code to IetfLang.English.TZ, + IetfLang.English.UG.code to IetfLang.English.UG, + IetfLang.English.UM.code to IetfLang.English.UM, + IetfLang.English.US.code to IetfLang.English.US, + IetfLang.English.US.POSIX.code to IetfLang.English.US.POSIX, + IetfLang.English.VC.code to IetfLang.English.VC, + IetfLang.English.VG.code to IetfLang.English.VG, + IetfLang.English.VI.code to IetfLang.English.VI, + IetfLang.English.VU.code to IetfLang.English.VU, + IetfLang.English.WS.code to IetfLang.English.WS, + IetfLang.English.ZA.code to IetfLang.English.ZA, + IetfLang.English.ZM.code to IetfLang.English.ZM, + IetfLang.English.ZW.code to IetfLang.English.ZW, + IetfLang.Esperanto.code to IetfLang.Esperanto, + IetfLang.Esperanto.L001.code to IetfLang.Esperanto.L001, + IetfLang.SpanishCastilian.code to IetfLang.SpanishCastilian, + IetfLang.SpanishCastilian.L419.code to IetfLang.SpanishCastilian.L419, + IetfLang.SpanishCastilian.AR.code to IetfLang.SpanishCastilian.AR, + IetfLang.SpanishCastilian.BO.code to IetfLang.SpanishCastilian.BO, + IetfLang.SpanishCastilian.BR.code to IetfLang.SpanishCastilian.BR, + IetfLang.SpanishCastilian.BZ.code to IetfLang.SpanishCastilian.BZ, + IetfLang.SpanishCastilian.CL.code to IetfLang.SpanishCastilian.CL, + IetfLang.SpanishCastilian.CO.code to IetfLang.SpanishCastilian.CO, + IetfLang.SpanishCastilian.CR.code to IetfLang.SpanishCastilian.CR, + IetfLang.SpanishCastilian.CU.code to IetfLang.SpanishCastilian.CU, + IetfLang.SpanishCastilian.DO.code to IetfLang.SpanishCastilian.DO, + IetfLang.SpanishCastilian.EA.code to IetfLang.SpanishCastilian.EA, + IetfLang.SpanishCastilian.EC.code to IetfLang.SpanishCastilian.EC, + IetfLang.SpanishCastilian.ES.code to IetfLang.SpanishCastilian.ES, + IetfLang.SpanishCastilian.GQ.code to IetfLang.SpanishCastilian.GQ, + IetfLang.SpanishCastilian.GT.code to IetfLang.SpanishCastilian.GT, + IetfLang.SpanishCastilian.HN.code to IetfLang.SpanishCastilian.HN, + IetfLang.SpanishCastilian.IC.code to IetfLang.SpanishCastilian.IC, + IetfLang.SpanishCastilian.MX.code to IetfLang.SpanishCastilian.MX, + IetfLang.SpanishCastilian.NI.code to IetfLang.SpanishCastilian.NI, + IetfLang.SpanishCastilian.PA.code to IetfLang.SpanishCastilian.PA, + IetfLang.SpanishCastilian.PE.code to IetfLang.SpanishCastilian.PE, + IetfLang.SpanishCastilian.PH.code to IetfLang.SpanishCastilian.PH, + IetfLang.SpanishCastilian.PR.code to IetfLang.SpanishCastilian.PR, + IetfLang.SpanishCastilian.PY.code to IetfLang.SpanishCastilian.PY, + IetfLang.SpanishCastilian.SV.code to IetfLang.SpanishCastilian.SV, + IetfLang.SpanishCastilian.US.code to IetfLang.SpanishCastilian.US, + IetfLang.SpanishCastilian.UY.code to IetfLang.SpanishCastilian.UY, + IetfLang.SpanishCastilian.VE.code to IetfLang.SpanishCastilian.VE, + IetfLang.Estonian.code to IetfLang.Estonian, + IetfLang.Estonian.EE.code to IetfLang.Estonian.EE, + IetfLang.Basque.code to IetfLang.Basque, + IetfLang.Basque.ES.code to IetfLang.Basque.ES, + IetfLang.Persian.code to IetfLang.Persian, + IetfLang.Persian.AF.code to IetfLang.Persian.AF, + IetfLang.Persian.IR.code to IetfLang.Persian.IR, + IetfLang.Fulah.code to IetfLang.Fulah, + IetfLang.Fulah.Adlm.code to IetfLang.Fulah.Adlm, + IetfLang.Fulah.Adlm.BF.code to IetfLang.Fulah.Adlm.BF, + IetfLang.Fulah.Adlm.CM.code to IetfLang.Fulah.Adlm.CM, + IetfLang.Fulah.Adlm.GH.code to IetfLang.Fulah.Adlm.GH, + IetfLang.Fulah.Adlm.GM.code to IetfLang.Fulah.Adlm.GM, + IetfLang.Fulah.Adlm.GN.code to IetfLang.Fulah.Adlm.GN, + IetfLang.Fulah.Adlm.GW.code to IetfLang.Fulah.Adlm.GW, + IetfLang.Fulah.Adlm.LR.code to IetfLang.Fulah.Adlm.LR, + IetfLang.Fulah.Adlm.MR.code to IetfLang.Fulah.Adlm.MR, + IetfLang.Fulah.Adlm.NE.code to IetfLang.Fulah.Adlm.NE, + IetfLang.Fulah.Adlm.NG.code to IetfLang.Fulah.Adlm.NG, + IetfLang.Fulah.Adlm.SL.code to IetfLang.Fulah.Adlm.SL, + IetfLang.Fulah.Adlm.SN.code to IetfLang.Fulah.Adlm.SN, + IetfLang.Fulah.Latn.code to IetfLang.Fulah.Latn, + IetfLang.Fulah.Latn.BF.code to IetfLang.Fulah.Latn.BF, + IetfLang.Fulah.Latn.CM.code to IetfLang.Fulah.Latn.CM, + IetfLang.Fulah.Latn.GH.code to IetfLang.Fulah.Latn.GH, + IetfLang.Fulah.Latn.GM.code to IetfLang.Fulah.Latn.GM, + IetfLang.Fulah.Latn.GN.code to IetfLang.Fulah.Latn.GN, + IetfLang.Fulah.Latn.GW.code to IetfLang.Fulah.Latn.GW, + IetfLang.Fulah.Latn.LR.code to IetfLang.Fulah.Latn.LR, + IetfLang.Fulah.Latn.MR.code to IetfLang.Fulah.Latn.MR, + IetfLang.Fulah.Latn.NE.code to IetfLang.Fulah.Latn.NE, + IetfLang.Fulah.Latn.NG.code to IetfLang.Fulah.Latn.NG, + IetfLang.Fulah.Latn.SL.code to IetfLang.Fulah.Latn.SL, + IetfLang.Fulah.Latn.SN.code to IetfLang.Fulah.Latn.SN, + IetfLang.Finnish.code to IetfLang.Finnish, + IetfLang.Finnish.FI.code to IetfLang.Finnish.FI, + IetfLang.Fijian.code to IetfLang.Fijian, + IetfLang.Faroese.code to IetfLang.Faroese, + IetfLang.Faroese.DK.code to IetfLang.Faroese.DK, + IetfLang.Faroese.FO.code to IetfLang.Faroese.FO, + IetfLang.French.code to IetfLang.French, + IetfLang.French.BE.code to IetfLang.French.BE, + IetfLang.French.BF.code to IetfLang.French.BF, + IetfLang.French.BI.code to IetfLang.French.BI, + IetfLang.French.BJ.code to IetfLang.French.BJ, + IetfLang.French.BL.code to IetfLang.French.BL, + IetfLang.French.CA.code to IetfLang.French.CA, + IetfLang.French.CD.code to IetfLang.French.CD, + IetfLang.French.CF.code to IetfLang.French.CF, + IetfLang.French.CG.code to IetfLang.French.CG, + IetfLang.French.CH.code to IetfLang.French.CH, + IetfLang.French.CI.code to IetfLang.French.CI, + IetfLang.French.CM.code to IetfLang.French.CM, + IetfLang.French.DJ.code to IetfLang.French.DJ, + IetfLang.French.DZ.code to IetfLang.French.DZ, + IetfLang.French.FR.code to IetfLang.French.FR, + IetfLang.French.GA.code to IetfLang.French.GA, + IetfLang.French.GF.code to IetfLang.French.GF, + IetfLang.French.GN.code to IetfLang.French.GN, + IetfLang.French.GP.code to IetfLang.French.GP, + IetfLang.French.GQ.code to IetfLang.French.GQ, + IetfLang.French.HT.code to IetfLang.French.HT, + IetfLang.French.KM.code to IetfLang.French.KM, + IetfLang.French.LU.code to IetfLang.French.LU, + IetfLang.French.MA.code to IetfLang.French.MA, + IetfLang.French.MC.code to IetfLang.French.MC, + IetfLang.French.MF.code to IetfLang.French.MF, + IetfLang.French.MG.code to IetfLang.French.MG, + IetfLang.French.ML.code to IetfLang.French.ML, + IetfLang.French.MQ.code to IetfLang.French.MQ, + IetfLang.French.MR.code to IetfLang.French.MR, + IetfLang.French.MU.code to IetfLang.French.MU, + IetfLang.French.NC.code to IetfLang.French.NC, + IetfLang.French.NE.code to IetfLang.French.NE, + IetfLang.French.PF.code to IetfLang.French.PF, + IetfLang.French.PM.code to IetfLang.French.PM, + IetfLang.French.RE.code to IetfLang.French.RE, + IetfLang.French.RW.code to IetfLang.French.RW, + IetfLang.French.SC.code to IetfLang.French.SC, + IetfLang.French.SN.code to IetfLang.French.SN, + IetfLang.French.SY.code to IetfLang.French.SY, + IetfLang.French.TD.code to IetfLang.French.TD, + IetfLang.French.TG.code to IetfLang.French.TG, + IetfLang.French.TN.code to IetfLang.French.TN, + IetfLang.French.VU.code to IetfLang.French.VU, + IetfLang.French.WF.code to IetfLang.French.WF, + IetfLang.French.YT.code to IetfLang.French.YT, + IetfLang.WesternFrisian.code to IetfLang.WesternFrisian, + IetfLang.WesternFrisian.NL.code to IetfLang.WesternFrisian.NL, + IetfLang.Irish.code to IetfLang.Irish, + IetfLang.Irish.GB.code to IetfLang.Irish.GB, + IetfLang.Irish.IE.code to IetfLang.Irish.IE, + IetfLang.GaelicScottishGaelic.code to IetfLang.GaelicScottishGaelic, + IetfLang.GaelicScottishGaelic.GB.code to IetfLang.GaelicScottishGaelic.GB, + IetfLang.Galician.code to IetfLang.Galician, + IetfLang.Galician.ES.code to IetfLang.Galician.ES, + IetfLang.Guarani.code to IetfLang.Guarani, + IetfLang.Gujarati.code to IetfLang.Gujarati, + IetfLang.Gujarati.IN.code to IetfLang.Gujarati.IN, + IetfLang.Manx.code to IetfLang.Manx, + IetfLang.Manx.IM.code to IetfLang.Manx.IM, + IetfLang.Hausa.code to IetfLang.Hausa, + IetfLang.Hausa.GH.code to IetfLang.Hausa.GH, + IetfLang.Hausa.NE.code to IetfLang.Hausa.NE, + IetfLang.Hausa.NG.code to IetfLang.Hausa.NG, + IetfLang.Hebrew.code to IetfLang.Hebrew, + IetfLang.Hebrew.IL.code to IetfLang.Hebrew.IL, + IetfLang.Hindi.code to IetfLang.Hindi, + IetfLang.Hindi.IN.code to IetfLang.Hindi.IN, + IetfLang.HiriMotu.code to IetfLang.HiriMotu, + IetfLang.Croatian.code to IetfLang.Croatian, + IetfLang.Croatian.BA.code to IetfLang.Croatian.BA, + IetfLang.Croatian.HR.code to IetfLang.Croatian.HR, + IetfLang.HaitianHaitianCreole.code to IetfLang.HaitianHaitianCreole, + IetfLang.Hungarian.code to IetfLang.Hungarian, + IetfLang.Hungarian.HU.code to IetfLang.Hungarian.HU, + IetfLang.Armenian.code to IetfLang.Armenian, + IetfLang.Armenian.AM.code to IetfLang.Armenian.AM, + IetfLang.Herero.code to IetfLang.Herero, + IetfLang.InterlinguaInternationalAuxiliaryLanguageAssociation.code to IetfLang.InterlinguaInternationalAuxiliaryLanguageAssociation, + IetfLang.InterlinguaInternationalAuxiliaryLanguageAssociation.L001.code to IetfLang.InterlinguaInternationalAuxiliaryLanguageAssociation.L001, + IetfLang.Indonesian.code to IetfLang.Indonesian, + IetfLang.Indonesian.ID.code to IetfLang.Indonesian.ID, + IetfLang.InterlingueOccidental.code to IetfLang.InterlingueOccidental, + IetfLang.Igbo.code to IetfLang.Igbo, + IetfLang.Igbo.NG.code to IetfLang.Igbo.NG, + IetfLang.SichuanYiNuosu.code to IetfLang.SichuanYiNuosu, + IetfLang.SichuanYiNuosu.CN.code to IetfLang.SichuanYiNuosu.CN, + IetfLang.Inupiaq.code to IetfLang.Inupiaq, + IetfLang.Ido.code to IetfLang.Ido, + IetfLang.Icelandic.code to IetfLang.Icelandic, + IetfLang.Icelandic.IS.code to IetfLang.Icelandic.IS, + IetfLang.Italian.code to IetfLang.Italian, + IetfLang.Italian.CH.code to IetfLang.Italian.CH, + IetfLang.Italian.IT.code to IetfLang.Italian.IT, + IetfLang.Italian.SM.code to IetfLang.Italian.SM, + IetfLang.Italian.VA.code to IetfLang.Italian.VA, + IetfLang.Inuktitut.code to IetfLang.Inuktitut, + IetfLang.Japanese.code to IetfLang.Japanese, + IetfLang.Japanese.JP.code to IetfLang.Japanese.JP, + IetfLang.Javanese.code to IetfLang.Javanese, + IetfLang.Javanese.ID.code to IetfLang.Javanese.ID, + IetfLang.Georgian.code to IetfLang.Georgian, + IetfLang.Georgian.GE.code to IetfLang.Georgian.GE, + IetfLang.Kongo.code to IetfLang.Kongo, + IetfLang.KikuyuGikuyu.code to IetfLang.KikuyuGikuyu, + IetfLang.KikuyuGikuyu.KE.code to IetfLang.KikuyuGikuyu.KE, + IetfLang.KuanyamaKwanyama.code to IetfLang.KuanyamaKwanyama, + IetfLang.Kazakh.code to IetfLang.Kazakh, + IetfLang.Kazakh.KZ.code to IetfLang.Kazakh.KZ, + IetfLang.KalaallisutGreenlandic.code to IetfLang.KalaallisutGreenlandic, + IetfLang.KalaallisutGreenlandic.GL.code to IetfLang.KalaallisutGreenlandic.GL, + IetfLang.CentralKhmer.code to IetfLang.CentralKhmer, + IetfLang.CentralKhmer.KH.code to IetfLang.CentralKhmer.KH, + IetfLang.Kannada.code to IetfLang.Kannada, + IetfLang.Kannada.IN.code to IetfLang.Kannada.IN, + IetfLang.Korean.code to IetfLang.Korean, + IetfLang.Korean.KP.code to IetfLang.Korean.KP, + IetfLang.Korean.KR.code to IetfLang.Korean.KR, + IetfLang.Kanuri.code to IetfLang.Kanuri, + IetfLang.Kashmiri.code to IetfLang.Kashmiri, + IetfLang.Kashmiri.Arab.code to IetfLang.Kashmiri.Arab, + IetfLang.Kashmiri.Arab.IN.code to IetfLang.Kashmiri.Arab.IN, + IetfLang.Kurdish.code to IetfLang.Kurdish, + IetfLang.Kurdish.TR.code to IetfLang.Kurdish.TR, + IetfLang.Komi.code to IetfLang.Komi, + IetfLang.Cornish.code to IetfLang.Cornish, + IetfLang.Cornish.GB.code to IetfLang.Cornish.GB, + IetfLang.KirghizKyrgyz.code to IetfLang.KirghizKyrgyz, + IetfLang.KirghizKyrgyz.KG.code to IetfLang.KirghizKyrgyz.KG, + IetfLang.Latin.code to IetfLang.Latin, + IetfLang.LuxembourgishLetzeburgesch.code to IetfLang.LuxembourgishLetzeburgesch, + IetfLang.LuxembourgishLetzeburgesch.LU.code to IetfLang.LuxembourgishLetzeburgesch.LU, + IetfLang.Ganda.code to IetfLang.Ganda, + IetfLang.Ganda.UG.code to IetfLang.Ganda.UG, + IetfLang.LimburganLimburgerLimburgish.code to IetfLang.LimburganLimburgerLimburgish, + IetfLang.Lingala.code to IetfLang.Lingala, + IetfLang.Lingala.AO.code to IetfLang.Lingala.AO, + IetfLang.Lingala.CD.code to IetfLang.Lingala.CD, + IetfLang.Lingala.CF.code to IetfLang.Lingala.CF, + IetfLang.Lingala.CG.code to IetfLang.Lingala.CG, + IetfLang.Lao.code to IetfLang.Lao, + IetfLang.Lao.LA.code to IetfLang.Lao.LA, + IetfLang.Lithuanian.code to IetfLang.Lithuanian, + IetfLang.Lithuanian.LT.code to IetfLang.Lithuanian.LT, + IetfLang.LubaKatanga.code to IetfLang.LubaKatanga, + IetfLang.LubaKatanga.CD.code to IetfLang.LubaKatanga.CD, + IetfLang.Latvian.code to IetfLang.Latvian, + IetfLang.Latvian.LV.code to IetfLang.Latvian.LV, + IetfLang.Malagasy.code to IetfLang.Malagasy, + IetfLang.Malagasy.MG.code to IetfLang.Malagasy.MG, + IetfLang.Marshallese.code to IetfLang.Marshallese, + IetfLang.Maori.code to IetfLang.Maori, + IetfLang.Maori.NZ.code to IetfLang.Maori.NZ, + IetfLang.Macedonian.code to IetfLang.Macedonian, + IetfLang.Macedonian.MK.code to IetfLang.Macedonian.MK, + IetfLang.Malayalam.code to IetfLang.Malayalam, + IetfLang.Malayalam.IN.code to IetfLang.Malayalam.IN, + IetfLang.Mongolian.code to IetfLang.Mongolian, + IetfLang.Mongolian.MN.code to IetfLang.Mongolian.MN, + IetfLang.Marathi.code to IetfLang.Marathi, + IetfLang.Marathi.IN.code to IetfLang.Marathi.IN, + IetfLang.Malay.code to IetfLang.Malay, + IetfLang.Malay.BN.code to IetfLang.Malay.BN, + IetfLang.Malay.ID.code to IetfLang.Malay.ID, + IetfLang.Malay.MY.code to IetfLang.Malay.MY, + IetfLang.Malay.SG.code to IetfLang.Malay.SG, + IetfLang.Maltese.code to IetfLang.Maltese, + IetfLang.Maltese.MT.code to IetfLang.Maltese.MT, + IetfLang.Burmese.code to IetfLang.Burmese, + IetfLang.Burmese.MM.code to IetfLang.Burmese.MM, + IetfLang.Nauru.code to IetfLang.Nauru, + IetfLang.BokmalNorwegianNorwegianBokmal.code to IetfLang.BokmalNorwegianNorwegianBokmal, + IetfLang.BokmalNorwegianNorwegianBokmal.NO.code to IetfLang.BokmalNorwegianNorwegianBokmal.NO, + IetfLang.BokmalNorwegianNorwegianBokmal.SJ.code to IetfLang.BokmalNorwegianNorwegianBokmal.SJ, + IetfLang.NdebeleNorthNorthNdebele.code to IetfLang.NdebeleNorthNorthNdebele, + IetfLang.NdebeleNorthNorthNdebele.ZW.code to IetfLang.NdebeleNorthNorthNdebele.ZW, + IetfLang.Nepali.code to IetfLang.Nepali, + IetfLang.Nepali.IN.code to IetfLang.Nepali.IN, + IetfLang.Nepali.NP.code to IetfLang.Nepali.NP, + IetfLang.Ndonga.code to IetfLang.Ndonga, + IetfLang.DutchFlemish.code to IetfLang.DutchFlemish, + IetfLang.DutchFlemish.AW.code to IetfLang.DutchFlemish.AW, + IetfLang.DutchFlemish.BE.code to IetfLang.DutchFlemish.BE, + IetfLang.DutchFlemish.BQ.code to IetfLang.DutchFlemish.BQ, + IetfLang.DutchFlemish.CW.code to IetfLang.DutchFlemish.CW, + IetfLang.DutchFlemish.NL.code to IetfLang.DutchFlemish.NL, + IetfLang.DutchFlemish.SR.code to IetfLang.DutchFlemish.SR, + IetfLang.DutchFlemish.SX.code to IetfLang.DutchFlemish.SX, + IetfLang.NorwegianNynorskNynorskNorwegian.code to IetfLang.NorwegianNynorskNynorskNorwegian, + IetfLang.NorwegianNynorskNynorskNorwegian.NO.code to IetfLang.NorwegianNynorskNynorskNorwegian.NO, + IetfLang.Norwegian.code to IetfLang.Norwegian, + IetfLang.NdebeleSouthSouthNdebele.code to IetfLang.NdebeleSouthSouthNdebele, + IetfLang.NavajoNavaho.code to IetfLang.NavajoNavaho, + IetfLang.ChichewaChewaNyanja.code to IetfLang.ChichewaChewaNyanja, + IetfLang.OccitanPost1500.code to IetfLang.OccitanPost1500, + IetfLang.Ojibwa.code to IetfLang.Ojibwa, + IetfLang.Oromo.code to IetfLang.Oromo, + IetfLang.Oromo.ET.code to IetfLang.Oromo.ET, + IetfLang.Oromo.KE.code to IetfLang.Oromo.KE, + IetfLang.Oriya.code to IetfLang.Oriya, + IetfLang.Oriya.IN.code to IetfLang.Oriya.IN, + IetfLang.OssetianOssetic.code to IetfLang.OssetianOssetic, + IetfLang.OssetianOssetic.GE.code to IetfLang.OssetianOssetic.GE, + IetfLang.OssetianOssetic.RU.code to IetfLang.OssetianOssetic.RU, + IetfLang.PanjabiPunjabi.code to IetfLang.PanjabiPunjabi, + IetfLang.PanjabiPunjabi.Arab.code to IetfLang.PanjabiPunjabi.Arab, + IetfLang.PanjabiPunjabi.Arab.PK.code to IetfLang.PanjabiPunjabi.Arab.PK, + IetfLang.PanjabiPunjabi.Guru.code to IetfLang.PanjabiPunjabi.Guru, + IetfLang.PanjabiPunjabi.Guru.IN.code to IetfLang.PanjabiPunjabi.Guru.IN, + IetfLang.Pali.code to IetfLang.Pali, + IetfLang.Polish.code to IetfLang.Polish, + IetfLang.Polish.PL.code to IetfLang.Polish.PL, + IetfLang.PushtoPashto.code to IetfLang.PushtoPashto, + IetfLang.PushtoPashto.AF.code to IetfLang.PushtoPashto.AF, + IetfLang.PushtoPashto.PK.code to IetfLang.PushtoPashto.PK, + IetfLang.Portuguese.code to IetfLang.Portuguese, + IetfLang.Portuguese.AO.code to IetfLang.Portuguese.AO, + IetfLang.Portuguese.BR.code to IetfLang.Portuguese.BR, + IetfLang.Portuguese.CH.code to IetfLang.Portuguese.CH, + IetfLang.Portuguese.CV.code to IetfLang.Portuguese.CV, + IetfLang.Portuguese.GQ.code to IetfLang.Portuguese.GQ, + IetfLang.Portuguese.GW.code to IetfLang.Portuguese.GW, + IetfLang.Portuguese.LU.code to IetfLang.Portuguese.LU, + IetfLang.Portuguese.MO.code to IetfLang.Portuguese.MO, + IetfLang.Portuguese.MZ.code to IetfLang.Portuguese.MZ, + IetfLang.Portuguese.PT.code to IetfLang.Portuguese.PT, + IetfLang.Portuguese.ST.code to IetfLang.Portuguese.ST, + IetfLang.Portuguese.TL.code to IetfLang.Portuguese.TL, + IetfLang.Quechua.code to IetfLang.Quechua, + IetfLang.Quechua.BO.code to IetfLang.Quechua.BO, + IetfLang.Quechua.EC.code to IetfLang.Quechua.EC, + IetfLang.Quechua.PE.code to IetfLang.Quechua.PE, + IetfLang.Romansh.code to IetfLang.Romansh, + IetfLang.Romansh.CH.code to IetfLang.Romansh.CH, + IetfLang.Rundi.code to IetfLang.Rundi, + IetfLang.Rundi.BI.code to IetfLang.Rundi.BI, + IetfLang.RomanianMoldavianMoldovan.code to IetfLang.RomanianMoldavianMoldovan, + IetfLang.RomanianMoldavianMoldovan.MD.code to IetfLang.RomanianMoldavianMoldovan.MD, + IetfLang.RomanianMoldavianMoldovan.RO.code to IetfLang.RomanianMoldavianMoldovan.RO, + IetfLang.Russian.code to IetfLang.Russian, + IetfLang.Russian.BY.code to IetfLang.Russian.BY, + IetfLang.Russian.KG.code to IetfLang.Russian.KG, + IetfLang.Russian.KZ.code to IetfLang.Russian.KZ, + IetfLang.Russian.MD.code to IetfLang.Russian.MD, + IetfLang.Russian.RU.code to IetfLang.Russian.RU, + IetfLang.Russian.UA.code to IetfLang.Russian.UA, + IetfLang.Kinyarwanda.code to IetfLang.Kinyarwanda, + IetfLang.Kinyarwanda.RW.code to IetfLang.Kinyarwanda.RW, + IetfLang.Sanskrit.code to IetfLang.Sanskrit, + IetfLang.Sardinian.code to IetfLang.Sardinian, + IetfLang.Sindhi.code to IetfLang.Sindhi, + IetfLang.Sindhi.Arab.code to IetfLang.Sindhi.Arab, + IetfLang.Sindhi.Arab.PK.code to IetfLang.Sindhi.Arab.PK, + IetfLang.Sindhi.Deva.code to IetfLang.Sindhi.Deva, + IetfLang.Sindhi.Deva.IN.code to IetfLang.Sindhi.Deva.IN, + IetfLang.NorthernSami.code to IetfLang.NorthernSami, + IetfLang.NorthernSami.FI.code to IetfLang.NorthernSami.FI, + IetfLang.NorthernSami.NO.code to IetfLang.NorthernSami.NO, + IetfLang.NorthernSami.SE.code to IetfLang.NorthernSami.SE, + IetfLang.Sango.code to IetfLang.Sango, + IetfLang.Sango.CF.code to IetfLang.Sango.CF, + IetfLang.SinhalaSinhalese.code to IetfLang.SinhalaSinhalese, + IetfLang.SinhalaSinhalese.LK.code to IetfLang.SinhalaSinhalese.LK, + IetfLang.Slovak.code to IetfLang.Slovak, + IetfLang.Slovak.SK.code to IetfLang.Slovak.SK, + IetfLang.Slovenian.code to IetfLang.Slovenian, + IetfLang.Slovenian.SI.code to IetfLang.Slovenian.SI, + IetfLang.Samoan.code to IetfLang.Samoan, + IetfLang.Shona.code to IetfLang.Shona, + IetfLang.Shona.ZW.code to IetfLang.Shona.ZW, + IetfLang.Somali.code to IetfLang.Somali, + IetfLang.Somali.DJ.code to IetfLang.Somali.DJ, + IetfLang.Somali.ET.code to IetfLang.Somali.ET, + IetfLang.Somali.KE.code to IetfLang.Somali.KE, + IetfLang.Somali.SO.code to IetfLang.Somali.SO, + IetfLang.Albanian.code to IetfLang.Albanian, + IetfLang.Albanian.AL.code to IetfLang.Albanian.AL, + IetfLang.Albanian.MK.code to IetfLang.Albanian.MK, + IetfLang.Albanian.XK.code to IetfLang.Albanian.XK, + IetfLang.Serbian.code to IetfLang.Serbian, + IetfLang.Serbian.Cyrl.code to IetfLang.Serbian.Cyrl, + IetfLang.Serbian.Cyrl.BA.code to IetfLang.Serbian.Cyrl.BA, + IetfLang.Serbian.Cyrl.ME.code to IetfLang.Serbian.Cyrl.ME, + IetfLang.Serbian.Cyrl.RS.code to IetfLang.Serbian.Cyrl.RS, + IetfLang.Serbian.Cyrl.XK.code to IetfLang.Serbian.Cyrl.XK, + IetfLang.Serbian.Latn.code to IetfLang.Serbian.Latn, + IetfLang.Serbian.Latn.BA.code to IetfLang.Serbian.Latn.BA, + IetfLang.Serbian.Latn.ME.code to IetfLang.Serbian.Latn.ME, + IetfLang.Serbian.Latn.RS.code to IetfLang.Serbian.Latn.RS, + IetfLang.Serbian.Latn.XK.code to IetfLang.Serbian.Latn.XK, + IetfLang.Swati.code to IetfLang.Swati, + IetfLang.SothoSouthern.code to IetfLang.SothoSouthern, + IetfLang.Sundanese.code to IetfLang.Sundanese, + IetfLang.Sundanese.Latn.code to IetfLang.Sundanese.Latn, + IetfLang.Sundanese.Latn.ID.code to IetfLang.Sundanese.Latn.ID, + IetfLang.Swedish.code to IetfLang.Swedish, + IetfLang.Swedish.AX.code to IetfLang.Swedish.AX, + IetfLang.Swedish.FI.code to IetfLang.Swedish.FI, + IetfLang.Swedish.SE.code to IetfLang.Swedish.SE, + IetfLang.Swahili.code to IetfLang.Swahili, + IetfLang.Swahili.CD.code to IetfLang.Swahili.CD, + IetfLang.Swahili.KE.code to IetfLang.Swahili.KE, + IetfLang.Swahili.TZ.code to IetfLang.Swahili.TZ, + IetfLang.Swahili.UG.code to IetfLang.Swahili.UG, + IetfLang.Tamil.code to IetfLang.Tamil, + IetfLang.Tamil.IN.code to IetfLang.Tamil.IN, + IetfLang.Tamil.LK.code to IetfLang.Tamil.LK, + IetfLang.Tamil.MY.code to IetfLang.Tamil.MY, + IetfLang.Tamil.SG.code to IetfLang.Tamil.SG, + IetfLang.Telugu.code to IetfLang.Telugu, + IetfLang.Telugu.IN.code to IetfLang.Telugu.IN, + IetfLang.Tajik.code to IetfLang.Tajik, + IetfLang.Tajik.TJ.code to IetfLang.Tajik.TJ, + IetfLang.Thai.code to IetfLang.Thai, + IetfLang.Thai.TH.code to IetfLang.Thai.TH, + IetfLang.Tigrinya.code to IetfLang.Tigrinya, + IetfLang.Tigrinya.ER.code to IetfLang.Tigrinya.ER, + IetfLang.Tigrinya.ET.code to IetfLang.Tigrinya.ET, + IetfLang.Turkmen.code to IetfLang.Turkmen, + IetfLang.Turkmen.TM.code to IetfLang.Turkmen.TM, + IetfLang.Tagalog.code to IetfLang.Tagalog, + IetfLang.Tswana.code to IetfLang.Tswana, + IetfLang.TongaTongaIslands.code to IetfLang.TongaTongaIslands, + IetfLang.TongaTongaIslands.TO.code to IetfLang.TongaTongaIslands.TO, + IetfLang.Turkish.code to IetfLang.Turkish, + IetfLang.Turkish.CY.code to IetfLang.Turkish.CY, + IetfLang.Turkish.TR.code to IetfLang.Turkish.TR, + IetfLang.Tsonga.code to IetfLang.Tsonga, + IetfLang.Tatar.code to IetfLang.Tatar, + IetfLang.Tatar.RU.code to IetfLang.Tatar.RU, + IetfLang.Twi.code to IetfLang.Twi, + IetfLang.Tahitian.code to IetfLang.Tahitian, + IetfLang.UighurUyghur.code to IetfLang.UighurUyghur, + IetfLang.UighurUyghur.CN.code to IetfLang.UighurUyghur.CN, + IetfLang.Ukrainian.code to IetfLang.Ukrainian, + IetfLang.Ukrainian.UA.code to IetfLang.Ukrainian.UA, + IetfLang.Urdu.code to IetfLang.Urdu, + IetfLang.Urdu.IN.code to IetfLang.Urdu.IN, + IetfLang.Urdu.PK.code to IetfLang.Urdu.PK, + IetfLang.Uzbek.code to IetfLang.Uzbek, + IetfLang.Uzbek.Arab.code to IetfLang.Uzbek.Arab, + IetfLang.Uzbek.Arab.AF.code to IetfLang.Uzbek.Arab.AF, + IetfLang.Uzbek.Cyrl.code to IetfLang.Uzbek.Cyrl, + IetfLang.Uzbek.Cyrl.UZ.code to IetfLang.Uzbek.Cyrl.UZ, + IetfLang.Uzbek.Latn.code to IetfLang.Uzbek.Latn, + IetfLang.Uzbek.Latn.UZ.code to IetfLang.Uzbek.Latn.UZ, + IetfLang.Venda.code to IetfLang.Venda, + IetfLang.Vietnamese.code to IetfLang.Vietnamese, + IetfLang.Vietnamese.VN.code to IetfLang.Vietnamese.VN, + IetfLang.Volapuk.code to IetfLang.Volapuk, + IetfLang.Volapuk.L001.code to IetfLang.Volapuk.L001, + IetfLang.Walloon.code to IetfLang.Walloon, + IetfLang.Wolof.code to IetfLang.Wolof, + IetfLang.Wolof.SN.code to IetfLang.Wolof.SN, + IetfLang.Xhosa.code to IetfLang.Xhosa, + IetfLang.Xhosa.ZA.code to IetfLang.Xhosa.ZA, + IetfLang.Yiddish.code to IetfLang.Yiddish, + IetfLang.Yiddish.L001.code to IetfLang.Yiddish.L001, + IetfLang.Yoruba.code to IetfLang.Yoruba, + IetfLang.Yoruba.BJ.code to IetfLang.Yoruba.BJ, + IetfLang.Yoruba.NG.code to IetfLang.Yoruba.NG, + IetfLang.ZhuangChuang.code to IetfLang.ZhuangChuang, + IetfLang.Chinese.code to IetfLang.Chinese, + IetfLang.Chinese.Hans.code to IetfLang.Chinese.Hans, + IetfLang.Chinese.Hans.CN.code to IetfLang.Chinese.Hans.CN, + IetfLang.Chinese.Hans.HK.code to IetfLang.Chinese.Hans.HK, + IetfLang.Chinese.Hans.MO.code to IetfLang.Chinese.Hans.MO, + IetfLang.Chinese.Hans.SG.code to IetfLang.Chinese.Hans.SG, + IetfLang.Chinese.Hant.code to IetfLang.Chinese.Hant, + IetfLang.Chinese.Hant.HK.code to IetfLang.Chinese.Hant.HK, + IetfLang.Chinese.Hant.MO.code to IetfLang.Chinese.Hant.MO, + IetfLang.Chinese.Hant.TW.code to IetfLang.Chinese.Hant.TW, + IetfLang.Zulu.code to IetfLang.Zulu, + IetfLang.Zulu.ZA.code to IetfLang.Zulu.ZA + ) } -fun convertToIetfLanguageCode(code: String) = code.asIetfLanguageCode() -fun IetfLanguageCode(code: String) = code.asIetfLanguageCode() +val knownLanguageCodesMapByLowerCasedKeys: Map by lazy { + mapOf( + IetfLang.Afar.code.lowercase() to IetfLang.Afar, + IetfLang.Abkhazian.code.lowercase() to IetfLang.Abkhazian, + IetfLang.Avestan.code.lowercase() to IetfLang.Avestan, + IetfLang.Afrikaans.code.lowercase() to IetfLang.Afrikaans, + IetfLang.Afrikaans.NA.code.lowercase() to IetfLang.Afrikaans.NA, + IetfLang.Afrikaans.ZA.code.lowercase() to IetfLang.Afrikaans.ZA, + IetfLang.Akan.code.lowercase() to IetfLang.Akan, + IetfLang.Akan.GH.code.lowercase() to IetfLang.Akan.GH, + IetfLang.Amharic.code.lowercase() to IetfLang.Amharic, + IetfLang.Amharic.ET.code.lowercase() to IetfLang.Amharic.ET, + IetfLang.Aragonese.code.lowercase() to IetfLang.Aragonese, + IetfLang.Arabic.code.lowercase() to IetfLang.Arabic, + IetfLang.Arabic.L001.code.lowercase() to IetfLang.Arabic.L001, + IetfLang.Arabic.AE.code.lowercase() to IetfLang.Arabic.AE, + IetfLang.Arabic.BH.code.lowercase() to IetfLang.Arabic.BH, + IetfLang.Arabic.DJ.code.lowercase() to IetfLang.Arabic.DJ, + IetfLang.Arabic.DZ.code.lowercase() to IetfLang.Arabic.DZ, + IetfLang.Arabic.EG.code.lowercase() to IetfLang.Arabic.EG, + IetfLang.Arabic.EH.code.lowercase() to IetfLang.Arabic.EH, + IetfLang.Arabic.ER.code.lowercase() to IetfLang.Arabic.ER, + IetfLang.Arabic.IL.code.lowercase() to IetfLang.Arabic.IL, + IetfLang.Arabic.IQ.code.lowercase() to IetfLang.Arabic.IQ, + IetfLang.Arabic.JO.code.lowercase() to IetfLang.Arabic.JO, + IetfLang.Arabic.KM.code.lowercase() to IetfLang.Arabic.KM, + IetfLang.Arabic.KW.code.lowercase() to IetfLang.Arabic.KW, + IetfLang.Arabic.LB.code.lowercase() to IetfLang.Arabic.LB, + IetfLang.Arabic.LY.code.lowercase() to IetfLang.Arabic.LY, + IetfLang.Arabic.MA.code.lowercase() to IetfLang.Arabic.MA, + IetfLang.Arabic.MR.code.lowercase() to IetfLang.Arabic.MR, + IetfLang.Arabic.OM.code.lowercase() to IetfLang.Arabic.OM, + IetfLang.Arabic.PS.code.lowercase() to IetfLang.Arabic.PS, + IetfLang.Arabic.QA.code.lowercase() to IetfLang.Arabic.QA, + IetfLang.Arabic.SA.code.lowercase() to IetfLang.Arabic.SA, + IetfLang.Arabic.SD.code.lowercase() to IetfLang.Arabic.SD, + IetfLang.Arabic.SO.code.lowercase() to IetfLang.Arabic.SO, + IetfLang.Arabic.SS.code.lowercase() to IetfLang.Arabic.SS, + IetfLang.Arabic.SY.code.lowercase() to IetfLang.Arabic.SY, + IetfLang.Arabic.TD.code.lowercase() to IetfLang.Arabic.TD, + IetfLang.Arabic.TN.code.lowercase() to IetfLang.Arabic.TN, + IetfLang.Arabic.YE.code.lowercase() to IetfLang.Arabic.YE, + IetfLang.Assamese.code.lowercase() to IetfLang.Assamese, + IetfLang.Assamese.IN.code.lowercase() to IetfLang.Assamese.IN, + IetfLang.Avaric.code.lowercase() to IetfLang.Avaric, + IetfLang.Aymara.code.lowercase() to IetfLang.Aymara, + IetfLang.Azerbaijani.code.lowercase() to IetfLang.Azerbaijani, + IetfLang.Azerbaijani.Cyrl.code.lowercase() to IetfLang.Azerbaijani.Cyrl, + IetfLang.Azerbaijani.Cyrl.AZ.code.lowercase() to IetfLang.Azerbaijani.Cyrl.AZ, + IetfLang.Azerbaijani.Latn.code.lowercase() to IetfLang.Azerbaijani.Latn, + IetfLang.Azerbaijani.Latn.AZ.code.lowercase() to IetfLang.Azerbaijani.Latn.AZ, + IetfLang.Bashkir.code.lowercase() to IetfLang.Bashkir, + IetfLang.Belarusian.code.lowercase() to IetfLang.Belarusian, + IetfLang.Belarusian.BY.code.lowercase() to IetfLang.Belarusian.BY, + IetfLang.Bulgarian.code.lowercase() to IetfLang.Bulgarian, + IetfLang.Bulgarian.BG.code.lowercase() to IetfLang.Bulgarian.BG, + IetfLang.BihariLanguages.code.lowercase() to IetfLang.BihariLanguages, + IetfLang.Bislama.code.lowercase() to IetfLang.Bislama, + IetfLang.Bambara.code.lowercase() to IetfLang.Bambara, + IetfLang.Bambara.ML.code.lowercase() to IetfLang.Bambara.ML, + IetfLang.Bengali.code.lowercase() to IetfLang.Bengali, + IetfLang.Bengali.BD.code.lowercase() to IetfLang.Bengali.BD, + IetfLang.Bengali.IN.code.lowercase() to IetfLang.Bengali.IN, + IetfLang.Tibetan.code.lowercase() to IetfLang.Tibetan, + IetfLang.Tibetan.CN.code.lowercase() to IetfLang.Tibetan.CN, + IetfLang.Tibetan.IN.code.lowercase() to IetfLang.Tibetan.IN, + IetfLang.Breton.code.lowercase() to IetfLang.Breton, + IetfLang.Breton.FR.code.lowercase() to IetfLang.Breton.FR, + IetfLang.Bosnian.code.lowercase() to IetfLang.Bosnian, + IetfLang.Bosnian.Cyrl.code.lowercase() to IetfLang.Bosnian.Cyrl, + IetfLang.Bosnian.Cyrl.BA.code.lowercase() to IetfLang.Bosnian.Cyrl.BA, + IetfLang.Bosnian.Latn.code.lowercase() to IetfLang.Bosnian.Latn, + IetfLang.Bosnian.Latn.BA.code.lowercase() to IetfLang.Bosnian.Latn.BA, + IetfLang.CatalanValencian.code.lowercase() to IetfLang.CatalanValencian, + IetfLang.CatalanValencian.AD.code.lowercase() to IetfLang.CatalanValencian.AD, + IetfLang.CatalanValencian.ES.code.lowercase() to IetfLang.CatalanValencian.ES, + IetfLang.CatalanValencian.ES.VALENCIA.code.lowercase() to IetfLang.CatalanValencian.ES.VALENCIA, + IetfLang.CatalanValencian.FR.code.lowercase() to IetfLang.CatalanValencian.FR, + IetfLang.CatalanValencian.IT.code.lowercase() to IetfLang.CatalanValencian.IT, + IetfLang.Chechen.code.lowercase() to IetfLang.Chechen, + IetfLang.Chechen.RU.code.lowercase() to IetfLang.Chechen.RU, + IetfLang.Chamorro.code.lowercase() to IetfLang.Chamorro, + IetfLang.Corsican.code.lowercase() to IetfLang.Corsican, + IetfLang.Cree.code.lowercase() to IetfLang.Cree, + IetfLang.Czech.code.lowercase() to IetfLang.Czech, + IetfLang.Czech.CZ.code.lowercase() to IetfLang.Czech.CZ, + IetfLang.ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic.code.lowercase() to IetfLang.ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic, + IetfLang.ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic.RU.code.lowercase() to IetfLang.ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic.RU, + IetfLang.Chuvash.code.lowercase() to IetfLang.Chuvash, + IetfLang.Welsh.code.lowercase() to IetfLang.Welsh, + IetfLang.Welsh.GB.code.lowercase() to IetfLang.Welsh.GB, + IetfLang.Danish.code.lowercase() to IetfLang.Danish, + IetfLang.Danish.DK.code.lowercase() to IetfLang.Danish.DK, + IetfLang.Danish.GL.code.lowercase() to IetfLang.Danish.GL, + IetfLang.German.code.lowercase() to IetfLang.German, + IetfLang.German.AT.code.lowercase() to IetfLang.German.AT, + IetfLang.German.BE.code.lowercase() to IetfLang.German.BE, + IetfLang.German.CH.code.lowercase() to IetfLang.German.CH, + IetfLang.German.DE.code.lowercase() to IetfLang.German.DE, + IetfLang.German.IT.code.lowercase() to IetfLang.German.IT, + IetfLang.German.LI.code.lowercase() to IetfLang.German.LI, + IetfLang.German.LU.code.lowercase() to IetfLang.German.LU, + IetfLang.DivehiDhivehiMaldivian.code.lowercase() to IetfLang.DivehiDhivehiMaldivian, + IetfLang.Dzongkha.code.lowercase() to IetfLang.Dzongkha, + IetfLang.Dzongkha.BT.code.lowercase() to IetfLang.Dzongkha.BT, + IetfLang.Ewe.code.lowercase() to IetfLang.Ewe, + IetfLang.Ewe.GH.code.lowercase() to IetfLang.Ewe.GH, + IetfLang.Ewe.TG.code.lowercase() to IetfLang.Ewe.TG, + IetfLang.GreekModern1453.code.lowercase() to IetfLang.GreekModern1453, + IetfLang.GreekModern1453.CY.code.lowercase() to IetfLang.GreekModern1453.CY, + IetfLang.GreekModern1453.GR.code.lowercase() to IetfLang.GreekModern1453.GR, + IetfLang.English.code.lowercase() to IetfLang.English, + IetfLang.English.L001.code.lowercase() to IetfLang.English.L001, + IetfLang.English.L150.code.lowercase() to IetfLang.English.L150, + IetfLang.English.AE.code.lowercase() to IetfLang.English.AE, + IetfLang.English.AG.code.lowercase() to IetfLang.English.AG, + IetfLang.English.AI.code.lowercase() to IetfLang.English.AI, + IetfLang.English.AS.code.lowercase() to IetfLang.English.AS, + IetfLang.English.AT.code.lowercase() to IetfLang.English.AT, + IetfLang.English.AU.code.lowercase() to IetfLang.English.AU, + IetfLang.English.BB.code.lowercase() to IetfLang.English.BB, + IetfLang.English.BE.code.lowercase() to IetfLang.English.BE, + IetfLang.English.BI.code.lowercase() to IetfLang.English.BI, + IetfLang.English.BM.code.lowercase() to IetfLang.English.BM, + IetfLang.English.BS.code.lowercase() to IetfLang.English.BS, + IetfLang.English.BW.code.lowercase() to IetfLang.English.BW, + IetfLang.English.BZ.code.lowercase() to IetfLang.English.BZ, + IetfLang.English.CA.code.lowercase() to IetfLang.English.CA, + IetfLang.English.CC.code.lowercase() to IetfLang.English.CC, + IetfLang.English.CH.code.lowercase() to IetfLang.English.CH, + IetfLang.English.CK.code.lowercase() to IetfLang.English.CK, + IetfLang.English.CM.code.lowercase() to IetfLang.English.CM, + IetfLang.English.CX.code.lowercase() to IetfLang.English.CX, + IetfLang.English.CY.code.lowercase() to IetfLang.English.CY, + IetfLang.English.DE.code.lowercase() to IetfLang.English.DE, + IetfLang.English.DG.code.lowercase() to IetfLang.English.DG, + IetfLang.English.DK.code.lowercase() to IetfLang.English.DK, + IetfLang.English.DM.code.lowercase() to IetfLang.English.DM, + IetfLang.English.ER.code.lowercase() to IetfLang.English.ER, + IetfLang.English.FI.code.lowercase() to IetfLang.English.FI, + IetfLang.English.FJ.code.lowercase() to IetfLang.English.FJ, + IetfLang.English.FK.code.lowercase() to IetfLang.English.FK, + IetfLang.English.FM.code.lowercase() to IetfLang.English.FM, + IetfLang.English.GB.code.lowercase() to IetfLang.English.GB, + IetfLang.English.GD.code.lowercase() to IetfLang.English.GD, + IetfLang.English.GG.code.lowercase() to IetfLang.English.GG, + IetfLang.English.GH.code.lowercase() to IetfLang.English.GH, + IetfLang.English.GI.code.lowercase() to IetfLang.English.GI, + IetfLang.English.GM.code.lowercase() to IetfLang.English.GM, + IetfLang.English.GU.code.lowercase() to IetfLang.English.GU, + IetfLang.English.GY.code.lowercase() to IetfLang.English.GY, + IetfLang.English.HK.code.lowercase() to IetfLang.English.HK, + IetfLang.English.IE.code.lowercase() to IetfLang.English.IE, + IetfLang.English.IL.code.lowercase() to IetfLang.English.IL, + IetfLang.English.IM.code.lowercase() to IetfLang.English.IM, + IetfLang.English.IN.code.lowercase() to IetfLang.English.IN, + IetfLang.English.IO.code.lowercase() to IetfLang.English.IO, + IetfLang.English.JE.code.lowercase() to IetfLang.English.JE, + IetfLang.English.JM.code.lowercase() to IetfLang.English.JM, + IetfLang.English.KE.code.lowercase() to IetfLang.English.KE, + IetfLang.English.KI.code.lowercase() to IetfLang.English.KI, + IetfLang.English.KN.code.lowercase() to IetfLang.English.KN, + IetfLang.English.KY.code.lowercase() to IetfLang.English.KY, + IetfLang.English.LC.code.lowercase() to IetfLang.English.LC, + IetfLang.English.LR.code.lowercase() to IetfLang.English.LR, + IetfLang.English.LS.code.lowercase() to IetfLang.English.LS, + IetfLang.English.MG.code.lowercase() to IetfLang.English.MG, + IetfLang.English.MH.code.lowercase() to IetfLang.English.MH, + IetfLang.English.MO.code.lowercase() to IetfLang.English.MO, + IetfLang.English.MP.code.lowercase() to IetfLang.English.MP, + IetfLang.English.MS.code.lowercase() to IetfLang.English.MS, + IetfLang.English.MT.code.lowercase() to IetfLang.English.MT, + IetfLang.English.MU.code.lowercase() to IetfLang.English.MU, + IetfLang.English.MW.code.lowercase() to IetfLang.English.MW, + IetfLang.English.MY.code.lowercase() to IetfLang.English.MY, + IetfLang.English.NA.code.lowercase() to IetfLang.English.NA, + IetfLang.English.NF.code.lowercase() to IetfLang.English.NF, + IetfLang.English.NG.code.lowercase() to IetfLang.English.NG, + IetfLang.English.NL.code.lowercase() to IetfLang.English.NL, + IetfLang.English.NR.code.lowercase() to IetfLang.English.NR, + IetfLang.English.NU.code.lowercase() to IetfLang.English.NU, + IetfLang.English.NZ.code.lowercase() to IetfLang.English.NZ, + IetfLang.English.PG.code.lowercase() to IetfLang.English.PG, + IetfLang.English.PH.code.lowercase() to IetfLang.English.PH, + IetfLang.English.PK.code.lowercase() to IetfLang.English.PK, + IetfLang.English.PN.code.lowercase() to IetfLang.English.PN, + IetfLang.English.PR.code.lowercase() to IetfLang.English.PR, + IetfLang.English.PW.code.lowercase() to IetfLang.English.PW, + IetfLang.English.RW.code.lowercase() to IetfLang.English.RW, + IetfLang.English.SB.code.lowercase() to IetfLang.English.SB, + IetfLang.English.SC.code.lowercase() to IetfLang.English.SC, + IetfLang.English.SD.code.lowercase() to IetfLang.English.SD, + IetfLang.English.SE.code.lowercase() to IetfLang.English.SE, + IetfLang.English.SG.code.lowercase() to IetfLang.English.SG, + IetfLang.English.SH.code.lowercase() to IetfLang.English.SH, + IetfLang.English.SI.code.lowercase() to IetfLang.English.SI, + IetfLang.English.SL.code.lowercase() to IetfLang.English.SL, + IetfLang.English.SS.code.lowercase() to IetfLang.English.SS, + IetfLang.English.SX.code.lowercase() to IetfLang.English.SX, + IetfLang.English.SZ.code.lowercase() to IetfLang.English.SZ, + IetfLang.English.TC.code.lowercase() to IetfLang.English.TC, + IetfLang.English.TK.code.lowercase() to IetfLang.English.TK, + IetfLang.English.TO.code.lowercase() to IetfLang.English.TO, + IetfLang.English.TT.code.lowercase() to IetfLang.English.TT, + IetfLang.English.TV.code.lowercase() to IetfLang.English.TV, + IetfLang.English.TZ.code.lowercase() to IetfLang.English.TZ, + IetfLang.English.UG.code.lowercase() to IetfLang.English.UG, + IetfLang.English.UM.code.lowercase() to IetfLang.English.UM, + IetfLang.English.US.code.lowercase() to IetfLang.English.US, + IetfLang.English.US.POSIX.code.lowercase() to IetfLang.English.US.POSIX, + IetfLang.English.VC.code.lowercase() to IetfLang.English.VC, + IetfLang.English.VG.code.lowercase() to IetfLang.English.VG, + IetfLang.English.VI.code.lowercase() to IetfLang.English.VI, + IetfLang.English.VU.code.lowercase() to IetfLang.English.VU, + IetfLang.English.WS.code.lowercase() to IetfLang.English.WS, + IetfLang.English.ZA.code.lowercase() to IetfLang.English.ZA, + IetfLang.English.ZM.code.lowercase() to IetfLang.English.ZM, + IetfLang.English.ZW.code.lowercase() to IetfLang.English.ZW, + IetfLang.Esperanto.code.lowercase() to IetfLang.Esperanto, + IetfLang.Esperanto.L001.code.lowercase() to IetfLang.Esperanto.L001, + IetfLang.SpanishCastilian.code.lowercase() to IetfLang.SpanishCastilian, + IetfLang.SpanishCastilian.L419.code.lowercase() to IetfLang.SpanishCastilian.L419, + IetfLang.SpanishCastilian.AR.code.lowercase() to IetfLang.SpanishCastilian.AR, + IetfLang.SpanishCastilian.BO.code.lowercase() to IetfLang.SpanishCastilian.BO, + IetfLang.SpanishCastilian.BR.code.lowercase() to IetfLang.SpanishCastilian.BR, + IetfLang.SpanishCastilian.BZ.code.lowercase() to IetfLang.SpanishCastilian.BZ, + IetfLang.SpanishCastilian.CL.code.lowercase() to IetfLang.SpanishCastilian.CL, + IetfLang.SpanishCastilian.CO.code.lowercase() to IetfLang.SpanishCastilian.CO, + IetfLang.SpanishCastilian.CR.code.lowercase() to IetfLang.SpanishCastilian.CR, + IetfLang.SpanishCastilian.CU.code.lowercase() to IetfLang.SpanishCastilian.CU, + IetfLang.SpanishCastilian.DO.code.lowercase() to IetfLang.SpanishCastilian.DO, + IetfLang.SpanishCastilian.EA.code.lowercase() to IetfLang.SpanishCastilian.EA, + IetfLang.SpanishCastilian.EC.code.lowercase() to IetfLang.SpanishCastilian.EC, + IetfLang.SpanishCastilian.ES.code.lowercase() to IetfLang.SpanishCastilian.ES, + IetfLang.SpanishCastilian.GQ.code.lowercase() to IetfLang.SpanishCastilian.GQ, + IetfLang.SpanishCastilian.GT.code.lowercase() to IetfLang.SpanishCastilian.GT, + IetfLang.SpanishCastilian.HN.code.lowercase() to IetfLang.SpanishCastilian.HN, + IetfLang.SpanishCastilian.IC.code.lowercase() to IetfLang.SpanishCastilian.IC, + IetfLang.SpanishCastilian.MX.code.lowercase() to IetfLang.SpanishCastilian.MX, + IetfLang.SpanishCastilian.NI.code.lowercase() to IetfLang.SpanishCastilian.NI, + IetfLang.SpanishCastilian.PA.code.lowercase() to IetfLang.SpanishCastilian.PA, + IetfLang.SpanishCastilian.PE.code.lowercase() to IetfLang.SpanishCastilian.PE, + IetfLang.SpanishCastilian.PH.code.lowercase() to IetfLang.SpanishCastilian.PH, + IetfLang.SpanishCastilian.PR.code.lowercase() to IetfLang.SpanishCastilian.PR, + IetfLang.SpanishCastilian.PY.code.lowercase() to IetfLang.SpanishCastilian.PY, + IetfLang.SpanishCastilian.SV.code.lowercase() to IetfLang.SpanishCastilian.SV, + IetfLang.SpanishCastilian.US.code.lowercase() to IetfLang.SpanishCastilian.US, + IetfLang.SpanishCastilian.UY.code.lowercase() to IetfLang.SpanishCastilian.UY, + IetfLang.SpanishCastilian.VE.code.lowercase() to IetfLang.SpanishCastilian.VE, + IetfLang.Estonian.code.lowercase() to IetfLang.Estonian, + IetfLang.Estonian.EE.code.lowercase() to IetfLang.Estonian.EE, + IetfLang.Basque.code.lowercase() to IetfLang.Basque, + IetfLang.Basque.ES.code.lowercase() to IetfLang.Basque.ES, + IetfLang.Persian.code.lowercase() to IetfLang.Persian, + IetfLang.Persian.AF.code.lowercase() to IetfLang.Persian.AF, + IetfLang.Persian.IR.code.lowercase() to IetfLang.Persian.IR, + IetfLang.Fulah.code.lowercase() to IetfLang.Fulah, + IetfLang.Fulah.Adlm.code.lowercase() to IetfLang.Fulah.Adlm, + IetfLang.Fulah.Adlm.BF.code.lowercase() to IetfLang.Fulah.Adlm.BF, + IetfLang.Fulah.Adlm.CM.code.lowercase() to IetfLang.Fulah.Adlm.CM, + IetfLang.Fulah.Adlm.GH.code.lowercase() to IetfLang.Fulah.Adlm.GH, + IetfLang.Fulah.Adlm.GM.code.lowercase() to IetfLang.Fulah.Adlm.GM, + IetfLang.Fulah.Adlm.GN.code.lowercase() to IetfLang.Fulah.Adlm.GN, + IetfLang.Fulah.Adlm.GW.code.lowercase() to IetfLang.Fulah.Adlm.GW, + IetfLang.Fulah.Adlm.LR.code.lowercase() to IetfLang.Fulah.Adlm.LR, + IetfLang.Fulah.Adlm.MR.code.lowercase() to IetfLang.Fulah.Adlm.MR, + IetfLang.Fulah.Adlm.NE.code.lowercase() to IetfLang.Fulah.Adlm.NE, + IetfLang.Fulah.Adlm.NG.code.lowercase() to IetfLang.Fulah.Adlm.NG, + IetfLang.Fulah.Adlm.SL.code.lowercase() to IetfLang.Fulah.Adlm.SL, + IetfLang.Fulah.Adlm.SN.code.lowercase() to IetfLang.Fulah.Adlm.SN, + IetfLang.Fulah.Latn.code.lowercase() to IetfLang.Fulah.Latn, + IetfLang.Fulah.Latn.BF.code.lowercase() to IetfLang.Fulah.Latn.BF, + IetfLang.Fulah.Latn.CM.code.lowercase() to IetfLang.Fulah.Latn.CM, + IetfLang.Fulah.Latn.GH.code.lowercase() to IetfLang.Fulah.Latn.GH, + IetfLang.Fulah.Latn.GM.code.lowercase() to IetfLang.Fulah.Latn.GM, + IetfLang.Fulah.Latn.GN.code.lowercase() to IetfLang.Fulah.Latn.GN, + IetfLang.Fulah.Latn.GW.code.lowercase() to IetfLang.Fulah.Latn.GW, + IetfLang.Fulah.Latn.LR.code.lowercase() to IetfLang.Fulah.Latn.LR, + IetfLang.Fulah.Latn.MR.code.lowercase() to IetfLang.Fulah.Latn.MR, + IetfLang.Fulah.Latn.NE.code.lowercase() to IetfLang.Fulah.Latn.NE, + IetfLang.Fulah.Latn.NG.code.lowercase() to IetfLang.Fulah.Latn.NG, + IetfLang.Fulah.Latn.SL.code.lowercase() to IetfLang.Fulah.Latn.SL, + IetfLang.Fulah.Latn.SN.code.lowercase() to IetfLang.Fulah.Latn.SN, + IetfLang.Finnish.code.lowercase() to IetfLang.Finnish, + IetfLang.Finnish.FI.code.lowercase() to IetfLang.Finnish.FI, + IetfLang.Fijian.code.lowercase() to IetfLang.Fijian, + IetfLang.Faroese.code.lowercase() to IetfLang.Faroese, + IetfLang.Faroese.DK.code.lowercase() to IetfLang.Faroese.DK, + IetfLang.Faroese.FO.code.lowercase() to IetfLang.Faroese.FO, + IetfLang.French.code.lowercase() to IetfLang.French, + IetfLang.French.BE.code.lowercase() to IetfLang.French.BE, + IetfLang.French.BF.code.lowercase() to IetfLang.French.BF, + IetfLang.French.BI.code.lowercase() to IetfLang.French.BI, + IetfLang.French.BJ.code.lowercase() to IetfLang.French.BJ, + IetfLang.French.BL.code.lowercase() to IetfLang.French.BL, + IetfLang.French.CA.code.lowercase() to IetfLang.French.CA, + IetfLang.French.CD.code.lowercase() to IetfLang.French.CD, + IetfLang.French.CF.code.lowercase() to IetfLang.French.CF, + IetfLang.French.CG.code.lowercase() to IetfLang.French.CG, + IetfLang.French.CH.code.lowercase() to IetfLang.French.CH, + IetfLang.French.CI.code.lowercase() to IetfLang.French.CI, + IetfLang.French.CM.code.lowercase() to IetfLang.French.CM, + IetfLang.French.DJ.code.lowercase() to IetfLang.French.DJ, + IetfLang.French.DZ.code.lowercase() to IetfLang.French.DZ, + IetfLang.French.FR.code.lowercase() to IetfLang.French.FR, + IetfLang.French.GA.code.lowercase() to IetfLang.French.GA, + IetfLang.French.GF.code.lowercase() to IetfLang.French.GF, + IetfLang.French.GN.code.lowercase() to IetfLang.French.GN, + IetfLang.French.GP.code.lowercase() to IetfLang.French.GP, + IetfLang.French.GQ.code.lowercase() to IetfLang.French.GQ, + IetfLang.French.HT.code.lowercase() to IetfLang.French.HT, + IetfLang.French.KM.code.lowercase() to IetfLang.French.KM, + IetfLang.French.LU.code.lowercase() to IetfLang.French.LU, + IetfLang.French.MA.code.lowercase() to IetfLang.French.MA, + IetfLang.French.MC.code.lowercase() to IetfLang.French.MC, + IetfLang.French.MF.code.lowercase() to IetfLang.French.MF, + IetfLang.French.MG.code.lowercase() to IetfLang.French.MG, + IetfLang.French.ML.code.lowercase() to IetfLang.French.ML, + IetfLang.French.MQ.code.lowercase() to IetfLang.French.MQ, + IetfLang.French.MR.code.lowercase() to IetfLang.French.MR, + IetfLang.French.MU.code.lowercase() to IetfLang.French.MU, + IetfLang.French.NC.code.lowercase() to IetfLang.French.NC, + IetfLang.French.NE.code.lowercase() to IetfLang.French.NE, + IetfLang.French.PF.code.lowercase() to IetfLang.French.PF, + IetfLang.French.PM.code.lowercase() to IetfLang.French.PM, + IetfLang.French.RE.code.lowercase() to IetfLang.French.RE, + IetfLang.French.RW.code.lowercase() to IetfLang.French.RW, + IetfLang.French.SC.code.lowercase() to IetfLang.French.SC, + IetfLang.French.SN.code.lowercase() to IetfLang.French.SN, + IetfLang.French.SY.code.lowercase() to IetfLang.French.SY, + IetfLang.French.TD.code.lowercase() to IetfLang.French.TD, + IetfLang.French.TG.code.lowercase() to IetfLang.French.TG, + IetfLang.French.TN.code.lowercase() to IetfLang.French.TN, + IetfLang.French.VU.code.lowercase() to IetfLang.French.VU, + IetfLang.French.WF.code.lowercase() to IetfLang.French.WF, + IetfLang.French.YT.code.lowercase() to IetfLang.French.YT, + IetfLang.WesternFrisian.code.lowercase() to IetfLang.WesternFrisian, + IetfLang.WesternFrisian.NL.code.lowercase() to IetfLang.WesternFrisian.NL, + IetfLang.Irish.code.lowercase() to IetfLang.Irish, + IetfLang.Irish.GB.code.lowercase() to IetfLang.Irish.GB, + IetfLang.Irish.IE.code.lowercase() to IetfLang.Irish.IE, + IetfLang.GaelicScottishGaelic.code.lowercase() to IetfLang.GaelicScottishGaelic, + IetfLang.GaelicScottishGaelic.GB.code.lowercase() to IetfLang.GaelicScottishGaelic.GB, + IetfLang.Galician.code.lowercase() to IetfLang.Galician, + IetfLang.Galician.ES.code.lowercase() to IetfLang.Galician.ES, + IetfLang.Guarani.code.lowercase() to IetfLang.Guarani, + IetfLang.Gujarati.code.lowercase() to IetfLang.Gujarati, + IetfLang.Gujarati.IN.code.lowercase() to IetfLang.Gujarati.IN, + IetfLang.Manx.code.lowercase() to IetfLang.Manx, + IetfLang.Manx.IM.code.lowercase() to IetfLang.Manx.IM, + IetfLang.Hausa.code.lowercase() to IetfLang.Hausa, + IetfLang.Hausa.GH.code.lowercase() to IetfLang.Hausa.GH, + IetfLang.Hausa.NE.code.lowercase() to IetfLang.Hausa.NE, + IetfLang.Hausa.NG.code.lowercase() to IetfLang.Hausa.NG, + IetfLang.Hebrew.code.lowercase() to IetfLang.Hebrew, + IetfLang.Hebrew.IL.code.lowercase() to IetfLang.Hebrew.IL, + IetfLang.Hindi.code.lowercase() to IetfLang.Hindi, + IetfLang.Hindi.IN.code.lowercase() to IetfLang.Hindi.IN, + IetfLang.HiriMotu.code.lowercase() to IetfLang.HiriMotu, + IetfLang.Croatian.code.lowercase() to IetfLang.Croatian, + IetfLang.Croatian.BA.code.lowercase() to IetfLang.Croatian.BA, + IetfLang.Croatian.HR.code.lowercase() to IetfLang.Croatian.HR, + IetfLang.HaitianHaitianCreole.code.lowercase() to IetfLang.HaitianHaitianCreole, + IetfLang.Hungarian.code.lowercase() to IetfLang.Hungarian, + IetfLang.Hungarian.HU.code.lowercase() to IetfLang.Hungarian.HU, + IetfLang.Armenian.code.lowercase() to IetfLang.Armenian, + IetfLang.Armenian.AM.code.lowercase() to IetfLang.Armenian.AM, + IetfLang.Herero.code.lowercase() to IetfLang.Herero, + IetfLang.InterlinguaInternationalAuxiliaryLanguageAssociation.code.lowercase() to IetfLang.InterlinguaInternationalAuxiliaryLanguageAssociation, + IetfLang.InterlinguaInternationalAuxiliaryLanguageAssociation.L001.code.lowercase() to IetfLang.InterlinguaInternationalAuxiliaryLanguageAssociation.L001, + IetfLang.Indonesian.code.lowercase() to IetfLang.Indonesian, + IetfLang.Indonesian.ID.code.lowercase() to IetfLang.Indonesian.ID, + IetfLang.InterlingueOccidental.code.lowercase() to IetfLang.InterlingueOccidental, + IetfLang.Igbo.code.lowercase() to IetfLang.Igbo, + IetfLang.Igbo.NG.code.lowercase() to IetfLang.Igbo.NG, + IetfLang.SichuanYiNuosu.code.lowercase() to IetfLang.SichuanYiNuosu, + IetfLang.SichuanYiNuosu.CN.code.lowercase() to IetfLang.SichuanYiNuosu.CN, + IetfLang.Inupiaq.code.lowercase() to IetfLang.Inupiaq, + IetfLang.Ido.code.lowercase() to IetfLang.Ido, + IetfLang.Icelandic.code.lowercase() to IetfLang.Icelandic, + IetfLang.Icelandic.IS.code.lowercase() to IetfLang.Icelandic.IS, + IetfLang.Italian.code.lowercase() to IetfLang.Italian, + IetfLang.Italian.CH.code.lowercase() to IetfLang.Italian.CH, + IetfLang.Italian.IT.code.lowercase() to IetfLang.Italian.IT, + IetfLang.Italian.SM.code.lowercase() to IetfLang.Italian.SM, + IetfLang.Italian.VA.code.lowercase() to IetfLang.Italian.VA, + IetfLang.Inuktitut.code.lowercase() to IetfLang.Inuktitut, + IetfLang.Japanese.code.lowercase() to IetfLang.Japanese, + IetfLang.Japanese.JP.code.lowercase() to IetfLang.Japanese.JP, + IetfLang.Javanese.code.lowercase() to IetfLang.Javanese, + IetfLang.Javanese.ID.code.lowercase() to IetfLang.Javanese.ID, + IetfLang.Georgian.code.lowercase() to IetfLang.Georgian, + IetfLang.Georgian.GE.code.lowercase() to IetfLang.Georgian.GE, + IetfLang.Kongo.code.lowercase() to IetfLang.Kongo, + IetfLang.KikuyuGikuyu.code.lowercase() to IetfLang.KikuyuGikuyu, + IetfLang.KikuyuGikuyu.KE.code.lowercase() to IetfLang.KikuyuGikuyu.KE, + IetfLang.KuanyamaKwanyama.code.lowercase() to IetfLang.KuanyamaKwanyama, + IetfLang.Kazakh.code.lowercase() to IetfLang.Kazakh, + IetfLang.Kazakh.KZ.code.lowercase() to IetfLang.Kazakh.KZ, + IetfLang.KalaallisutGreenlandic.code.lowercase() to IetfLang.KalaallisutGreenlandic, + IetfLang.KalaallisutGreenlandic.GL.code.lowercase() to IetfLang.KalaallisutGreenlandic.GL, + IetfLang.CentralKhmer.code.lowercase() to IetfLang.CentralKhmer, + IetfLang.CentralKhmer.KH.code.lowercase() to IetfLang.CentralKhmer.KH, + IetfLang.Kannada.code.lowercase() to IetfLang.Kannada, + IetfLang.Kannada.IN.code.lowercase() to IetfLang.Kannada.IN, + IetfLang.Korean.code.lowercase() to IetfLang.Korean, + IetfLang.Korean.KP.code.lowercase() to IetfLang.Korean.KP, + IetfLang.Korean.KR.code.lowercase() to IetfLang.Korean.KR, + IetfLang.Kanuri.code.lowercase() to IetfLang.Kanuri, + IetfLang.Kashmiri.code.lowercase() to IetfLang.Kashmiri, + IetfLang.Kashmiri.Arab.code.lowercase() to IetfLang.Kashmiri.Arab, + IetfLang.Kashmiri.Arab.IN.code.lowercase() to IetfLang.Kashmiri.Arab.IN, + IetfLang.Kurdish.code.lowercase() to IetfLang.Kurdish, + IetfLang.Kurdish.TR.code.lowercase() to IetfLang.Kurdish.TR, + IetfLang.Komi.code.lowercase() to IetfLang.Komi, + IetfLang.Cornish.code.lowercase() to IetfLang.Cornish, + IetfLang.Cornish.GB.code.lowercase() to IetfLang.Cornish.GB, + IetfLang.KirghizKyrgyz.code.lowercase() to IetfLang.KirghizKyrgyz, + IetfLang.KirghizKyrgyz.KG.code.lowercase() to IetfLang.KirghizKyrgyz.KG, + IetfLang.Latin.code.lowercase() to IetfLang.Latin, + IetfLang.LuxembourgishLetzeburgesch.code.lowercase() to IetfLang.LuxembourgishLetzeburgesch, + IetfLang.LuxembourgishLetzeburgesch.LU.code.lowercase() to IetfLang.LuxembourgishLetzeburgesch.LU, + IetfLang.Ganda.code.lowercase() to IetfLang.Ganda, + IetfLang.Ganda.UG.code.lowercase() to IetfLang.Ganda.UG, + IetfLang.LimburganLimburgerLimburgish.code.lowercase() to IetfLang.LimburganLimburgerLimburgish, + IetfLang.Lingala.code.lowercase() to IetfLang.Lingala, + IetfLang.Lingala.AO.code.lowercase() to IetfLang.Lingala.AO, + IetfLang.Lingala.CD.code.lowercase() to IetfLang.Lingala.CD, + IetfLang.Lingala.CF.code.lowercase() to IetfLang.Lingala.CF, + IetfLang.Lingala.CG.code.lowercase() to IetfLang.Lingala.CG, + IetfLang.Lao.code.lowercase() to IetfLang.Lao, + IetfLang.Lao.LA.code.lowercase() to IetfLang.Lao.LA, + IetfLang.Lithuanian.code.lowercase() to IetfLang.Lithuanian, + IetfLang.Lithuanian.LT.code.lowercase() to IetfLang.Lithuanian.LT, + IetfLang.LubaKatanga.code.lowercase() to IetfLang.LubaKatanga, + IetfLang.LubaKatanga.CD.code.lowercase() to IetfLang.LubaKatanga.CD, + IetfLang.Latvian.code.lowercase() to IetfLang.Latvian, + IetfLang.Latvian.LV.code.lowercase() to IetfLang.Latvian.LV, + IetfLang.Malagasy.code.lowercase() to IetfLang.Malagasy, + IetfLang.Malagasy.MG.code.lowercase() to IetfLang.Malagasy.MG, + IetfLang.Marshallese.code.lowercase() to IetfLang.Marshallese, + IetfLang.Maori.code.lowercase() to IetfLang.Maori, + IetfLang.Maori.NZ.code.lowercase() to IetfLang.Maori.NZ, + IetfLang.Macedonian.code.lowercase() to IetfLang.Macedonian, + IetfLang.Macedonian.MK.code.lowercase() to IetfLang.Macedonian.MK, + IetfLang.Malayalam.code.lowercase() to IetfLang.Malayalam, + IetfLang.Malayalam.IN.code.lowercase() to IetfLang.Malayalam.IN, + IetfLang.Mongolian.code.lowercase() to IetfLang.Mongolian, + IetfLang.Mongolian.MN.code.lowercase() to IetfLang.Mongolian.MN, + IetfLang.Marathi.code.lowercase() to IetfLang.Marathi, + IetfLang.Marathi.IN.code.lowercase() to IetfLang.Marathi.IN, + IetfLang.Malay.code.lowercase() to IetfLang.Malay, + IetfLang.Malay.BN.code.lowercase() to IetfLang.Malay.BN, + IetfLang.Malay.ID.code.lowercase() to IetfLang.Malay.ID, + IetfLang.Malay.MY.code.lowercase() to IetfLang.Malay.MY, + IetfLang.Malay.SG.code.lowercase() to IetfLang.Malay.SG, + IetfLang.Maltese.code.lowercase() to IetfLang.Maltese, + IetfLang.Maltese.MT.code.lowercase() to IetfLang.Maltese.MT, + IetfLang.Burmese.code.lowercase() to IetfLang.Burmese, + IetfLang.Burmese.MM.code.lowercase() to IetfLang.Burmese.MM, + IetfLang.Nauru.code.lowercase() to IetfLang.Nauru, + IetfLang.BokmalNorwegianNorwegianBokmal.code.lowercase() to IetfLang.BokmalNorwegianNorwegianBokmal, + IetfLang.BokmalNorwegianNorwegianBokmal.NO.code.lowercase() to IetfLang.BokmalNorwegianNorwegianBokmal.NO, + IetfLang.BokmalNorwegianNorwegianBokmal.SJ.code.lowercase() to IetfLang.BokmalNorwegianNorwegianBokmal.SJ, + IetfLang.NdebeleNorthNorthNdebele.code.lowercase() to IetfLang.NdebeleNorthNorthNdebele, + IetfLang.NdebeleNorthNorthNdebele.ZW.code.lowercase() to IetfLang.NdebeleNorthNorthNdebele.ZW, + IetfLang.Nepali.code.lowercase() to IetfLang.Nepali, + IetfLang.Nepali.IN.code.lowercase() to IetfLang.Nepali.IN, + IetfLang.Nepali.NP.code.lowercase() to IetfLang.Nepali.NP, + IetfLang.Ndonga.code.lowercase() to IetfLang.Ndonga, + IetfLang.DutchFlemish.code.lowercase() to IetfLang.DutchFlemish, + IetfLang.DutchFlemish.AW.code.lowercase() to IetfLang.DutchFlemish.AW, + IetfLang.DutchFlemish.BE.code.lowercase() to IetfLang.DutchFlemish.BE, + IetfLang.DutchFlemish.BQ.code.lowercase() to IetfLang.DutchFlemish.BQ, + IetfLang.DutchFlemish.CW.code.lowercase() to IetfLang.DutchFlemish.CW, + IetfLang.DutchFlemish.NL.code.lowercase() to IetfLang.DutchFlemish.NL, + IetfLang.DutchFlemish.SR.code.lowercase() to IetfLang.DutchFlemish.SR, + IetfLang.DutchFlemish.SX.code.lowercase() to IetfLang.DutchFlemish.SX, + IetfLang.NorwegianNynorskNynorskNorwegian.code.lowercase() to IetfLang.NorwegianNynorskNynorskNorwegian, + IetfLang.NorwegianNynorskNynorskNorwegian.NO.code.lowercase() to IetfLang.NorwegianNynorskNynorskNorwegian.NO, + IetfLang.Norwegian.code.lowercase() to IetfLang.Norwegian, + IetfLang.NdebeleSouthSouthNdebele.code.lowercase() to IetfLang.NdebeleSouthSouthNdebele, + IetfLang.NavajoNavaho.code.lowercase() to IetfLang.NavajoNavaho, + IetfLang.ChichewaChewaNyanja.code.lowercase() to IetfLang.ChichewaChewaNyanja, + IetfLang.OccitanPost1500.code.lowercase() to IetfLang.OccitanPost1500, + IetfLang.Ojibwa.code.lowercase() to IetfLang.Ojibwa, + IetfLang.Oromo.code.lowercase() to IetfLang.Oromo, + IetfLang.Oromo.ET.code.lowercase() to IetfLang.Oromo.ET, + IetfLang.Oromo.KE.code.lowercase() to IetfLang.Oromo.KE, + IetfLang.Oriya.code.lowercase() to IetfLang.Oriya, + IetfLang.Oriya.IN.code.lowercase() to IetfLang.Oriya.IN, + IetfLang.OssetianOssetic.code.lowercase() to IetfLang.OssetianOssetic, + IetfLang.OssetianOssetic.GE.code.lowercase() to IetfLang.OssetianOssetic.GE, + IetfLang.OssetianOssetic.RU.code.lowercase() to IetfLang.OssetianOssetic.RU, + IetfLang.PanjabiPunjabi.code.lowercase() to IetfLang.PanjabiPunjabi, + IetfLang.PanjabiPunjabi.Arab.code.lowercase() to IetfLang.PanjabiPunjabi.Arab, + IetfLang.PanjabiPunjabi.Arab.PK.code.lowercase() to IetfLang.PanjabiPunjabi.Arab.PK, + IetfLang.PanjabiPunjabi.Guru.code.lowercase() to IetfLang.PanjabiPunjabi.Guru, + IetfLang.PanjabiPunjabi.Guru.IN.code.lowercase() to IetfLang.PanjabiPunjabi.Guru.IN, + IetfLang.Pali.code.lowercase() to IetfLang.Pali, + IetfLang.Polish.code.lowercase() to IetfLang.Polish, + IetfLang.Polish.PL.code.lowercase() to IetfLang.Polish.PL, + IetfLang.PushtoPashto.code.lowercase() to IetfLang.PushtoPashto, + IetfLang.PushtoPashto.AF.code.lowercase() to IetfLang.PushtoPashto.AF, + IetfLang.PushtoPashto.PK.code.lowercase() to IetfLang.PushtoPashto.PK, + IetfLang.Portuguese.code.lowercase() to IetfLang.Portuguese, + IetfLang.Portuguese.AO.code.lowercase() to IetfLang.Portuguese.AO, + IetfLang.Portuguese.BR.code.lowercase() to IetfLang.Portuguese.BR, + IetfLang.Portuguese.CH.code.lowercase() to IetfLang.Portuguese.CH, + IetfLang.Portuguese.CV.code.lowercase() to IetfLang.Portuguese.CV, + IetfLang.Portuguese.GQ.code.lowercase() to IetfLang.Portuguese.GQ, + IetfLang.Portuguese.GW.code.lowercase() to IetfLang.Portuguese.GW, + IetfLang.Portuguese.LU.code.lowercase() to IetfLang.Portuguese.LU, + IetfLang.Portuguese.MO.code.lowercase() to IetfLang.Portuguese.MO, + IetfLang.Portuguese.MZ.code.lowercase() to IetfLang.Portuguese.MZ, + IetfLang.Portuguese.PT.code.lowercase() to IetfLang.Portuguese.PT, + IetfLang.Portuguese.ST.code.lowercase() to IetfLang.Portuguese.ST, + IetfLang.Portuguese.TL.code.lowercase() to IetfLang.Portuguese.TL, + IetfLang.Quechua.code.lowercase() to IetfLang.Quechua, + IetfLang.Quechua.BO.code.lowercase() to IetfLang.Quechua.BO, + IetfLang.Quechua.EC.code.lowercase() to IetfLang.Quechua.EC, + IetfLang.Quechua.PE.code.lowercase() to IetfLang.Quechua.PE, + IetfLang.Romansh.code.lowercase() to IetfLang.Romansh, + IetfLang.Romansh.CH.code.lowercase() to IetfLang.Romansh.CH, + IetfLang.Rundi.code.lowercase() to IetfLang.Rundi, + IetfLang.Rundi.BI.code.lowercase() to IetfLang.Rundi.BI, + IetfLang.RomanianMoldavianMoldovan.code.lowercase() to IetfLang.RomanianMoldavianMoldovan, + IetfLang.RomanianMoldavianMoldovan.MD.code.lowercase() to IetfLang.RomanianMoldavianMoldovan.MD, + IetfLang.RomanianMoldavianMoldovan.RO.code.lowercase() to IetfLang.RomanianMoldavianMoldovan.RO, + IetfLang.Russian.code.lowercase() to IetfLang.Russian, + IetfLang.Russian.BY.code.lowercase() to IetfLang.Russian.BY, + IetfLang.Russian.KG.code.lowercase() to IetfLang.Russian.KG, + IetfLang.Russian.KZ.code.lowercase() to IetfLang.Russian.KZ, + IetfLang.Russian.MD.code.lowercase() to IetfLang.Russian.MD, + IetfLang.Russian.RU.code.lowercase() to IetfLang.Russian.RU, + IetfLang.Russian.UA.code.lowercase() to IetfLang.Russian.UA, + IetfLang.Kinyarwanda.code.lowercase() to IetfLang.Kinyarwanda, + IetfLang.Kinyarwanda.RW.code.lowercase() to IetfLang.Kinyarwanda.RW, + IetfLang.Sanskrit.code.lowercase() to IetfLang.Sanskrit, + IetfLang.Sardinian.code.lowercase() to IetfLang.Sardinian, + IetfLang.Sindhi.code.lowercase() to IetfLang.Sindhi, + IetfLang.Sindhi.Arab.code.lowercase() to IetfLang.Sindhi.Arab, + IetfLang.Sindhi.Arab.PK.code.lowercase() to IetfLang.Sindhi.Arab.PK, + IetfLang.Sindhi.Deva.code.lowercase() to IetfLang.Sindhi.Deva, + IetfLang.Sindhi.Deva.IN.code.lowercase() to IetfLang.Sindhi.Deva.IN, + IetfLang.NorthernSami.code.lowercase() to IetfLang.NorthernSami, + IetfLang.NorthernSami.FI.code.lowercase() to IetfLang.NorthernSami.FI, + IetfLang.NorthernSami.NO.code.lowercase() to IetfLang.NorthernSami.NO, + IetfLang.NorthernSami.SE.code.lowercase() to IetfLang.NorthernSami.SE, + IetfLang.Sango.code.lowercase() to IetfLang.Sango, + IetfLang.Sango.CF.code.lowercase() to IetfLang.Sango.CF, + IetfLang.SinhalaSinhalese.code.lowercase() to IetfLang.SinhalaSinhalese, + IetfLang.SinhalaSinhalese.LK.code.lowercase() to IetfLang.SinhalaSinhalese.LK, + IetfLang.Slovak.code.lowercase() to IetfLang.Slovak, + IetfLang.Slovak.SK.code.lowercase() to IetfLang.Slovak.SK, + IetfLang.Slovenian.code.lowercase() to IetfLang.Slovenian, + IetfLang.Slovenian.SI.code.lowercase() to IetfLang.Slovenian.SI, + IetfLang.Samoan.code.lowercase() to IetfLang.Samoan, + IetfLang.Shona.code.lowercase() to IetfLang.Shona, + IetfLang.Shona.ZW.code.lowercase() to IetfLang.Shona.ZW, + IetfLang.Somali.code.lowercase() to IetfLang.Somali, + IetfLang.Somali.DJ.code.lowercase() to IetfLang.Somali.DJ, + IetfLang.Somali.ET.code.lowercase() to IetfLang.Somali.ET, + IetfLang.Somali.KE.code.lowercase() to IetfLang.Somali.KE, + IetfLang.Somali.SO.code.lowercase() to IetfLang.Somali.SO, + IetfLang.Albanian.code.lowercase() to IetfLang.Albanian, + IetfLang.Albanian.AL.code.lowercase() to IetfLang.Albanian.AL, + IetfLang.Albanian.MK.code.lowercase() to IetfLang.Albanian.MK, + IetfLang.Albanian.XK.code.lowercase() to IetfLang.Albanian.XK, + IetfLang.Serbian.code.lowercase() to IetfLang.Serbian, + IetfLang.Serbian.Cyrl.code.lowercase() to IetfLang.Serbian.Cyrl, + IetfLang.Serbian.Cyrl.BA.code.lowercase() to IetfLang.Serbian.Cyrl.BA, + IetfLang.Serbian.Cyrl.ME.code.lowercase() to IetfLang.Serbian.Cyrl.ME, + IetfLang.Serbian.Cyrl.RS.code.lowercase() to IetfLang.Serbian.Cyrl.RS, + IetfLang.Serbian.Cyrl.XK.code.lowercase() to IetfLang.Serbian.Cyrl.XK, + IetfLang.Serbian.Latn.code.lowercase() to IetfLang.Serbian.Latn, + IetfLang.Serbian.Latn.BA.code.lowercase() to IetfLang.Serbian.Latn.BA, + IetfLang.Serbian.Latn.ME.code.lowercase() to IetfLang.Serbian.Latn.ME, + IetfLang.Serbian.Latn.RS.code.lowercase() to IetfLang.Serbian.Latn.RS, + IetfLang.Serbian.Latn.XK.code.lowercase() to IetfLang.Serbian.Latn.XK, + IetfLang.Swati.code.lowercase() to IetfLang.Swati, + IetfLang.SothoSouthern.code.lowercase() to IetfLang.SothoSouthern, + IetfLang.Sundanese.code.lowercase() to IetfLang.Sundanese, + IetfLang.Sundanese.Latn.code.lowercase() to IetfLang.Sundanese.Latn, + IetfLang.Sundanese.Latn.ID.code.lowercase() to IetfLang.Sundanese.Latn.ID, + IetfLang.Swedish.code.lowercase() to IetfLang.Swedish, + IetfLang.Swedish.AX.code.lowercase() to IetfLang.Swedish.AX, + IetfLang.Swedish.FI.code.lowercase() to IetfLang.Swedish.FI, + IetfLang.Swedish.SE.code.lowercase() to IetfLang.Swedish.SE, + IetfLang.Swahili.code.lowercase() to IetfLang.Swahili, + IetfLang.Swahili.CD.code.lowercase() to IetfLang.Swahili.CD, + IetfLang.Swahili.KE.code.lowercase() to IetfLang.Swahili.KE, + IetfLang.Swahili.TZ.code.lowercase() to IetfLang.Swahili.TZ, + IetfLang.Swahili.UG.code.lowercase() to IetfLang.Swahili.UG, + IetfLang.Tamil.code.lowercase() to IetfLang.Tamil, + IetfLang.Tamil.IN.code.lowercase() to IetfLang.Tamil.IN, + IetfLang.Tamil.LK.code.lowercase() to IetfLang.Tamil.LK, + IetfLang.Tamil.MY.code.lowercase() to IetfLang.Tamil.MY, + IetfLang.Tamil.SG.code.lowercase() to IetfLang.Tamil.SG, + IetfLang.Telugu.code.lowercase() to IetfLang.Telugu, + IetfLang.Telugu.IN.code.lowercase() to IetfLang.Telugu.IN, + IetfLang.Tajik.code.lowercase() to IetfLang.Tajik, + IetfLang.Tajik.TJ.code.lowercase() to IetfLang.Tajik.TJ, + IetfLang.Thai.code.lowercase() to IetfLang.Thai, + IetfLang.Thai.TH.code.lowercase() to IetfLang.Thai.TH, + IetfLang.Tigrinya.code.lowercase() to IetfLang.Tigrinya, + IetfLang.Tigrinya.ER.code.lowercase() to IetfLang.Tigrinya.ER, + IetfLang.Tigrinya.ET.code.lowercase() to IetfLang.Tigrinya.ET, + IetfLang.Turkmen.code.lowercase() to IetfLang.Turkmen, + IetfLang.Turkmen.TM.code.lowercase() to IetfLang.Turkmen.TM, + IetfLang.Tagalog.code.lowercase() to IetfLang.Tagalog, + IetfLang.Tswana.code.lowercase() to IetfLang.Tswana, + IetfLang.TongaTongaIslands.code.lowercase() to IetfLang.TongaTongaIslands, + IetfLang.TongaTongaIslands.TO.code.lowercase() to IetfLang.TongaTongaIslands.TO, + IetfLang.Turkish.code.lowercase() to IetfLang.Turkish, + IetfLang.Turkish.CY.code.lowercase() to IetfLang.Turkish.CY, + IetfLang.Turkish.TR.code.lowercase() to IetfLang.Turkish.TR, + IetfLang.Tsonga.code.lowercase() to IetfLang.Tsonga, + IetfLang.Tatar.code.lowercase() to IetfLang.Tatar, + IetfLang.Tatar.RU.code.lowercase() to IetfLang.Tatar.RU, + IetfLang.Twi.code.lowercase() to IetfLang.Twi, + IetfLang.Tahitian.code.lowercase() to IetfLang.Tahitian, + IetfLang.UighurUyghur.code.lowercase() to IetfLang.UighurUyghur, + IetfLang.UighurUyghur.CN.code.lowercase() to IetfLang.UighurUyghur.CN, + IetfLang.Ukrainian.code.lowercase() to IetfLang.Ukrainian, + IetfLang.Ukrainian.UA.code.lowercase() to IetfLang.Ukrainian.UA, + IetfLang.Urdu.code.lowercase() to IetfLang.Urdu, + IetfLang.Urdu.IN.code.lowercase() to IetfLang.Urdu.IN, + IetfLang.Urdu.PK.code.lowercase() to IetfLang.Urdu.PK, + IetfLang.Uzbek.code.lowercase() to IetfLang.Uzbek, + IetfLang.Uzbek.Arab.code.lowercase() to IetfLang.Uzbek.Arab, + IetfLang.Uzbek.Arab.AF.code.lowercase() to IetfLang.Uzbek.Arab.AF, + IetfLang.Uzbek.Cyrl.code.lowercase() to IetfLang.Uzbek.Cyrl, + IetfLang.Uzbek.Cyrl.UZ.code.lowercase() to IetfLang.Uzbek.Cyrl.UZ, + IetfLang.Uzbek.Latn.code.lowercase() to IetfLang.Uzbek.Latn, + IetfLang.Uzbek.Latn.UZ.code.lowercase() to IetfLang.Uzbek.Latn.UZ, + IetfLang.Venda.code.lowercase() to IetfLang.Venda, + IetfLang.Vietnamese.code.lowercase() to IetfLang.Vietnamese, + IetfLang.Vietnamese.VN.code.lowercase() to IetfLang.Vietnamese.VN, + IetfLang.Volapuk.code.lowercase() to IetfLang.Volapuk, + IetfLang.Volapuk.L001.code.lowercase() to IetfLang.Volapuk.L001, + IetfLang.Walloon.code.lowercase() to IetfLang.Walloon, + IetfLang.Wolof.code.lowercase() to IetfLang.Wolof, + IetfLang.Wolof.SN.code.lowercase() to IetfLang.Wolof.SN, + IetfLang.Xhosa.code.lowercase() to IetfLang.Xhosa, + IetfLang.Xhosa.ZA.code.lowercase() to IetfLang.Xhosa.ZA, + IetfLang.Yiddish.code.lowercase() to IetfLang.Yiddish, + IetfLang.Yiddish.L001.code.lowercase() to IetfLang.Yiddish.L001, + IetfLang.Yoruba.code.lowercase() to IetfLang.Yoruba, + IetfLang.Yoruba.BJ.code.lowercase() to IetfLang.Yoruba.BJ, + IetfLang.Yoruba.NG.code.lowercase() to IetfLang.Yoruba.NG, + IetfLang.ZhuangChuang.code.lowercase() to IetfLang.ZhuangChuang, + IetfLang.Chinese.code.lowercase() to IetfLang.Chinese, + IetfLang.Chinese.Hans.code.lowercase() to IetfLang.Chinese.Hans, + IetfLang.Chinese.Hans.CN.code.lowercase() to IetfLang.Chinese.Hans.CN, + IetfLang.Chinese.Hans.HK.code.lowercase() to IetfLang.Chinese.Hans.HK, + IetfLang.Chinese.Hans.MO.code.lowercase() to IetfLang.Chinese.Hans.MO, + IetfLang.Chinese.Hans.SG.code.lowercase() to IetfLang.Chinese.Hans.SG, + IetfLang.Chinese.Hant.code.lowercase() to IetfLang.Chinese.Hant, + IetfLang.Chinese.Hant.HK.code.lowercase() to IetfLang.Chinese.Hant.HK, + IetfLang.Chinese.Hant.MO.code.lowercase() to IetfLang.Chinese.Hant.MO, + IetfLang.Chinese.Hant.TW.code.lowercase() to IetfLang.Chinese.Hant.TW, + IetfLang.Zulu.code.lowercase() to IetfLang.Zulu, + IetfLang.Zulu.ZA.code.lowercase() to IetfLang.Zulu.ZA + ) +} +val knownLanguageCodes: List by lazy { + knownLanguageCodesMap.values.toList() +} + +fun String.asIetfLang(): IetfLang { + return knownLanguageCodesMap[this] ?: IetfLang.UnknownIetfLang(this) +} +fun String.asIetfLangCaseInsensitive(): IetfLang { + return knownLanguageCodesMapByLowerCasedKeys[this.lowercase()] ?: IetfLang.UnknownIetfLang(this) +} +@Deprecated("Renamed", ReplaceWith("this.asIetfLang()", "dev.inmo.micro_utils.language_codes.asIetfLang")) +fun String.asIetfLanguageCode(): IetfLang = asIetfLang() + +fun convertToIetfLang(code: String) = code.asIetfLang() +fun convertToIetfLangCaseInsensitive(code: String) = code.asIetfLangCaseInsensitive() +@Deprecated("Renamed", ReplaceWith("convertToIetfLang(code)", "dev.inmo.micro_utils.language_codes.convertToIetfLang")) +fun convertToIetfLanguageCode(code: String) = convertToIetfLang(code) + +fun IetfLang(code: String) = code.asIetfLang() +fun IetfLangCaseInsensitive(code: String) = code.asIetfLangCaseInsensitive() +@Deprecated("Renamed", ReplaceWith("IetfLang(code)", "dev.inmo.micro_utils.language_codes.IetfLang")) +fun IetfLanguageCode(code: String) = IetfLang(code) diff --git a/language_codes/src/commonTest/kotlin/UnknownIetfLanguageTests.kt b/language_codes/src/commonTest/kotlin/UnknownIetfLanguageTests.kt new file mode 100644 index 00000000000..85ee5ea265f --- /dev/null +++ b/language_codes/src/commonTest/kotlin/UnknownIetfLanguageTests.kt @@ -0,0 +1,16 @@ +package dev.inmo.micro_utils.language_codes + +import kotlin.test.Test +import kotlin.test.assertEquals + +class UnknownIetfLanguageTests { + @Test + fun commonTestOfParentCode() { + knownLanguageCodes.forEach { + val language = IetfLang.UnknownIetfLang(it.code) + assertEquals(it.code, language.code) + assertEquals(it.withoutDialect, language.withoutDialect) + assertEquals(it.parentLang ?.code, language.parentLang ?.code) + } + } +} \ No newline at end of file diff --git a/language_codes/src/jvmMain/kotlin/Locale.kt b/language_codes/src/jvmMain/kotlin/Locale.kt index 5f361402f2c..618130b2b79 100644 --- a/language_codes/src/jvmMain/kotlin/Locale.kt +++ b/language_codes/src/jvmMain/kotlin/Locale.kt @@ -2,7 +2,9 @@ package dev.inmo.micro_utils.language_codes import java.util.Locale -fun IetfLanguageCode.toJavaLocale(): Locale = Locale.forLanguageTag(code) -fun IetfLanguageCode?.toJavaLocaleOrDefault(): Locale = this ?.toJavaLocale() ?: Locale.getDefault() +fun IetfLang.toJavaLocale(): Locale = Locale.forLanguageTag(code) +fun IetfLang?.toJavaLocaleOrDefault(): Locale = this?.toJavaLocale() ?: Locale.getDefault() -fun Locale.toIetfLanguageCode(): IetfLanguageCode = IetfLanguageCode(toLanguageTag()) +fun Locale.toIetfLang(): IetfLang = IetfLang(toLanguageTag()) +@Deprecated("Renamed", ReplaceWith("this.toIetfLang()", "dev.inmo.micro_utils.language_codes.toIetfLang")) +fun Locale.toIetfLanguageCode(): IetfLang = toIetfLang() diff --git a/resources/src/androidMain/kotlin/StringResourceContextGetter.kt b/resources/src/androidMain/kotlin/StringResourceContextGetter.kt index 8ce918ecf94..d049df0e28c 100644 --- a/resources/src/androidMain/kotlin/StringResourceContextGetter.kt +++ b/resources/src/androidMain/kotlin/StringResourceContextGetter.kt @@ -4,7 +4,6 @@ import android.content.Context import android.content.res.Configuration import android.content.res.Resources import android.os.Build -import dev.inmo.micro_utils.language_codes.toIetfLanguageCode fun StringResource.translation(configuration: Configuration): String = translation( if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { diff --git a/resources/src/commonMain/kotlin/StringResource.kt b/resources/src/commonMain/kotlin/StringResource.kt index c7a332b20de..4ccb0fb8fcc 100644 --- a/resources/src/commonMain/kotlin/StringResource.kt +++ b/resources/src/commonMain/kotlin/StringResource.kt @@ -1,27 +1,51 @@ package dev.inmo.micro_utils.strings -import dev.inmo.micro_utils.language_codes.IetfLanguageCode +import dev.inmo.micro_utils.language_codes.IetfLang +/** + * Use this class as a type of your strings object fields. For example: + * + * ```kotlin + * object Strings { + * val someResource: StringResource + * } + * ``` + * + * Use [buildStringResource] for useful creation of string resource + * + * @see buildStringResource + */ class StringResource( val default: String, - val map: Map> + val map: Map> ) { class Builder( var default: String ) { - private val map = mutableMapOf>() + private val map = mutableMapOf>() - infix fun IetfLanguageCode.variant(value: Lazy) { + infix fun IetfLang.variant(value: Lazy) { map[this] = value } - infix fun IetfLanguageCode.variant(value: String) = this variant lazyOf(value) - infix fun String.variant(value: Lazy) = IetfLanguageCode(this) variant value + + infix fun IetfLang.variant(value: () -> String) = this variant lazy(value) + infix fun IetfLang.variant(value: String) = this variant lazyOf(value) + + + infix fun String.variant(value: Lazy) = IetfLang(this) variant value + infix fun String.variant(value: () -> String) = IetfLang(this) variant lazy(value) infix fun String.variant(value: String) = this variant lazyOf(value) fun build() = StringResource(default, map.toMap()) } - fun translation(languageCode: IetfLanguageCode): String = (map[languageCode] ?: map[IetfLanguageCode(languageCode.withoutDialect)]) ?.value ?: default + fun translation(languageCode: IetfLang): String { + map[languageCode] ?.let { return it.value } + + return languageCode.parentLang ?.let { + map[it] ?.value + } ?: default + } } inline fun buildStringResource( diff --git a/resources/src/jvmMain/kotlin/StringResourceLocaleGetter.kt b/resources/src/jvmMain/kotlin/StringResourceLocaleGetter.kt index 486ca85403b..03a121ee8ec 100644 --- a/resources/src/jvmMain/kotlin/StringResourceLocaleGetter.kt +++ b/resources/src/jvmMain/kotlin/StringResourceLocaleGetter.kt @@ -1,10 +1,10 @@ package dev.inmo.micro_utils.strings -import dev.inmo.micro_utils.language_codes.toIetfLanguageCode +import dev.inmo.micro_utils.language_codes.toIetfLang import java.util.Locale fun StringResource.translation(locale: Locale = Locale.getDefault()): String { - return translation(locale.toIetfLanguageCode()) + return translation(locale.toIetfLang()) } fun Locale.translation(resource: StringResource): String = resource.translation(this) \ No newline at end of file