From 46c48f4f3133700425e7885bc0cd5fdb804bfff6 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 4 Aug 2021 11:03:01 +0600 Subject: [PATCH 1/5] start 0.5.18 --- CHANGELOG.md | 2 ++ gradle.properties | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c51d20e347..5a84d020de9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +## 0.5.18 + ## 0.5.17 **SINCE THIS UPDATE JS PARTS WILL BE COMPILED WITH IR COMPILER ONLY** diff --git a/gradle.properties b/gradle.properties index b2d3474cb29..a738f242eda 100644 --- a/gradle.properties +++ b/gradle.properties @@ -45,5 +45,5 @@ dokka_version=1.4.32 # Project data group=dev.inmo -version=0.5.17 -android_code_version=58 +version=0.5.18 +android_code_version=59 From 43a67b99e4b8ea67627f62ad713fd4632aa6307b Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 4 Aug 2021 11:03:25 +0600 Subject: [PATCH 2/5] add language_codes --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a84d020de9..90e33201196 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 0.5.18 +* `LanguageCode`: + * Module has been created + ## 0.5.17 **SINCE THIS UPDATE JS PARTS WILL BE COMPILED WITH IR COMPILER ONLY** From e89e2c931daed4189f723b6e329214b5761f26d5 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 4 Aug 2021 11:04:03 +0600 Subject: [PATCH 3/5] real creating of module language code -.- --- language_codes/build.gradle | 7 + language_codes/generator/build.gradle | 26 + .../generator/src/main/kotlin/Main.kt | 196 + language_codes/gradle.properties | 1 + .../IetfLanguageCodeSerializer.kt | 683 ++++ .../language_codes/LanguageCodes.kt | 3578 +++++++++++++++++ language_codes/src/main/AndroidManifest.xml | 1 + settings.gradle | 2 + 8 files changed, 4494 insertions(+) create mode 100644 language_codes/build.gradle create mode 100644 language_codes/generator/build.gradle create mode 100644 language_codes/generator/src/main/kotlin/Main.kt create mode 100644 language_codes/gradle.properties create mode 100644 language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/IetfLanguageCodeSerializer.kt create mode 100644 language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/LanguageCodes.kt create mode 100644 language_codes/src/main/AndroidManifest.xml diff --git a/language_codes/build.gradle b/language_codes/build.gradle new file mode 100644 index 00000000000..7c54502f100 --- /dev/null +++ b/language_codes/build.gradle @@ -0,0 +1,7 @@ +plugins { + id "org.jetbrains.kotlin.multiplatform" + id "org.jetbrains.kotlin.plugin.serialization" + id "com.android.library" +} + +apply from: "$mppProjectWithSerializationPresetPath" diff --git a/language_codes/generator/build.gradle b/language_codes/generator/build.gradle new file mode 100644 index 00000000000..b09ff4f987f --- /dev/null +++ b/language_codes/generator/build.gradle @@ -0,0 +1,26 @@ +buildscript { + repositories { + mavenCentral() + } + + dependencies { + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" + } +} + +plugins { + id 'org.jetbrains.kotlin.jvm' + id "org.jetbrains.kotlin.plugin.serialization" + id "application" +} + +dependencies { + implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" + implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlin_serialisation_core_version" + + implementation "io.ktor:ktor-client-core:$ktor_version" + implementation "io.ktor:ktor-client-java:$ktor_version" +} + +mainClassName="MainKt" diff --git a/language_codes/generator/src/main/kotlin/Main.kt b/language_codes/generator/src/main/kotlin/Main.kt new file mode 100644 index 00000000000..5a902ffefb1 --- /dev/null +++ b/language_codes/generator/src/main/kotlin/Main.kt @@ -0,0 +1,196 @@ +import io.ktor.client.HttpClient +import io.ktor.client.request.get +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable +import kotlinx.serialization.builtins.ListSerializer +import kotlinx.serialization.json.Json +import java.io.File + +private val json = Json { + ignoreUnknownKeys = true +} + +private const val baseClassName = "IetfLanguageCode" +private const val unknownBaseClassName = "Unknown$baseClassName" +private const val baseClassSerializerName = "IetfLanguageCodeSerializer" +private const val baseClassSerializerAnnotationName = "@Serializable(${baseClassSerializerName}::class)" + +@Serializable +private data class LanguageCode( + @SerialName("alpha2") + val tag: String, + @SerialName("English") + val title: String +) + +fun String.adaptAsTitle() = if (first().isDigit()) { + "L$this" +} else { + this +} + +@Serializable +private data class LanguageCodeWithTag( + @SerialName("langType") + val tag: String, + @SerialName("lang") + val withSubtag: String +) { + val partWithoutTag: String + get() { + return withSubtag.substring( + withSubtag.indexOf("-") + 1, withSubtag.length + ) + } + val middleTag + get() = if (partWithoutTag.contains("-")) { + partWithoutTag.substring(0, partWithoutTag.indexOf("-")) + } else { + null + } + val middleTagTitle + get() = middleTag ?.adaptAsTitle() ?: partWithoutTag.adaptAsTitle() + val subtag: String + get() = middleTag ?: partWithoutTag + val endTag + get() = if (partWithoutTag.contains("-")) { + partWithoutTag.substring(partWithoutTag.indexOf("-") + 1, partWithoutTag.length) + } else { + null + } + val endTagAsTitle + get() = endTag ?.adaptAsTitle() +} + +data class Tag( + val title: String, + val tag: String, + val subtags: List +) + +private fun printLanguageCodeAndTags( + tag: Tag, + parent: Tag? = null, + indents: String = " " +): String = if (tag.subtags.isEmpty()) { +""" +${indents}${baseClassSerializerAnnotationName} +${indents}object ${tag.title} : ${parent ?.title ?.let { "$it()" } ?: baseClassName} { override val code: String = "${tag.tag}" } +""" +} else { +""" +${indents}${baseClassSerializerAnnotationName} +${indents}sealed class ${tag.title} : ${parent ?.title ?.let { "$it()" } ?: baseClassName} { +${indents} override val code: String = "${tag.tag}" + +${tag.subtags.joinToString("\n") { printLanguageCodeAndTags(it, tag, "${indents} ") }} + +${indents} ${baseClassSerializerAnnotationName} +${indents} companion object : ${tag.title}() +${indents}} +""" +} + +fun buildKtFileContent(tags: List): String = """ +import kotlinx.serialization.Serializable + +${baseClassSerializerAnnotationName} +sealed interface $baseClassName { + val code: String + +${tags.joinToString("\n") { printLanguageCodeAndTags(it, indents = " ") } } + + $baseClassSerializerAnnotationName + data class $unknownBaseClassName (override val code: String) : $baseClassName +} +""".trimIndent() + +fun createSerializerCode(tags: List): String { + fun createDeserializeVariantForTag( + tag: Tag, + pretitle: String = baseClassName, + indents: String = " " + ): 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 """import kotlinx.serialization.KSerializer +import kotlinx.serialization.builtins.serializer +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder + +object $baseClassSerializerName : KSerializer<$baseClassName> { + override val descriptor = String.serializer().descriptor + + override fun deserialize(decoder: Decoder): $baseClassName { + val tag = decoder.decodeString() + return when (tag) { +${tags.joinToString("\n") { createDeserializeVariantForTag(it) }} + else -> $baseClassName.${unknownBaseClassName}(tag) + } + } + + override fun serialize(encoder: Encoder, value: IetfLanguageCode) { + encoder.encodeString(value.code) + } +} +""" +} + +suspend fun main(vararg args: String) { + val outputFolder = args.firstOrNull() ?.let { File(it) } + outputFolder ?.mkdirs() + 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" + + val client = HttpClient() + + val ietfLanguageCodes = json.decodeFromString( + ListSerializer(LanguageCode.serializer()), + client.get(ietfLanguageCodesLink) + ).map { + it.copy( + title = it.title + .replace(Regex("[;,()-]"), "") + .split(" ") + .joinToString("") { "${it.first().uppercase()}${it.substring(1)}" } + ) + } + val ietfLanguageCodesWithTagsMap = json.decodeFromString( + ListSerializer(LanguageCodeWithTag.serializer()), + client.get(ietfLanguageCodesAdditionalTagsLink) + ).filter { it.withSubtag != it.tag }.groupBy { it.tag } + + val tags = ietfLanguageCodes.map { + val unformattedSubtags = ietfLanguageCodesWithTagsMap[it.tag] ?: emptyList() + val threeLevelTags = unformattedSubtags.filter { it.endTag != null }.groupBy { it.middleTag } + val subtags = unformattedSubtags.mapNotNull { + if (it.endTag == null) { + val currentSubtags = (threeLevelTags[it.subtag] ?: emptyList()).map { + Tag(it.endTagAsTitle!!, it.withSubtag, emptyList()) + } + Tag(it.middleTagTitle, it.withSubtag, currentSubtags) + } else { + null + } + } + Tag( + it.title, + it.tag, + subtags + ) + } + + File(outputFolder, "LanguageCodes.kt").apply { + delete() + createNewFile() + writeText(buildKtFileContent(tags)) + } + + File(outputFolder, "$baseClassSerializerName.kt").apply { + delete() + createNewFile() + writeText(createSerializerCode(tags)) + } +} diff --git a/language_codes/gradle.properties b/language_codes/gradle.properties new file mode 100644 index 00000000000..09e60da5bdd --- /dev/null +++ b/language_codes/gradle.properties @@ -0,0 +1 @@ +csv_parser_version=0.15.2 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 new file mode 100644 index 00000000000..3a1df350577 --- /dev/null +++ b/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/IetfLanguageCodeSerializer.kt @@ -0,0 +1,683 @@ +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 { + val tag = decoder.decodeString() + return when (tag) { + 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.BokmålNorwegianNorwegianBokmål.code -> IetfLanguageCode.BokmålNorwegianNorwegianBokmål + IetfLanguageCode.BokmålNorwegianNorwegianBokmål.NO.code -> IetfLanguageCode.BokmålNorwegianNorwegianBokmål.NO + IetfLanguageCode.BokmålNorwegianNorwegianBokmål.SJ.code -> IetfLanguageCode.BokmålNorwegianNorwegianBokmål.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.Volapük.code -> IetfLanguageCode.Volapük + IetfLanguageCode.Volapük.L001.code -> IetfLanguageCode.Volapük.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(tag) + } + } + + 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 new file mode 100644 index 00000000000..10bbe0d3a13 --- /dev/null +++ b/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/LanguageCodes.kt @@ -0,0 +1,3578 @@ +package dev.inmo.micro_utils.language_codes + +import kotlinx.serialization.Serializable + +@Serializable(IetfLanguageCodeSerializer::class) +sealed interface IetfLanguageCode { + val code: String + + + @Serializable(IetfLanguageCodeSerializer::class) + object Afar : IetfLanguageCode { override val code: String = "aa" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Abkhazian : IetfLanguageCode { override val code: String = "ab" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Avestan : IetfLanguageCode { override val code: String = "ae" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Afrikaans : IetfLanguageCode { + override val code: String = "af" + + + @Serializable(IetfLanguageCodeSerializer::class) + object NA : Afrikaans() { override val code: String = "af-NA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ZA : Afrikaans() { override val code: String = "af-ZA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Afrikaans() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Akan : IetfLanguageCode { + override val code: String = "ak" + + + @Serializable(IetfLanguageCodeSerializer::class) + object GH : Akan() { override val code: String = "ak-GH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Akan() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Amharic : IetfLanguageCode { + override val code: String = "am" + + + @Serializable(IetfLanguageCodeSerializer::class) + object ET : Amharic() { override val code: String = "am-ET" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Amharic() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Aragonese : IetfLanguageCode { override val code: String = "an" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Arabic : IetfLanguageCode { + override val code: String = "ar" + + + @Serializable(IetfLanguageCodeSerializer::class) + object L001 : Arabic() { override val code: String = "ar-001" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object AE : Arabic() { override val code: String = "ar-AE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BH : Arabic() { override val code: String = "ar-BH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object DJ : Arabic() { override val code: String = "ar-DJ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object DZ : Arabic() { override val code: String = "ar-DZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object EG : Arabic() { override val code: String = "ar-EG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object EH : Arabic() { override val code: String = "ar-EH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ER : Arabic() { override val code: String = "ar-ER" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IL : Arabic() { override val code: String = "ar-IL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IQ : Arabic() { override val code: String = "ar-IQ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object JO : Arabic() { override val code: String = "ar-JO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KM : Arabic() { override val code: String = "ar-KM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KW : Arabic() { override val code: String = "ar-KW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object LB : Arabic() { override val code: String = "ar-LB" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object LY : Arabic() { override val code: String = "ar-LY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MA : Arabic() { override val code: String = "ar-MA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MR : Arabic() { override val code: String = "ar-MR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object OM : Arabic() { override val code: String = "ar-OM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PS : Arabic() { override val code: String = "ar-PS" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object QA : Arabic() { override val code: String = "ar-QA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SA : Arabic() { override val code: String = "ar-SA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SD : Arabic() { override val code: String = "ar-SD" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SO : Arabic() { override val code: String = "ar-SO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SS : Arabic() { override val code: String = "ar-SS" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SY : Arabic() { override val code: String = "ar-SY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TD : Arabic() { override val code: String = "ar-TD" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TN : Arabic() { override val code: String = "ar-TN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object YE : Arabic() { override val code: String = "ar-YE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Arabic() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Assamese : IetfLanguageCode { + override val code: String = "as" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Assamese() { override val code: String = "as-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Assamese() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Avaric : IetfLanguageCode { override val code: String = "av" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Aymara : IetfLanguageCode { override val code: String = "ay" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Azerbaijani : IetfLanguageCode { + override val code: String = "az" + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Cyrl : Azerbaijani() { + override val code: String = "az-Cyrl" + + + @Serializable(IetfLanguageCodeSerializer::class) + object AZ : Cyrl() { override val code: String = "az-Cyrl-AZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Cyrl() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Latn : Azerbaijani() { + override val code: String = "az-Latn" + + + @Serializable(IetfLanguageCodeSerializer::class) + object AZ : Latn() { override val code: String = "az-Latn-AZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Latn() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Azerbaijani() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Bashkir : IetfLanguageCode { override val code: String = "ba" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Belarusian : IetfLanguageCode { + override val code: String = "be" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BY : Belarusian() { override val code: String = "be-BY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Belarusian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Bulgarian : IetfLanguageCode { + override val code: String = "bg" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BG : Bulgarian() { override val code: String = "bg-BG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Bulgarian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BihariLanguages : IetfLanguageCode { override val code: String = "bh" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Bislama : IetfLanguageCode { override val code: String = "bi" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Bambara : IetfLanguageCode { + override val code: String = "bm" + + + @Serializable(IetfLanguageCodeSerializer::class) + object ML : Bambara() { override val code: String = "bm-ML" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Bambara() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Bengali : IetfLanguageCode { + override val code: String = "bn" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BD : Bengali() { override val code: String = "bn-BD" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Bengali() { override val code: String = "bn-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Bengali() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Tibetan : IetfLanguageCode { + override val code: String = "bo" + + + @Serializable(IetfLanguageCodeSerializer::class) + object CN : Tibetan() { override val code: String = "bo-CN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Tibetan() { override val code: String = "bo-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Tibetan() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Breton : IetfLanguageCode { + override val code: String = "br" + + + @Serializable(IetfLanguageCodeSerializer::class) + object FR : Breton() { override val code: String = "br-FR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Breton() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Bosnian : IetfLanguageCode { + override val code: String = "bs" + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Cyrl : Bosnian() { + override val code: String = "bs-Cyrl" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BA : Cyrl() { override val code: String = "bs-Cyrl-BA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Cyrl() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Latn : Bosnian() { + override val code: String = "bs-Latn" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BA : Latn() { override val code: String = "bs-Latn-BA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Latn() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Bosnian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class CatalanValencian : IetfLanguageCode { + override val code: String = "ca" + + + @Serializable(IetfLanguageCodeSerializer::class) + object AD : CatalanValencian() { override val code: String = "ca-AD" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class ES : CatalanValencian() { + override val code: String = "ca-ES" + + + @Serializable(IetfLanguageCodeSerializer::class) + object VALENCIA : ES() { override val code: String = "ca-ES-VALENCIA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : ES() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object FR : CatalanValencian() { override val code: String = "ca-FR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IT : CatalanValencian() { override val code: String = "ca-IT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : CatalanValencian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Chechen : IetfLanguageCode { + override val code: String = "ce" + + + @Serializable(IetfLanguageCodeSerializer::class) + object RU : Chechen() { override val code: String = "ce-RU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Chechen() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Chamorro : IetfLanguageCode { override val code: String = "ch" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Corsican : IetfLanguageCode { override val code: String = "co" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Cree : IetfLanguageCode { override val code: String = "cr" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Czech : IetfLanguageCode { + override val code: String = "cs" + + + @Serializable(IetfLanguageCodeSerializer::class) + object CZ : Czech() { override val code: String = "cs-CZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Czech() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic : IetfLanguageCode { + override val code: String = "cu" + + + @Serializable(IetfLanguageCodeSerializer::class) + object RU : ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic() { override val code: String = "cu-RU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Chuvash : IetfLanguageCode { override val code: String = "cv" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Welsh : IetfLanguageCode { + override val code: String = "cy" + + + @Serializable(IetfLanguageCodeSerializer::class) + object GB : Welsh() { override val code: String = "cy-GB" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Welsh() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Danish : IetfLanguageCode { + override val code: String = "da" + + + @Serializable(IetfLanguageCodeSerializer::class) + object DK : Danish() { override val code: String = "da-DK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GL : Danish() { override val code: String = "da-GL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Danish() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class German : IetfLanguageCode { + override val code: String = "de" + + + @Serializable(IetfLanguageCodeSerializer::class) + object AT : German() { override val code: String = "de-AT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BE : German() { override val code: String = "de-BE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CH : German() { override val code: String = "de-CH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object DE : German() { override val code: String = "de-DE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IT : German() { override val code: String = "de-IT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object LI : German() { override val code: String = "de-LI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object LU : German() { override val code: String = "de-LU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : German() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object DivehiDhivehiMaldivian : IetfLanguageCode { override val code: String = "dv" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Dzongkha : IetfLanguageCode { + override val code: String = "dz" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BT : Dzongkha() { override val code: String = "dz-BT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Dzongkha() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Ewe : IetfLanguageCode { + override val code: String = "ee" + + + @Serializable(IetfLanguageCodeSerializer::class) + object GH : Ewe() { override val code: String = "ee-GH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TG : Ewe() { override val code: String = "ee-TG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Ewe() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class GreekModern1453 : IetfLanguageCode { + override val code: String = "el" + + + @Serializable(IetfLanguageCodeSerializer::class) + object CY : GreekModern1453() { override val code: String = "el-CY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GR : GreekModern1453() { override val code: String = "el-GR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : GreekModern1453() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class English : IetfLanguageCode { + override val code: String = "en" + + + @Serializable(IetfLanguageCodeSerializer::class) + object L001 : English() { override val code: String = "en-001" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object L150 : English() { override val code: String = "en-150" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object AE : English() { override val code: String = "en-AE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object AG : English() { override val code: String = "en-AG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object AI : English() { override val code: String = "en-AI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object AS : English() { override val code: String = "en-AS" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object AT : English() { override val code: String = "en-AT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object AU : English() { override val code: String = "en-AU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BB : English() { override val code: String = "en-BB" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BE : English() { override val code: String = "en-BE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BI : English() { override val code: String = "en-BI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BM : English() { override val code: String = "en-BM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BS : English() { override val code: String = "en-BS" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BW : English() { override val code: String = "en-BW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BZ : English() { override val code: String = "en-BZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CA : English() { override val code: String = "en-CA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CC : English() { override val code: String = "en-CC" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CH : English() { override val code: String = "en-CH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CK : English() { override val code: String = "en-CK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CM : English() { override val code: String = "en-CM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CX : English() { override val code: String = "en-CX" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CY : English() { override val code: String = "en-CY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object DE : English() { override val code: String = "en-DE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object DG : English() { override val code: String = "en-DG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object DK : English() { override val code: String = "en-DK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object DM : English() { override val code: String = "en-DM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ER : English() { override val code: String = "en-ER" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object FI : English() { override val code: String = "en-FI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object FJ : English() { override val code: String = "en-FJ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object FK : English() { override val code: String = "en-FK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object FM : English() { override val code: String = "en-FM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GB : English() { override val code: String = "en-GB" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GD : English() { override val code: String = "en-GD" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GG : English() { override val code: String = "en-GG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GH : English() { override val code: String = "en-GH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GI : English() { override val code: String = "en-GI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GM : English() { override val code: String = "en-GM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GU : English() { override val code: String = "en-GU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GY : English() { override val code: String = "en-GY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object HK : English() { override val code: String = "en-HK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IE : English() { override val code: String = "en-IE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IL : English() { override val code: String = "en-IL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IM : English() { override val code: String = "en-IM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : English() { override val code: String = "en-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IO : English() { override val code: String = "en-IO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object JE : English() { override val code: String = "en-JE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object JM : English() { override val code: String = "en-JM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KE : English() { override val code: String = "en-KE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KI : English() { override val code: String = "en-KI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KN : English() { override val code: String = "en-KN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KY : English() { override val code: String = "en-KY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object LC : English() { override val code: String = "en-LC" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object LR : English() { override val code: String = "en-LR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object LS : English() { override val code: String = "en-LS" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MG : English() { override val code: String = "en-MG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MH : English() { override val code: String = "en-MH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MO : English() { override val code: String = "en-MO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MP : English() { override val code: String = "en-MP" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MS : English() { override val code: String = "en-MS" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MT : English() { override val code: String = "en-MT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MU : English() { override val code: String = "en-MU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MW : English() { override val code: String = "en-MW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MY : English() { override val code: String = "en-MY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NA : English() { override val code: String = "en-NA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NF : English() { override val code: String = "en-NF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NG : English() { override val code: String = "en-NG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NL : English() { override val code: String = "en-NL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NR : English() { override val code: String = "en-NR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NU : English() { override val code: String = "en-NU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NZ : English() { override val code: String = "en-NZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PG : English() { override val code: String = "en-PG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PH : English() { override val code: String = "en-PH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PK : English() { override val code: String = "en-PK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PN : English() { override val code: String = "en-PN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PR : English() { override val code: String = "en-PR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PW : English() { override val code: String = "en-PW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object RW : English() { override val code: String = "en-RW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SB : English() { override val code: String = "en-SB" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SC : English() { override val code: String = "en-SC" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SD : English() { override val code: String = "en-SD" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SE : English() { override val code: String = "en-SE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SG : English() { override val code: String = "en-SG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SH : English() { override val code: String = "en-SH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SI : English() { override val code: String = "en-SI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SL : English() { override val code: String = "en-SL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SS : English() { override val code: String = "en-SS" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SX : English() { override val code: String = "en-SX" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SZ : English() { override val code: String = "en-SZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TC : English() { override val code: String = "en-TC" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TK : English() { override val code: String = "en-TK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TO : English() { override val code: String = "en-TO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TT : English() { override val code: String = "en-TT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TV : English() { override val code: String = "en-TV" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TZ : English() { override val code: String = "en-TZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object UG : English() { override val code: String = "en-UG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object UM : English() { override val code: String = "en-UM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class US : English() { + override val code: String = "en-US" + + + @Serializable(IetfLanguageCodeSerializer::class) + object POSIX : US() { override val code: String = "en-US-POSIX" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : US() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object VC : English() { override val code: String = "en-VC" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object VG : English() { override val code: String = "en-VG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object VI : English() { override val code: String = "en-VI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object VU : English() { override val code: String = "en-VU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object WS : English() { override val code: String = "en-WS" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ZA : English() { override val code: String = "en-ZA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ZM : English() { override val code: String = "en-ZM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ZW : English() { override val code: String = "en-ZW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : English() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Esperanto : IetfLanguageCode { + override val code: String = "eo" + + + @Serializable(IetfLanguageCodeSerializer::class) + object L001 : Esperanto() { override val code: String = "eo-001" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Esperanto() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class SpanishCastilian : IetfLanguageCode { + override val code: String = "es" + + + @Serializable(IetfLanguageCodeSerializer::class) + object L419 : SpanishCastilian() { override val code: String = "es-419" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object AR : SpanishCastilian() { override val code: String = "es-AR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BO : SpanishCastilian() { override val code: String = "es-BO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BR : SpanishCastilian() { override val code: String = "es-BR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BZ : SpanishCastilian() { override val code: String = "es-BZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CL : SpanishCastilian() { override val code: String = "es-CL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CO : SpanishCastilian() { override val code: String = "es-CO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CR : SpanishCastilian() { override val code: String = "es-CR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CU : SpanishCastilian() { override val code: String = "es-CU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object DO : SpanishCastilian() { override val code: String = "es-DO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object EA : SpanishCastilian() { override val code: String = "es-EA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object EC : SpanishCastilian() { override val code: String = "es-EC" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ES : SpanishCastilian() { override val code: String = "es-ES" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GQ : SpanishCastilian() { override val code: String = "es-GQ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GT : SpanishCastilian() { override val code: String = "es-GT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object HN : SpanishCastilian() { override val code: String = "es-HN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IC : SpanishCastilian() { override val code: String = "es-IC" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MX : SpanishCastilian() { override val code: String = "es-MX" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NI : SpanishCastilian() { override val code: String = "es-NI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PA : SpanishCastilian() { override val code: String = "es-PA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PE : SpanishCastilian() { override val code: String = "es-PE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PH : SpanishCastilian() { override val code: String = "es-PH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PR : SpanishCastilian() { override val code: String = "es-PR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PY : SpanishCastilian() { override val code: String = "es-PY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SV : SpanishCastilian() { override val code: String = "es-SV" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object US : SpanishCastilian() { override val code: String = "es-US" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object UY : SpanishCastilian() { override val code: String = "es-UY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object VE : SpanishCastilian() { override val code: String = "es-VE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : SpanishCastilian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Estonian : IetfLanguageCode { + override val code: String = "et" + + + @Serializable(IetfLanguageCodeSerializer::class) + object EE : Estonian() { override val code: String = "et-EE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Estonian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Basque : IetfLanguageCode { + override val code: String = "eu" + + + @Serializable(IetfLanguageCodeSerializer::class) + object ES : Basque() { override val code: String = "eu-ES" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Basque() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Persian : IetfLanguageCode { + override val code: String = "fa" + + + @Serializable(IetfLanguageCodeSerializer::class) + object AF : Persian() { override val code: String = "fa-AF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IR : Persian() { override val code: String = "fa-IR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Persian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Fulah : IetfLanguageCode { + override val code: String = "ff" + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Adlm : Fulah() { + override val code: String = "ff-Adlm" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BF : Adlm() { override val code: String = "ff-Adlm-BF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CM : Adlm() { override val code: String = "ff-Adlm-CM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GH : Adlm() { override val code: String = "ff-Adlm-GH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GM : Adlm() { override val code: String = "ff-Adlm-GM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GN : Adlm() { override val code: String = "ff-Adlm-GN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GW : Adlm() { override val code: String = "ff-Adlm-GW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object LR : Adlm() { override val code: String = "ff-Adlm-LR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MR : Adlm() { override val code: String = "ff-Adlm-MR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NE : Adlm() { override val code: String = "ff-Adlm-NE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NG : Adlm() { override val code: String = "ff-Adlm-NG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SL : Adlm() { override val code: String = "ff-Adlm-SL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SN : Adlm() { override val code: String = "ff-Adlm-SN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Adlm() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Latn : Fulah() { + override val code: String = "ff-Latn" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BF : Latn() { override val code: String = "ff-Latn-BF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CM : Latn() { override val code: String = "ff-Latn-CM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GH : Latn() { override val code: String = "ff-Latn-GH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GM : Latn() { override val code: String = "ff-Latn-GM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GN : Latn() { override val code: String = "ff-Latn-GN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GW : Latn() { override val code: String = "ff-Latn-GW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object LR : Latn() { override val code: String = "ff-Latn-LR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MR : Latn() { override val code: String = "ff-Latn-MR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NE : Latn() { override val code: String = "ff-Latn-NE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NG : Latn() { override val code: String = "ff-Latn-NG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SL : Latn() { override val code: String = "ff-Latn-SL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SN : Latn() { override val code: String = "ff-Latn-SN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Latn() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Fulah() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Finnish : IetfLanguageCode { + override val code: String = "fi" + + + @Serializable(IetfLanguageCodeSerializer::class) + object FI : Finnish() { override val code: String = "fi-FI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Finnish() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Fijian : IetfLanguageCode { override val code: String = "fj" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Faroese : IetfLanguageCode { + override val code: String = "fo" + + + @Serializable(IetfLanguageCodeSerializer::class) + object DK : Faroese() { override val code: String = "fo-DK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object FO : Faroese() { override val code: String = "fo-FO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Faroese() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class French : IetfLanguageCode { + override val code: String = "fr" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BE : French() { override val code: String = "fr-BE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BF : French() { override val code: String = "fr-BF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BI : French() { override val code: String = "fr-BI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BJ : French() { override val code: String = "fr-BJ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BL : French() { override val code: String = "fr-BL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CA : French() { override val code: String = "fr-CA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CD : French() { override val code: String = "fr-CD" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CF : French() { override val code: String = "fr-CF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CG : French() { override val code: String = "fr-CG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CH : French() { override val code: String = "fr-CH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CI : French() { override val code: String = "fr-CI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CM : French() { override val code: String = "fr-CM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object DJ : French() { override val code: String = "fr-DJ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object DZ : French() { override val code: String = "fr-DZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object FR : French() { override val code: String = "fr-FR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GA : French() { override val code: String = "fr-GA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GF : French() { override val code: String = "fr-GF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GN : French() { override val code: String = "fr-GN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GP : French() { override val code: String = "fr-GP" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GQ : French() { override val code: String = "fr-GQ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object HT : French() { override val code: String = "fr-HT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KM : French() { override val code: String = "fr-KM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object LU : French() { override val code: String = "fr-LU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MA : French() { override val code: String = "fr-MA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MC : French() { override val code: String = "fr-MC" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MF : French() { override val code: String = "fr-MF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MG : French() { override val code: String = "fr-MG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ML : French() { override val code: String = "fr-ML" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MQ : French() { override val code: String = "fr-MQ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MR : French() { override val code: String = "fr-MR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MU : French() { override val code: String = "fr-MU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NC : French() { override val code: String = "fr-NC" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NE : French() { override val code: String = "fr-NE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PF : French() { override val code: String = "fr-PF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PM : French() { override val code: String = "fr-PM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object RE : French() { override val code: String = "fr-RE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object RW : French() { override val code: String = "fr-RW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SC : French() { override val code: String = "fr-SC" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SN : French() { override val code: String = "fr-SN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SY : French() { override val code: String = "fr-SY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TD : French() { override val code: String = "fr-TD" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TG : French() { override val code: String = "fr-TG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TN : French() { override val code: String = "fr-TN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object VU : French() { override val code: String = "fr-VU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object WF : French() { override val code: String = "fr-WF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object YT : French() { override val code: String = "fr-YT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : French() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class WesternFrisian : IetfLanguageCode { + override val code: String = "fy" + + + @Serializable(IetfLanguageCodeSerializer::class) + object NL : WesternFrisian() { override val code: String = "fy-NL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : WesternFrisian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Irish : IetfLanguageCode { + override val code: String = "ga" + + + @Serializable(IetfLanguageCodeSerializer::class) + object GB : Irish() { override val code: String = "ga-GB" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IE : Irish() { override val code: String = "ga-IE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Irish() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class GaelicScottishGaelic : IetfLanguageCode { + override val code: String = "gd" + + + @Serializable(IetfLanguageCodeSerializer::class) + object GB : GaelicScottishGaelic() { override val code: String = "gd-GB" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : GaelicScottishGaelic() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Galician : IetfLanguageCode { + override val code: String = "gl" + + + @Serializable(IetfLanguageCodeSerializer::class) + object ES : Galician() { override val code: String = "gl-ES" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Galician() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Guarani : IetfLanguageCode { override val code: String = "gn" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Gujarati : IetfLanguageCode { + override val code: String = "gu" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Gujarati() { override val code: String = "gu-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Gujarati() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Manx : IetfLanguageCode { + override val code: String = "gv" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IM : Manx() { override val code: String = "gv-IM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Manx() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Hausa : IetfLanguageCode { + override val code: String = "ha" + + + @Serializable(IetfLanguageCodeSerializer::class) + object GH : Hausa() { override val code: String = "ha-GH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NE : Hausa() { override val code: String = "ha-NE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NG : Hausa() { override val code: String = "ha-NG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Hausa() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Hebrew : IetfLanguageCode { + override val code: String = "he" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IL : Hebrew() { override val code: String = "he-IL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Hebrew() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Hindi : IetfLanguageCode { + override val code: String = "hi" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Hindi() { override val code: String = "hi-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Hindi() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object HiriMotu : IetfLanguageCode { override val code: String = "ho" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Croatian : IetfLanguageCode { + override val code: String = "hr" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BA : Croatian() { override val code: String = "hr-BA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object HR : Croatian() { override val code: String = "hr-HR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Croatian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object HaitianHaitianCreole : IetfLanguageCode { override val code: String = "ht" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Hungarian : IetfLanguageCode { + override val code: String = "hu" + + + @Serializable(IetfLanguageCodeSerializer::class) + object HU : Hungarian() { override val code: String = "hu-HU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Hungarian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Armenian : IetfLanguageCode { + override val code: String = "hy" + + + @Serializable(IetfLanguageCodeSerializer::class) + object AM : Armenian() { override val code: String = "hy-AM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Armenian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Herero : IetfLanguageCode { override val code: String = "hz" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class InterlinguaInternationalAuxiliaryLanguageAssociation : IetfLanguageCode { + override val code: String = "ia" + + + @Serializable(IetfLanguageCodeSerializer::class) + object L001 : InterlinguaInternationalAuxiliaryLanguageAssociation() { override val code: String = "ia-001" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : InterlinguaInternationalAuxiliaryLanguageAssociation() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Indonesian : IetfLanguageCode { + override val code: String = "id" + + + @Serializable(IetfLanguageCodeSerializer::class) + object ID : Indonesian() { override val code: String = "id-ID" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Indonesian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object InterlingueOccidental : IetfLanguageCode { override val code: String = "ie" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Igbo : IetfLanguageCode { + override val code: String = "ig" + + + @Serializable(IetfLanguageCodeSerializer::class) + object NG : Igbo() { override val code: String = "ig-NG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Igbo() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class SichuanYiNuosu : IetfLanguageCode { + override val code: String = "ii" + + + @Serializable(IetfLanguageCodeSerializer::class) + object CN : SichuanYiNuosu() { override val code: String = "ii-CN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : SichuanYiNuosu() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Inupiaq : IetfLanguageCode { override val code: String = "ik" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Ido : IetfLanguageCode { override val code: String = "io" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Icelandic : IetfLanguageCode { + override val code: String = "is" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IS : Icelandic() { override val code: String = "is-IS" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Icelandic() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Italian : IetfLanguageCode { + override val code: String = "it" + + + @Serializable(IetfLanguageCodeSerializer::class) + object CH : Italian() { override val code: String = "it-CH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object IT : Italian() { override val code: String = "it-IT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SM : Italian() { override val code: String = "it-SM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object VA : Italian() { override val code: String = "it-VA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Italian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Inuktitut : IetfLanguageCode { override val code: String = "iu" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Japanese : IetfLanguageCode { + override val code: String = "ja" + + + @Serializable(IetfLanguageCodeSerializer::class) + object JP : Japanese() { override val code: String = "ja-JP" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Japanese() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Javanese : IetfLanguageCode { + override val code: String = "jv" + + + @Serializable(IetfLanguageCodeSerializer::class) + object ID : Javanese() { override val code: String = "jv-ID" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Javanese() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Georgian : IetfLanguageCode { + override val code: String = "ka" + + + @Serializable(IetfLanguageCodeSerializer::class) + object GE : Georgian() { override val code: String = "ka-GE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Georgian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Kongo : IetfLanguageCode { override val code: String = "kg" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class KikuyuGikuyu : IetfLanguageCode { + override val code: String = "ki" + + + @Serializable(IetfLanguageCodeSerializer::class) + object KE : KikuyuGikuyu() { override val code: String = "ki-KE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : KikuyuGikuyu() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KuanyamaKwanyama : IetfLanguageCode { override val code: String = "kj" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Kazakh : IetfLanguageCode { + override val code: String = "kk" + + + @Serializable(IetfLanguageCodeSerializer::class) + object KZ : Kazakh() { override val code: String = "kk-KZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Kazakh() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class KalaallisutGreenlandic : IetfLanguageCode { + override val code: String = "kl" + + + @Serializable(IetfLanguageCodeSerializer::class) + object GL : KalaallisutGreenlandic() { override val code: String = "kl-GL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : KalaallisutGreenlandic() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class CentralKhmer : IetfLanguageCode { + override val code: String = "km" + + + @Serializable(IetfLanguageCodeSerializer::class) + object KH : CentralKhmer() { override val code: String = "km-KH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : CentralKhmer() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Kannada : IetfLanguageCode { + override val code: String = "kn" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Kannada() { override val code: String = "kn-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Kannada() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Korean : IetfLanguageCode { + override val code: String = "ko" + + + @Serializable(IetfLanguageCodeSerializer::class) + object KP : Korean() { override val code: String = "ko-KP" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KR : Korean() { override val code: String = "ko-KR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Korean() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Kanuri : IetfLanguageCode { override val code: String = "kr" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Kashmiri : IetfLanguageCode { + override val code: String = "ks" + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Arab : Kashmiri() { + override val code: String = "ks-Arab" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Arab() { override val code: String = "ks-Arab-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Arab() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Kashmiri() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Kurdish : IetfLanguageCode { + override val code: String = "ku" + + + @Serializable(IetfLanguageCodeSerializer::class) + object TR : Kurdish() { override val code: String = "ku-TR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Kurdish() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Komi : IetfLanguageCode { override val code: String = "kv" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Cornish : IetfLanguageCode { + override val code: String = "kw" + + + @Serializable(IetfLanguageCodeSerializer::class) + object GB : Cornish() { override val code: String = "kw-GB" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Cornish() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class KirghizKyrgyz : IetfLanguageCode { + override val code: String = "ky" + + + @Serializable(IetfLanguageCodeSerializer::class) + object KG : KirghizKyrgyz() { override val code: String = "ky-KG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : KirghizKyrgyz() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Latin : IetfLanguageCode { override val code: String = "la" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class LuxembourgishLetzeburgesch : IetfLanguageCode { + override val code: String = "lb" + + + @Serializable(IetfLanguageCodeSerializer::class) + object LU : LuxembourgishLetzeburgesch() { override val code: String = "lb-LU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : LuxembourgishLetzeburgesch() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Ganda : IetfLanguageCode { + override val code: String = "lg" + + + @Serializable(IetfLanguageCodeSerializer::class) + object UG : Ganda() { override val code: String = "lg-UG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Ganda() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object LimburganLimburgerLimburgish : IetfLanguageCode { override val code: String = "li" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Lingala : IetfLanguageCode { + override val code: String = "ln" + + + @Serializable(IetfLanguageCodeSerializer::class) + object AO : Lingala() { override val code: String = "ln-AO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CD : Lingala() { override val code: String = "ln-CD" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CF : Lingala() { override val code: String = "ln-CF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CG : Lingala() { override val code: String = "ln-CG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Lingala() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Lao : IetfLanguageCode { + override val code: String = "lo" + + + @Serializable(IetfLanguageCodeSerializer::class) + object LA : Lao() { override val code: String = "lo-LA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Lao() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Lithuanian : IetfLanguageCode { + override val code: String = "lt" + + + @Serializable(IetfLanguageCodeSerializer::class) + object LT : Lithuanian() { override val code: String = "lt-LT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Lithuanian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class LubaKatanga : IetfLanguageCode { + override val code: String = "lu" + + + @Serializable(IetfLanguageCodeSerializer::class) + object CD : LubaKatanga() { override val code: String = "lu-CD" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : LubaKatanga() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Latvian : IetfLanguageCode { + override val code: String = "lv" + + + @Serializable(IetfLanguageCodeSerializer::class) + object LV : Latvian() { override val code: String = "lv-LV" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Latvian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Malagasy : IetfLanguageCode { + override val code: String = "mg" + + + @Serializable(IetfLanguageCodeSerializer::class) + object MG : Malagasy() { override val code: String = "mg-MG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Malagasy() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Marshallese : IetfLanguageCode { override val code: String = "mh" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Maori : IetfLanguageCode { + override val code: String = "mi" + + + @Serializable(IetfLanguageCodeSerializer::class) + object NZ : Maori() { override val code: String = "mi-NZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Maori() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Macedonian : IetfLanguageCode { + override val code: String = "mk" + + + @Serializable(IetfLanguageCodeSerializer::class) + object MK : Macedonian() { override val code: String = "mk-MK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Macedonian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Malayalam : IetfLanguageCode { + override val code: String = "ml" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Malayalam() { override val code: String = "ml-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Malayalam() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Mongolian : IetfLanguageCode { + override val code: String = "mn" + + + @Serializable(IetfLanguageCodeSerializer::class) + object MN : Mongolian() { override val code: String = "mn-MN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Mongolian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Marathi : IetfLanguageCode { + override val code: String = "mr" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Marathi() { override val code: String = "mr-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Marathi() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Malay : IetfLanguageCode { + override val code: String = "ms" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BN : Malay() { override val code: String = "ms-BN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ID : Malay() { override val code: String = "ms-ID" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MY : Malay() { override val code: String = "ms-MY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SG : Malay() { override val code: String = "ms-SG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Malay() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Maltese : IetfLanguageCode { + override val code: String = "mt" + + + @Serializable(IetfLanguageCodeSerializer::class) + object MT : Maltese() { override val code: String = "mt-MT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Maltese() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Burmese : IetfLanguageCode { + override val code: String = "my" + + + @Serializable(IetfLanguageCodeSerializer::class) + object MM : Burmese() { override val code: String = "my-MM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Burmese() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Nauru : IetfLanguageCode { override val code: String = "na" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class BokmålNorwegianNorwegianBokmål : IetfLanguageCode { + override val code: String = "nb" + + + @Serializable(IetfLanguageCodeSerializer::class) + object NO : BokmålNorwegianNorwegianBokmål() { override val code: String = "nb-NO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SJ : BokmålNorwegianNorwegianBokmål() { override val code: String = "nb-SJ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : BokmålNorwegianNorwegianBokmål() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class NdebeleNorthNorthNdebele : IetfLanguageCode { + override val code: String = "nd" + + + @Serializable(IetfLanguageCodeSerializer::class) + object ZW : NdebeleNorthNorthNdebele() { override val code: String = "nd-ZW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : NdebeleNorthNorthNdebele() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Nepali : IetfLanguageCode { + override val code: String = "ne" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Nepali() { override val code: String = "ne-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NP : Nepali() { override val code: String = "ne-NP" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Nepali() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Ndonga : IetfLanguageCode { override val code: String = "ng" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class DutchFlemish : IetfLanguageCode { + override val code: String = "nl" + + + @Serializable(IetfLanguageCodeSerializer::class) + object AW : DutchFlemish() { override val code: String = "nl-AW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BE : DutchFlemish() { override val code: String = "nl-BE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BQ : DutchFlemish() { override val code: String = "nl-BQ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CW : DutchFlemish() { override val code: String = "nl-CW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NL : DutchFlemish() { override val code: String = "nl-NL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SR : DutchFlemish() { override val code: String = "nl-SR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SX : DutchFlemish() { override val code: String = "nl-SX" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : DutchFlemish() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class NorwegianNynorskNynorskNorwegian : IetfLanguageCode { + override val code: String = "nn" + + + @Serializable(IetfLanguageCodeSerializer::class) + object NO : NorwegianNynorskNynorskNorwegian() { override val code: String = "nn-NO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : NorwegianNynorskNynorskNorwegian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Norwegian : IetfLanguageCode { override val code: String = "no" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NdebeleSouthSouthNdebele : IetfLanguageCode { override val code: String = "nr" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NavajoNavaho : IetfLanguageCode { override val code: String = "nv" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ChichewaChewaNyanja : IetfLanguageCode { override val code: String = "ny" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object OccitanPost1500 : IetfLanguageCode { override val code: String = "oc" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Ojibwa : IetfLanguageCode { override val code: String = "oj" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Oromo : IetfLanguageCode { + override val code: String = "om" + + + @Serializable(IetfLanguageCodeSerializer::class) + object ET : Oromo() { override val code: String = "om-ET" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KE : Oromo() { override val code: String = "om-KE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Oromo() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Oriya : IetfLanguageCode { + override val code: String = "or" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Oriya() { override val code: String = "or-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Oriya() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class OssetianOssetic : IetfLanguageCode { + override val code: String = "os" + + + @Serializable(IetfLanguageCodeSerializer::class) + object GE : OssetianOssetic() { override val code: String = "os-GE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object RU : OssetianOssetic() { override val code: String = "os-RU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : OssetianOssetic() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class PanjabiPunjabi : IetfLanguageCode { + override val code: String = "pa" + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Arab : PanjabiPunjabi() { + override val code: String = "pa-Arab" + + + @Serializable(IetfLanguageCodeSerializer::class) + object PK : Arab() { override val code: String = "pa-Arab-PK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Arab() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Guru : PanjabiPunjabi() { + override val code: String = "pa-Guru" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Guru() { override val code: String = "pa-Guru-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Guru() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : PanjabiPunjabi() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Pali : IetfLanguageCode { override val code: String = "pi" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Polish : IetfLanguageCode { + override val code: String = "pl" + + + @Serializable(IetfLanguageCodeSerializer::class) + object PL : Polish() { override val code: String = "pl-PL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Polish() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class PushtoPashto : IetfLanguageCode { + override val code: String = "ps" + + + @Serializable(IetfLanguageCodeSerializer::class) + object AF : PushtoPashto() { override val code: String = "ps-AF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PK : PushtoPashto() { override val code: String = "ps-PK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : PushtoPashto() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Portuguese : IetfLanguageCode { + override val code: String = "pt" + + + @Serializable(IetfLanguageCodeSerializer::class) + object AO : Portuguese() { override val code: String = "pt-AO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object BR : Portuguese() { override val code: String = "pt-BR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CH : Portuguese() { override val code: String = "pt-CH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object CV : Portuguese() { override val code: String = "pt-CV" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GQ : Portuguese() { override val code: String = "pt-GQ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object GW : Portuguese() { override val code: String = "pt-GW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object LU : Portuguese() { override val code: String = "pt-LU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MO : Portuguese() { override val code: String = "pt-MO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MZ : Portuguese() { override val code: String = "pt-MZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PT : Portuguese() { override val code: String = "pt-PT" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ST : Portuguese() { override val code: String = "pt-ST" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TL : Portuguese() { override val code: String = "pt-TL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Portuguese() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Quechua : IetfLanguageCode { + override val code: String = "qu" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BO : Quechua() { override val code: String = "qu-BO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object EC : Quechua() { override val code: String = "qu-EC" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PE : Quechua() { override val code: String = "qu-PE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Quechua() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Romansh : IetfLanguageCode { + override val code: String = "rm" + + + @Serializable(IetfLanguageCodeSerializer::class) + object CH : Romansh() { override val code: String = "rm-CH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Romansh() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Rundi : IetfLanguageCode { + override val code: String = "rn" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BI : Rundi() { override val code: String = "rn-BI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Rundi() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class RomanianMoldavianMoldovan : IetfLanguageCode { + override val code: String = "ro" + + + @Serializable(IetfLanguageCodeSerializer::class) + object MD : RomanianMoldavianMoldovan() { override val code: String = "ro-MD" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object RO : RomanianMoldavianMoldovan() { override val code: String = "ro-RO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : RomanianMoldavianMoldovan() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Russian : IetfLanguageCode { + override val code: String = "ru" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BY : Russian() { override val code: String = "ru-BY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KG : Russian() { override val code: String = "ru-KG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KZ : Russian() { override val code: String = "ru-KZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MD : Russian() { override val code: String = "ru-MD" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object RU : Russian() { override val code: String = "ru-RU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object UA : Russian() { override val code: String = "ru-UA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Russian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Kinyarwanda : IetfLanguageCode { + override val code: String = "rw" + + + @Serializable(IetfLanguageCodeSerializer::class) + object RW : Kinyarwanda() { override val code: String = "rw-RW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Kinyarwanda() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Sanskrit : IetfLanguageCode { override val code: String = "sa" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Sardinian : IetfLanguageCode { override val code: String = "sc" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Sindhi : IetfLanguageCode { + override val code: String = "sd" + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Arab : Sindhi() { + override val code: String = "sd-Arab" + + + @Serializable(IetfLanguageCodeSerializer::class) + object PK : Arab() { override val code: String = "sd-Arab-PK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Arab() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Deva : Sindhi() { + override val code: String = "sd-Deva" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Deva() { override val code: String = "sd-Deva-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Deva() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Sindhi() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class NorthernSami : IetfLanguageCode { + override val code: String = "se" + + + @Serializable(IetfLanguageCodeSerializer::class) + object FI : NorthernSami() { override val code: String = "se-FI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NO : NorthernSami() { override val code: String = "se-NO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SE : NorthernSami() { override val code: String = "se-SE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : NorthernSami() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Sango : IetfLanguageCode { + override val code: String = "sg" + + + @Serializable(IetfLanguageCodeSerializer::class) + object CF : Sango() { override val code: String = "sg-CF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Sango() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class SinhalaSinhalese : IetfLanguageCode { + override val code: String = "si" + + + @Serializable(IetfLanguageCodeSerializer::class) + object LK : SinhalaSinhalese() { override val code: String = "si-LK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : SinhalaSinhalese() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Slovak : IetfLanguageCode { + override val code: String = "sk" + + + @Serializable(IetfLanguageCodeSerializer::class) + object SK : Slovak() { override val code: String = "sk-SK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Slovak() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Slovenian : IetfLanguageCode { + override val code: String = "sl" + + + @Serializable(IetfLanguageCodeSerializer::class) + object SI : Slovenian() { override val code: String = "sl-SI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Slovenian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Samoan : IetfLanguageCode { override val code: String = "sm" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Shona : IetfLanguageCode { + override val code: String = "sn" + + + @Serializable(IetfLanguageCodeSerializer::class) + object ZW : Shona() { override val code: String = "sn-ZW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Shona() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Somali : IetfLanguageCode { + override val code: String = "so" + + + @Serializable(IetfLanguageCodeSerializer::class) + object DJ : Somali() { override val code: String = "so-DJ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ET : Somali() { override val code: String = "so-ET" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KE : Somali() { override val code: String = "so-KE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SO : Somali() { override val code: String = "so-SO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Somali() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Albanian : IetfLanguageCode { + override val code: String = "sq" + + + @Serializable(IetfLanguageCodeSerializer::class) + object AL : Albanian() { override val code: String = "sq-AL" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MK : Albanian() { override val code: String = "sq-MK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object XK : Albanian() { override val code: String = "sq-XK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Albanian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Serbian : IetfLanguageCode { + override val code: String = "sr" + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Cyrl : Serbian() { + override val code: String = "sr-Cyrl" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BA : Cyrl() { override val code: String = "sr-Cyrl-BA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ME : Cyrl() { override val code: String = "sr-Cyrl-ME" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object RS : Cyrl() { override val code: String = "sr-Cyrl-RS" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object XK : Cyrl() { override val code: String = "sr-Cyrl-XK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Cyrl() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Latn : Serbian() { + override val code: String = "sr-Latn" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BA : Latn() { override val code: String = "sr-Latn-BA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ME : Latn() { override val code: String = "sr-Latn-ME" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object RS : Latn() { override val code: String = "sr-Latn-RS" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object XK : Latn() { override val code: String = "sr-Latn-XK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Latn() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Serbian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Swati : IetfLanguageCode { override val code: String = "ss" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SothoSouthern : IetfLanguageCode { override val code: String = "st" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Sundanese : IetfLanguageCode { + override val code: String = "su" + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Latn : Sundanese() { + override val code: String = "su-Latn" + + + @Serializable(IetfLanguageCodeSerializer::class) + object ID : Latn() { override val code: String = "su-Latn-ID" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Latn() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Sundanese() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Swedish : IetfLanguageCode { + override val code: String = "sv" + + + @Serializable(IetfLanguageCodeSerializer::class) + object AX : Swedish() { override val code: String = "sv-AX" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object FI : Swedish() { override val code: String = "sv-FI" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SE : Swedish() { override val code: String = "sv-SE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Swedish() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Swahili : IetfLanguageCode { + override val code: String = "sw" + + + @Serializable(IetfLanguageCodeSerializer::class) + object CD : Swahili() { override val code: String = "sw-CD" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object KE : Swahili() { override val code: String = "sw-KE" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TZ : Swahili() { override val code: String = "sw-TZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object UG : Swahili() { override val code: String = "sw-UG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Swahili() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Tamil : IetfLanguageCode { + override val code: String = "ta" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Tamil() { override val code: String = "ta-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object LK : Tamil() { override val code: String = "ta-LK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MY : Tamil() { override val code: String = "ta-MY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SG : Tamil() { override val code: String = "ta-SG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Tamil() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Telugu : IetfLanguageCode { + override val code: String = "te" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Telugu() { override val code: String = "te-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Telugu() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Tajik : IetfLanguageCode { + override val code: String = "tg" + + + @Serializable(IetfLanguageCodeSerializer::class) + object TJ : Tajik() { override val code: String = "tg-TJ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Tajik() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Thai : IetfLanguageCode { + override val code: String = "th" + + + @Serializable(IetfLanguageCodeSerializer::class) + object TH : Thai() { override val code: String = "th-TH" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Thai() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Tigrinya : IetfLanguageCode { + override val code: String = "ti" + + + @Serializable(IetfLanguageCodeSerializer::class) + object ER : Tigrinya() { override val code: String = "ti-ER" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ET : Tigrinya() { override val code: String = "ti-ET" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Tigrinya() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Turkmen : IetfLanguageCode { + override val code: String = "tk" + + + @Serializable(IetfLanguageCodeSerializer::class) + object TM : Turkmen() { override val code: String = "tk-TM" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Turkmen() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Tagalog : IetfLanguageCode { override val code: String = "tl" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Tswana : IetfLanguageCode { override val code: String = "tn" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class TongaTongaIslands : IetfLanguageCode { + override val code: String = "to" + + + @Serializable(IetfLanguageCodeSerializer::class) + object TO : TongaTongaIslands() { override val code: String = "to-TO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : TongaTongaIslands() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Turkish : IetfLanguageCode { + override val code: String = "tr" + + + @Serializable(IetfLanguageCodeSerializer::class) + object CY : Turkish() { override val code: String = "tr-CY" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TR : Turkish() { override val code: String = "tr-TR" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Turkish() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Tsonga : IetfLanguageCode { override val code: String = "ts" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Tatar : IetfLanguageCode { + override val code: String = "tt" + + + @Serializable(IetfLanguageCodeSerializer::class) + object RU : Tatar() { override val code: String = "tt-RU" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Tatar() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Twi : IetfLanguageCode { override val code: String = "tw" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Tahitian : IetfLanguageCode { override val code: String = "ty" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class UighurUyghur : IetfLanguageCode { + override val code: String = "ug" + + + @Serializable(IetfLanguageCodeSerializer::class) + object CN : UighurUyghur() { override val code: String = "ug-CN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : UighurUyghur() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Ukrainian : IetfLanguageCode { + override val code: String = "uk" + + + @Serializable(IetfLanguageCodeSerializer::class) + object UA : Ukrainian() { override val code: String = "uk-UA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Ukrainian() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Urdu : IetfLanguageCode { + override val code: String = "ur" + + + @Serializable(IetfLanguageCodeSerializer::class) + object IN : Urdu() { override val code: String = "ur-IN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object PK : Urdu() { override val code: String = "ur-PK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Urdu() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Uzbek : IetfLanguageCode { + override val code: String = "uz" + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Arab : Uzbek() { + override val code: String = "uz-Arab" + + + @Serializable(IetfLanguageCodeSerializer::class) + object AF : Arab() { override val code: String = "uz-Arab-AF" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Arab() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Cyrl : Uzbek() { + override val code: String = "uz-Cyrl" + + + @Serializable(IetfLanguageCodeSerializer::class) + object UZ : Cyrl() { override val code: String = "uz-Cyrl-UZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Cyrl() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Latn : Uzbek() { + override val code: String = "uz-Latn" + + + @Serializable(IetfLanguageCodeSerializer::class) + object UZ : Latn() { override val code: String = "uz-Latn-UZ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Latn() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Uzbek() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Venda : IetfLanguageCode { override val code: String = "ve" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Vietnamese : IetfLanguageCode { + override val code: String = "vi" + + + @Serializable(IetfLanguageCodeSerializer::class) + object VN : Vietnamese() { override val code: String = "vi-VN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Vietnamese() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Volapük : IetfLanguageCode { + override val code: String = "vo" + + + @Serializable(IetfLanguageCodeSerializer::class) + object L001 : Volapük() { override val code: String = "vo-001" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Volapük() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object Walloon : IetfLanguageCode { override val code: String = "wa" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Wolof : IetfLanguageCode { + override val code: String = "wo" + + + @Serializable(IetfLanguageCodeSerializer::class) + object SN : Wolof() { override val code: String = "wo-SN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Wolof() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Xhosa : IetfLanguageCode { + override val code: String = "xh" + + + @Serializable(IetfLanguageCodeSerializer::class) + object ZA : Xhosa() { override val code: String = "xh-ZA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Xhosa() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Yiddish : IetfLanguageCode { + override val code: String = "yi" + + + @Serializable(IetfLanguageCodeSerializer::class) + object L001 : Yiddish() { override val code: String = "yi-001" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Yiddish() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Yoruba : IetfLanguageCode { + override val code: String = "yo" + + + @Serializable(IetfLanguageCodeSerializer::class) + object BJ : Yoruba() { override val code: String = "yo-BJ" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object NG : Yoruba() { override val code: String = "yo-NG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Yoruba() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + object ZhuangChuang : IetfLanguageCode { override val code: String = "za" } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Chinese : IetfLanguageCode { + override val code: String = "zh" + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Hans : Chinese() { + override val code: String = "zh-Hans" + + + @Serializable(IetfLanguageCodeSerializer::class) + object CN : Hans() { override val code: String = "zh-Hans-CN" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object HK : Hans() { override val code: String = "zh-Hans-HK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MO : Hans() { override val code: String = "zh-Hans-MO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object SG : Hans() { override val code: String = "zh-Hans-SG" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Hans() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Hant : Chinese() { + override val code: String = "zh-Hant" + + + @Serializable(IetfLanguageCodeSerializer::class) + object HK : Hant() { override val code: String = "zh-Hant-HK" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object MO : Hant() { override val code: String = "zh-Hant-MO" } + + + @Serializable(IetfLanguageCodeSerializer::class) + object TW : Hant() { override val code: String = "zh-Hant-TW" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Hant() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Chinese() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + sealed class Zulu : IetfLanguageCode { + override val code: String = "zu" + + + @Serializable(IetfLanguageCodeSerializer::class) + object ZA : Zulu() { override val code: String = "zu-ZA" } + + + @Serializable(IetfLanguageCodeSerializer::class) + companion object : Zulu() + } + + + @Serializable(IetfLanguageCodeSerializer::class) + data class UnknownIetfLanguageCode (override val code: String) : IetfLanguageCode +} diff --git a/language_codes/src/main/AndroidManifest.xml b/language_codes/src/main/AndroidManifest.xml new file mode 100644 index 00000000000..7e7078b2eeb --- /dev/null +++ b/language_codes/src/main/AndroidManifest.xml @@ -0,0 +1 @@ + diff --git a/settings.gradle b/settings.gradle index 7fcae92134f..323f588ee48 100644 --- a/settings.gradle +++ b/settings.gradle @@ -10,6 +10,8 @@ String[] includes = [ ":pagination:ktor:common", ":pagination:ktor:server", ":mime_types", + ":language_codes", + ":language_codes:generator", ":repos:common", ":repos:cache", ":repos:exposed", From dafc50c463a8f5582f5936fb7d5a394382413c6c Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 4 Aug 2021 11:11:43 +0600 Subject: [PATCH 4/5] small reformat of code for language_codes --- .../generator/src/main/kotlin/Main.kt | 6 +- .../language_codes/LanguageCodes.kt | 1018 ----------------- 2 files changed, 2 insertions(+), 1022 deletions(-) diff --git a/language_codes/generator/src/main/kotlin/Main.kt b/language_codes/generator/src/main/kotlin/Main.kt index 5a902ffefb1..2a42a2aab8a 100644 --- a/language_codes/generator/src/main/kotlin/Main.kt +++ b/language_codes/generator/src/main/kotlin/Main.kt @@ -73,10 +73,8 @@ private fun printLanguageCodeAndTags( parent: Tag? = null, indents: String = " " ): String = if (tag.subtags.isEmpty()) { -""" -${indents}${baseClassSerializerAnnotationName} -${indents}object ${tag.title} : ${parent ?.title ?.let { "$it()" } ?: baseClassName} { override val code: String = "${tag.tag}" } -""" +"""${indents}${baseClassSerializerAnnotationName} +${indents}object ${tag.title} : ${parent ?.title ?.let { "$it()" } ?: baseClassName} { override val code: String = "${tag.tag}" }""" } else { """ ${indents}${baseClassSerializerAnnotationName} 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 10bbe0d3a13..0c00235e962 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 @@ -6,32 +6,22 @@ import kotlinx.serialization.Serializable sealed interface IetfLanguageCode { val code: String - @Serializable(IetfLanguageCodeSerializer::class) object Afar : IetfLanguageCode { override val code: String = "aa" } - - @Serializable(IetfLanguageCodeSerializer::class) object Abkhazian : IetfLanguageCode { override val code: String = "ab" } - - @Serializable(IetfLanguageCodeSerializer::class) object Avestan : IetfLanguageCode { override val code: String = "ae" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Afrikaans : IetfLanguageCode { override val code: String = "af" - @Serializable(IetfLanguageCodeSerializer::class) object NA : Afrikaans() { override val code: String = "af-NA" } - - @Serializable(IetfLanguageCodeSerializer::class) object ZA : Afrikaans() { override val code: String = "af-ZA" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Afrikaans() } @@ -41,11 +31,9 @@ sealed interface IetfLanguageCode { sealed class Akan : IetfLanguageCode { override val code: String = "ak" - @Serializable(IetfLanguageCodeSerializer::class) object GH : Akan() { override val code: String = "ak-GH" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Akan() } @@ -55,137 +43,77 @@ sealed interface IetfLanguageCode { sealed class Amharic : IetfLanguageCode { override val code: String = "am" - @Serializable(IetfLanguageCodeSerializer::class) object ET : Amharic() { override val code: String = "am-ET" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Amharic() } - @Serializable(IetfLanguageCodeSerializer::class) object Aragonese : IetfLanguageCode { override val code: String = "an" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Arabic : IetfLanguageCode { override val code: String = "ar" - @Serializable(IetfLanguageCodeSerializer::class) object L001 : Arabic() { override val code: String = "ar-001" } - - @Serializable(IetfLanguageCodeSerializer::class) object AE : Arabic() { override val code: String = "ar-AE" } - - @Serializable(IetfLanguageCodeSerializer::class) object BH : Arabic() { override val code: String = "ar-BH" } - - @Serializable(IetfLanguageCodeSerializer::class) object DJ : Arabic() { override val code: String = "ar-DJ" } - - @Serializable(IetfLanguageCodeSerializer::class) object DZ : Arabic() { override val code: String = "ar-DZ" } - - @Serializable(IetfLanguageCodeSerializer::class) object EG : Arabic() { override val code: String = "ar-EG" } - - @Serializable(IetfLanguageCodeSerializer::class) object EH : Arabic() { override val code: String = "ar-EH" } - - @Serializable(IetfLanguageCodeSerializer::class) object ER : Arabic() { override val code: String = "ar-ER" } - - @Serializable(IetfLanguageCodeSerializer::class) object IL : Arabic() { override val code: String = "ar-IL" } - - @Serializable(IetfLanguageCodeSerializer::class) object IQ : Arabic() { override val code: String = "ar-IQ" } - - @Serializable(IetfLanguageCodeSerializer::class) object JO : Arabic() { override val code: String = "ar-JO" } - - @Serializable(IetfLanguageCodeSerializer::class) object KM : Arabic() { override val code: String = "ar-KM" } - - @Serializable(IetfLanguageCodeSerializer::class) object KW : Arabic() { override val code: String = "ar-KW" } - - @Serializable(IetfLanguageCodeSerializer::class) object LB : Arabic() { override val code: String = "ar-LB" } - - @Serializable(IetfLanguageCodeSerializer::class) object LY : Arabic() { override val code: String = "ar-LY" } - - @Serializable(IetfLanguageCodeSerializer::class) object MA : Arabic() { override val code: String = "ar-MA" } - - @Serializable(IetfLanguageCodeSerializer::class) object MR : Arabic() { override val code: String = "ar-MR" } - - @Serializable(IetfLanguageCodeSerializer::class) object OM : Arabic() { override val code: String = "ar-OM" } - - @Serializable(IetfLanguageCodeSerializer::class) object PS : Arabic() { override val code: String = "ar-PS" } - - @Serializable(IetfLanguageCodeSerializer::class) object QA : Arabic() { override val code: String = "ar-QA" } - - @Serializable(IetfLanguageCodeSerializer::class) object SA : Arabic() { override val code: String = "ar-SA" } - - @Serializable(IetfLanguageCodeSerializer::class) object SD : Arabic() { override val code: String = "ar-SD" } - - @Serializable(IetfLanguageCodeSerializer::class) object SO : Arabic() { override val code: String = "ar-SO" } - - @Serializable(IetfLanguageCodeSerializer::class) object SS : Arabic() { override val code: String = "ar-SS" } - - @Serializable(IetfLanguageCodeSerializer::class) object SY : Arabic() { override val code: String = "ar-SY" } - - @Serializable(IetfLanguageCodeSerializer::class) object TD : Arabic() { override val code: String = "ar-TD" } - - @Serializable(IetfLanguageCodeSerializer::class) object TN : Arabic() { override val code: String = "ar-TN" } - - @Serializable(IetfLanguageCodeSerializer::class) object YE : Arabic() { override val code: String = "ar-YE" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Arabic() } @@ -195,24 +123,18 @@ sealed interface IetfLanguageCode { sealed class Assamese : IetfLanguageCode { override val code: String = "as" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Assamese() { override val code: String = "as-IN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Assamese() } - @Serializable(IetfLanguageCodeSerializer::class) object Avaric : IetfLanguageCode { override val code: String = "av" } - - @Serializable(IetfLanguageCodeSerializer::class) object Aymara : IetfLanguageCode { override val code: String = "ay" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Azerbaijani : IetfLanguageCode { override val code: String = "az" @@ -222,11 +144,9 @@ sealed interface IetfLanguageCode { sealed class Cyrl : Azerbaijani() { override val code: String = "az-Cyrl" - @Serializable(IetfLanguageCodeSerializer::class) object AZ : Cyrl() { override val code: String = "az-Cyrl-AZ" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Cyrl() } @@ -236,11 +156,9 @@ sealed interface IetfLanguageCode { sealed class Latn : Azerbaijani() { override val code: String = "az-Latn" - @Serializable(IetfLanguageCodeSerializer::class) object AZ : Latn() { override val code: String = "az-Latn-AZ" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Latn() } @@ -250,20 +168,16 @@ sealed interface IetfLanguageCode { companion object : Azerbaijani() } - @Serializable(IetfLanguageCodeSerializer::class) object Bashkir : IetfLanguageCode { override val code: String = "ba" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Belarusian : IetfLanguageCode { override val code: String = "be" - @Serializable(IetfLanguageCodeSerializer::class) object BY : Belarusian() { override val code: String = "be-BY" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Belarusian() } @@ -273,33 +187,25 @@ sealed interface IetfLanguageCode { sealed class Bulgarian : IetfLanguageCode { override val code: String = "bg" - @Serializable(IetfLanguageCodeSerializer::class) object BG : Bulgarian() { override val code: String = "bg-BG" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Bulgarian() } - @Serializable(IetfLanguageCodeSerializer::class) object BihariLanguages : IetfLanguageCode { override val code: String = "bh" } - - @Serializable(IetfLanguageCodeSerializer::class) object Bislama : IetfLanguageCode { override val code: String = "bi" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Bambara : IetfLanguageCode { override val code: String = "bm" - @Serializable(IetfLanguageCodeSerializer::class) object ML : Bambara() { override val code: String = "bm-ML" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Bambara() } @@ -309,15 +215,11 @@ sealed interface IetfLanguageCode { sealed class Bengali : IetfLanguageCode { override val code: String = "bn" - @Serializable(IetfLanguageCodeSerializer::class) object BD : Bengali() { override val code: String = "bn-BD" } - - @Serializable(IetfLanguageCodeSerializer::class) object IN : Bengali() { override val code: String = "bn-IN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Bengali() } @@ -327,15 +229,11 @@ sealed interface IetfLanguageCode { sealed class Tibetan : IetfLanguageCode { override val code: String = "bo" - @Serializable(IetfLanguageCodeSerializer::class) object CN : Tibetan() { override val code: String = "bo-CN" } - - @Serializable(IetfLanguageCodeSerializer::class) object IN : Tibetan() { override val code: String = "bo-IN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Tibetan() } @@ -345,11 +243,9 @@ sealed interface IetfLanguageCode { sealed class Breton : IetfLanguageCode { override val code: String = "br" - @Serializable(IetfLanguageCodeSerializer::class) object FR : Breton() { override val code: String = "br-FR" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Breton() } @@ -364,11 +260,9 @@ sealed interface IetfLanguageCode { sealed class Cyrl : Bosnian() { override val code: String = "bs-Cyrl" - @Serializable(IetfLanguageCodeSerializer::class) object BA : Cyrl() { override val code: String = "bs-Cyrl-BA" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Cyrl() } @@ -378,11 +272,9 @@ sealed interface IetfLanguageCode { sealed class Latn : Bosnian() { override val code: String = "bs-Latn" - @Serializable(IetfLanguageCodeSerializer::class) object BA : Latn() { override val code: String = "bs-Latn-BA" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Latn() } @@ -397,33 +289,25 @@ sealed interface IetfLanguageCode { sealed class CatalanValencian : IetfLanguageCode { override val code: String = "ca" - @Serializable(IetfLanguageCodeSerializer::class) object AD : CatalanValencian() { override val code: String = "ca-AD" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class ES : CatalanValencian() { override val code: String = "ca-ES" - @Serializable(IetfLanguageCodeSerializer::class) object VALENCIA : ES() { override val code: String = "ca-ES-VALENCIA" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : ES() } - @Serializable(IetfLanguageCodeSerializer::class) object FR : CatalanValencian() { override val code: String = "ca-FR" } - - @Serializable(IetfLanguageCodeSerializer::class) object IT : CatalanValencian() { override val code: String = "ca-IT" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : CatalanValencian() } @@ -433,37 +317,27 @@ sealed interface IetfLanguageCode { sealed class Chechen : IetfLanguageCode { override val code: String = "ce" - @Serializable(IetfLanguageCodeSerializer::class) object RU : Chechen() { override val code: String = "ce-RU" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Chechen() } - @Serializable(IetfLanguageCodeSerializer::class) object Chamorro : IetfLanguageCode { override val code: String = "ch" } - - @Serializable(IetfLanguageCodeSerializer::class) object Corsican : IetfLanguageCode { override val code: String = "co" } - - @Serializable(IetfLanguageCodeSerializer::class) object Cree : IetfLanguageCode { override val code: String = "cr" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Czech : IetfLanguageCode { override val code: String = "cs" - @Serializable(IetfLanguageCodeSerializer::class) object CZ : Czech() { override val code: String = "cs-CZ" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Czech() } @@ -473,29 +347,23 @@ sealed interface IetfLanguageCode { sealed class ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic : IetfLanguageCode { override val code: String = "cu" - @Serializable(IetfLanguageCodeSerializer::class) object RU : ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic() { override val code: String = "cu-RU" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic() } - @Serializable(IetfLanguageCodeSerializer::class) object Chuvash : IetfLanguageCode { override val code: String = "cv" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Welsh : IetfLanguageCode { override val code: String = "cy" - @Serializable(IetfLanguageCodeSerializer::class) object GB : Welsh() { override val code: String = "cy-GB" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Welsh() } @@ -505,15 +373,11 @@ sealed interface IetfLanguageCode { sealed class Danish : IetfLanguageCode { override val code: String = "da" - @Serializable(IetfLanguageCodeSerializer::class) object DK : Danish() { override val code: String = "da-DK" } - - @Serializable(IetfLanguageCodeSerializer::class) object GL : Danish() { override val code: String = "da-GL" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Danish() } @@ -523,53 +387,35 @@ sealed interface IetfLanguageCode { sealed class German : IetfLanguageCode { override val code: String = "de" - @Serializable(IetfLanguageCodeSerializer::class) object AT : German() { override val code: String = "de-AT" } - - @Serializable(IetfLanguageCodeSerializer::class) object BE : German() { override val code: String = "de-BE" } - - @Serializable(IetfLanguageCodeSerializer::class) object CH : German() { override val code: String = "de-CH" } - - @Serializable(IetfLanguageCodeSerializer::class) object DE : German() { override val code: String = "de-DE" } - - @Serializable(IetfLanguageCodeSerializer::class) object IT : German() { override val code: String = "de-IT" } - - @Serializable(IetfLanguageCodeSerializer::class) object LI : German() { override val code: String = "de-LI" } - - @Serializable(IetfLanguageCodeSerializer::class) object LU : German() { override val code: String = "de-LU" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : German() } - @Serializable(IetfLanguageCodeSerializer::class) object DivehiDhivehiMaldivian : IetfLanguageCode { override val code: String = "dv" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Dzongkha : IetfLanguageCode { override val code: String = "dz" - @Serializable(IetfLanguageCodeSerializer::class) object BT : Dzongkha() { override val code: String = "dz-BT" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Dzongkha() } @@ -579,15 +425,11 @@ sealed interface IetfLanguageCode { sealed class Ewe : IetfLanguageCode { override val code: String = "ee" - @Serializable(IetfLanguageCodeSerializer::class) object GH : Ewe() { override val code: String = "ee-GH" } - - @Serializable(IetfLanguageCodeSerializer::class) object TG : Ewe() { override val code: String = "ee-TG" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Ewe() } @@ -597,15 +439,11 @@ sealed interface IetfLanguageCode { sealed class GreekModern1453 : IetfLanguageCode { override val code: String = "el" - @Serializable(IetfLanguageCodeSerializer::class) object CY : GreekModern1453() { override val code: String = "el-CY" } - - @Serializable(IetfLanguageCodeSerializer::class) object GR : GreekModern1453() { override val code: String = "el-GR" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : GreekModern1453() } @@ -615,437 +453,227 @@ sealed interface IetfLanguageCode { sealed class English : IetfLanguageCode { override val code: String = "en" - @Serializable(IetfLanguageCodeSerializer::class) object L001 : English() { override val code: String = "en-001" } - - @Serializable(IetfLanguageCodeSerializer::class) object L150 : English() { override val code: String = "en-150" } - - @Serializable(IetfLanguageCodeSerializer::class) object AE : English() { override val code: String = "en-AE" } - - @Serializable(IetfLanguageCodeSerializer::class) object AG : English() { override val code: String = "en-AG" } - - @Serializable(IetfLanguageCodeSerializer::class) object AI : English() { override val code: String = "en-AI" } - - @Serializable(IetfLanguageCodeSerializer::class) object AS : English() { override val code: String = "en-AS" } - - @Serializable(IetfLanguageCodeSerializer::class) object AT : English() { override val code: String = "en-AT" } - - @Serializable(IetfLanguageCodeSerializer::class) object AU : English() { override val code: String = "en-AU" } - - @Serializable(IetfLanguageCodeSerializer::class) object BB : English() { override val code: String = "en-BB" } - - @Serializable(IetfLanguageCodeSerializer::class) object BE : English() { override val code: String = "en-BE" } - - @Serializable(IetfLanguageCodeSerializer::class) object BI : English() { override val code: String = "en-BI" } - - @Serializable(IetfLanguageCodeSerializer::class) object BM : English() { override val code: String = "en-BM" } - - @Serializable(IetfLanguageCodeSerializer::class) object BS : English() { override val code: String = "en-BS" } - - @Serializable(IetfLanguageCodeSerializer::class) object BW : English() { override val code: String = "en-BW" } - - @Serializable(IetfLanguageCodeSerializer::class) object BZ : English() { override val code: String = "en-BZ" } - - @Serializable(IetfLanguageCodeSerializer::class) object CA : English() { override val code: String = "en-CA" } - - @Serializable(IetfLanguageCodeSerializer::class) object CC : English() { override val code: String = "en-CC" } - - @Serializable(IetfLanguageCodeSerializer::class) object CH : English() { override val code: String = "en-CH" } - - @Serializable(IetfLanguageCodeSerializer::class) object CK : English() { override val code: String = "en-CK" } - - @Serializable(IetfLanguageCodeSerializer::class) object CM : English() { override val code: String = "en-CM" } - - @Serializable(IetfLanguageCodeSerializer::class) object CX : English() { override val code: String = "en-CX" } - - @Serializable(IetfLanguageCodeSerializer::class) object CY : English() { override val code: String = "en-CY" } - - @Serializable(IetfLanguageCodeSerializer::class) object DE : English() { override val code: String = "en-DE" } - - @Serializable(IetfLanguageCodeSerializer::class) object DG : English() { override val code: String = "en-DG" } - - @Serializable(IetfLanguageCodeSerializer::class) object DK : English() { override val code: String = "en-DK" } - - @Serializable(IetfLanguageCodeSerializer::class) object DM : English() { override val code: String = "en-DM" } - - @Serializable(IetfLanguageCodeSerializer::class) object ER : English() { override val code: String = "en-ER" } - - @Serializable(IetfLanguageCodeSerializer::class) object FI : English() { override val code: String = "en-FI" } - - @Serializable(IetfLanguageCodeSerializer::class) object FJ : English() { override val code: String = "en-FJ" } - - @Serializable(IetfLanguageCodeSerializer::class) object FK : English() { override val code: String = "en-FK" } - - @Serializable(IetfLanguageCodeSerializer::class) object FM : English() { override val code: String = "en-FM" } - - @Serializable(IetfLanguageCodeSerializer::class) object GB : English() { override val code: String = "en-GB" } - - @Serializable(IetfLanguageCodeSerializer::class) object GD : English() { override val code: String = "en-GD" } - - @Serializable(IetfLanguageCodeSerializer::class) object GG : English() { override val code: String = "en-GG" } - - @Serializable(IetfLanguageCodeSerializer::class) object GH : English() { override val code: String = "en-GH" } - - @Serializable(IetfLanguageCodeSerializer::class) object GI : English() { override val code: String = "en-GI" } - - @Serializable(IetfLanguageCodeSerializer::class) object GM : English() { override val code: String = "en-GM" } - - @Serializable(IetfLanguageCodeSerializer::class) object GU : English() { override val code: String = "en-GU" } - - @Serializable(IetfLanguageCodeSerializer::class) object GY : English() { override val code: String = "en-GY" } - - @Serializable(IetfLanguageCodeSerializer::class) object HK : English() { override val code: String = "en-HK" } - - @Serializable(IetfLanguageCodeSerializer::class) object IE : English() { override val code: String = "en-IE" } - - @Serializable(IetfLanguageCodeSerializer::class) object IL : English() { override val code: String = "en-IL" } - - @Serializable(IetfLanguageCodeSerializer::class) object IM : English() { override val code: String = "en-IM" } - - @Serializable(IetfLanguageCodeSerializer::class) object IN : English() { override val code: String = "en-IN" } - - @Serializable(IetfLanguageCodeSerializer::class) object IO : English() { override val code: String = "en-IO" } - - @Serializable(IetfLanguageCodeSerializer::class) object JE : English() { override val code: String = "en-JE" } - - @Serializable(IetfLanguageCodeSerializer::class) object JM : English() { override val code: String = "en-JM" } - - @Serializable(IetfLanguageCodeSerializer::class) object KE : English() { override val code: String = "en-KE" } - - @Serializable(IetfLanguageCodeSerializer::class) object KI : English() { override val code: String = "en-KI" } - - @Serializable(IetfLanguageCodeSerializer::class) object KN : English() { override val code: String = "en-KN" } - - @Serializable(IetfLanguageCodeSerializer::class) object KY : English() { override val code: String = "en-KY" } - - @Serializable(IetfLanguageCodeSerializer::class) object LC : English() { override val code: String = "en-LC" } - - @Serializable(IetfLanguageCodeSerializer::class) object LR : English() { override val code: String = "en-LR" } - - @Serializable(IetfLanguageCodeSerializer::class) object LS : English() { override val code: String = "en-LS" } - - @Serializable(IetfLanguageCodeSerializer::class) object MG : English() { override val code: String = "en-MG" } - - @Serializable(IetfLanguageCodeSerializer::class) object MH : English() { override val code: String = "en-MH" } - - @Serializable(IetfLanguageCodeSerializer::class) object MO : English() { override val code: String = "en-MO" } - - @Serializable(IetfLanguageCodeSerializer::class) object MP : English() { override val code: String = "en-MP" } - - @Serializable(IetfLanguageCodeSerializer::class) object MS : English() { override val code: String = "en-MS" } - - @Serializable(IetfLanguageCodeSerializer::class) object MT : English() { override val code: String = "en-MT" } - - @Serializable(IetfLanguageCodeSerializer::class) object MU : English() { override val code: String = "en-MU" } - - @Serializable(IetfLanguageCodeSerializer::class) object MW : English() { override val code: String = "en-MW" } - - @Serializable(IetfLanguageCodeSerializer::class) object MY : English() { override val code: String = "en-MY" } - - @Serializable(IetfLanguageCodeSerializer::class) object NA : English() { override val code: String = "en-NA" } - - @Serializable(IetfLanguageCodeSerializer::class) object NF : English() { override val code: String = "en-NF" } - - @Serializable(IetfLanguageCodeSerializer::class) object NG : English() { override val code: String = "en-NG" } - - @Serializable(IetfLanguageCodeSerializer::class) object NL : English() { override val code: String = "en-NL" } - - @Serializable(IetfLanguageCodeSerializer::class) object NR : English() { override val code: String = "en-NR" } - - @Serializable(IetfLanguageCodeSerializer::class) object NU : English() { override val code: String = "en-NU" } - - @Serializable(IetfLanguageCodeSerializer::class) object NZ : English() { override val code: String = "en-NZ" } - - @Serializable(IetfLanguageCodeSerializer::class) object PG : English() { override val code: String = "en-PG" } - - @Serializable(IetfLanguageCodeSerializer::class) object PH : English() { override val code: String = "en-PH" } - - @Serializable(IetfLanguageCodeSerializer::class) object PK : English() { override val code: String = "en-PK" } - - @Serializable(IetfLanguageCodeSerializer::class) object PN : English() { override val code: String = "en-PN" } - - @Serializable(IetfLanguageCodeSerializer::class) object PR : English() { override val code: String = "en-PR" } - - @Serializable(IetfLanguageCodeSerializer::class) object PW : English() { override val code: String = "en-PW" } - - @Serializable(IetfLanguageCodeSerializer::class) object RW : English() { override val code: String = "en-RW" } - - @Serializable(IetfLanguageCodeSerializer::class) object SB : English() { override val code: String = "en-SB" } - - @Serializable(IetfLanguageCodeSerializer::class) object SC : English() { override val code: String = "en-SC" } - - @Serializable(IetfLanguageCodeSerializer::class) object SD : English() { override val code: String = "en-SD" } - - @Serializable(IetfLanguageCodeSerializer::class) object SE : English() { override val code: String = "en-SE" } - - @Serializable(IetfLanguageCodeSerializer::class) object SG : English() { override val code: String = "en-SG" } - - @Serializable(IetfLanguageCodeSerializer::class) object SH : English() { override val code: String = "en-SH" } - - @Serializable(IetfLanguageCodeSerializer::class) object SI : English() { override val code: String = "en-SI" } - - @Serializable(IetfLanguageCodeSerializer::class) object SL : English() { override val code: String = "en-SL" } - - @Serializable(IetfLanguageCodeSerializer::class) object SS : English() { override val code: String = "en-SS" } - - @Serializable(IetfLanguageCodeSerializer::class) object SX : English() { override val code: String = "en-SX" } - - @Serializable(IetfLanguageCodeSerializer::class) object SZ : English() { override val code: String = "en-SZ" } - - @Serializable(IetfLanguageCodeSerializer::class) object TC : English() { override val code: String = "en-TC" } - - @Serializable(IetfLanguageCodeSerializer::class) object TK : English() { override val code: String = "en-TK" } - - @Serializable(IetfLanguageCodeSerializer::class) object TO : English() { override val code: String = "en-TO" } - - @Serializable(IetfLanguageCodeSerializer::class) object TT : English() { override val code: String = "en-TT" } - - @Serializable(IetfLanguageCodeSerializer::class) object TV : English() { override val code: String = "en-TV" } - - @Serializable(IetfLanguageCodeSerializer::class) object TZ : English() { override val code: String = "en-TZ" } - - @Serializable(IetfLanguageCodeSerializer::class) object UG : English() { override val code: String = "en-UG" } - - @Serializable(IetfLanguageCodeSerializer::class) object UM : English() { override val code: String = "en-UM" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class US : English() { override val code: String = "en-US" - @Serializable(IetfLanguageCodeSerializer::class) object POSIX : US() { override val code: String = "en-US-POSIX" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : US() } - @Serializable(IetfLanguageCodeSerializer::class) object VC : English() { override val code: String = "en-VC" } - - @Serializable(IetfLanguageCodeSerializer::class) object VG : English() { override val code: String = "en-VG" } - - @Serializable(IetfLanguageCodeSerializer::class) object VI : English() { override val code: String = "en-VI" } - - @Serializable(IetfLanguageCodeSerializer::class) object VU : English() { override val code: String = "en-VU" } - - @Serializable(IetfLanguageCodeSerializer::class) object WS : English() { override val code: String = "en-WS" } - - @Serializable(IetfLanguageCodeSerializer::class) object ZA : English() { override val code: String = "en-ZA" } - - @Serializable(IetfLanguageCodeSerializer::class) object ZM : English() { override val code: String = "en-ZM" } - - @Serializable(IetfLanguageCodeSerializer::class) object ZW : English() { override val code: String = "en-ZW" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : English() } @@ -1055,11 +683,9 @@ sealed interface IetfLanguageCode { sealed class Esperanto : IetfLanguageCode { override val code: String = "eo" - @Serializable(IetfLanguageCodeSerializer::class) object L001 : Esperanto() { override val code: String = "eo-001" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Esperanto() } @@ -1069,119 +695,63 @@ sealed interface IetfLanguageCode { sealed class SpanishCastilian : IetfLanguageCode { override val code: String = "es" - @Serializable(IetfLanguageCodeSerializer::class) object L419 : SpanishCastilian() { override val code: String = "es-419" } - - @Serializable(IetfLanguageCodeSerializer::class) object AR : SpanishCastilian() { override val code: String = "es-AR" } - - @Serializable(IetfLanguageCodeSerializer::class) object BO : SpanishCastilian() { override val code: String = "es-BO" } - - @Serializable(IetfLanguageCodeSerializer::class) object BR : SpanishCastilian() { override val code: String = "es-BR" } - - @Serializable(IetfLanguageCodeSerializer::class) object BZ : SpanishCastilian() { override val code: String = "es-BZ" } - - @Serializable(IetfLanguageCodeSerializer::class) object CL : SpanishCastilian() { override val code: String = "es-CL" } - - @Serializable(IetfLanguageCodeSerializer::class) object CO : SpanishCastilian() { override val code: String = "es-CO" } - - @Serializable(IetfLanguageCodeSerializer::class) object CR : SpanishCastilian() { override val code: String = "es-CR" } - - @Serializable(IetfLanguageCodeSerializer::class) object CU : SpanishCastilian() { override val code: String = "es-CU" } - - @Serializable(IetfLanguageCodeSerializer::class) object DO : SpanishCastilian() { override val code: String = "es-DO" } - - @Serializable(IetfLanguageCodeSerializer::class) object EA : SpanishCastilian() { override val code: String = "es-EA" } - - @Serializable(IetfLanguageCodeSerializer::class) object EC : SpanishCastilian() { override val code: String = "es-EC" } - - @Serializable(IetfLanguageCodeSerializer::class) object ES : SpanishCastilian() { override val code: String = "es-ES" } - - @Serializable(IetfLanguageCodeSerializer::class) object GQ : SpanishCastilian() { override val code: String = "es-GQ" } - - @Serializable(IetfLanguageCodeSerializer::class) object GT : SpanishCastilian() { override val code: String = "es-GT" } - - @Serializable(IetfLanguageCodeSerializer::class) object HN : SpanishCastilian() { override val code: String = "es-HN" } - - @Serializable(IetfLanguageCodeSerializer::class) object IC : SpanishCastilian() { override val code: String = "es-IC" } - - @Serializable(IetfLanguageCodeSerializer::class) object MX : SpanishCastilian() { override val code: String = "es-MX" } - - @Serializable(IetfLanguageCodeSerializer::class) object NI : SpanishCastilian() { override val code: String = "es-NI" } - - @Serializable(IetfLanguageCodeSerializer::class) object PA : SpanishCastilian() { override val code: String = "es-PA" } - - @Serializable(IetfLanguageCodeSerializer::class) object PE : SpanishCastilian() { override val code: String = "es-PE" } - - @Serializable(IetfLanguageCodeSerializer::class) object PH : SpanishCastilian() { override val code: String = "es-PH" } - - @Serializable(IetfLanguageCodeSerializer::class) object PR : SpanishCastilian() { override val code: String = "es-PR" } - - @Serializable(IetfLanguageCodeSerializer::class) object PY : SpanishCastilian() { override val code: String = "es-PY" } - - @Serializable(IetfLanguageCodeSerializer::class) object SV : SpanishCastilian() { override val code: String = "es-SV" } - - @Serializable(IetfLanguageCodeSerializer::class) object US : SpanishCastilian() { override val code: String = "es-US" } - - @Serializable(IetfLanguageCodeSerializer::class) object UY : SpanishCastilian() { override val code: String = "es-UY" } - - @Serializable(IetfLanguageCodeSerializer::class) object VE : SpanishCastilian() { override val code: String = "es-VE" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : SpanishCastilian() } @@ -1191,11 +761,9 @@ sealed interface IetfLanguageCode { sealed class Estonian : IetfLanguageCode { override val code: String = "et" - @Serializable(IetfLanguageCodeSerializer::class) object EE : Estonian() { override val code: String = "et-EE" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Estonian() } @@ -1205,11 +773,9 @@ sealed interface IetfLanguageCode { sealed class Basque : IetfLanguageCode { override val code: String = "eu" - @Serializable(IetfLanguageCodeSerializer::class) object ES : Basque() { override val code: String = "eu-ES" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Basque() } @@ -1219,15 +785,11 @@ sealed interface IetfLanguageCode { sealed class Persian : IetfLanguageCode { override val code: String = "fa" - @Serializable(IetfLanguageCodeSerializer::class) object AF : Persian() { override val code: String = "fa-AF" } - - @Serializable(IetfLanguageCodeSerializer::class) object IR : Persian() { override val code: String = "fa-IR" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Persian() } @@ -1242,55 +804,31 @@ sealed interface IetfLanguageCode { sealed class Adlm : Fulah() { override val code: String = "ff-Adlm" - @Serializable(IetfLanguageCodeSerializer::class) object BF : Adlm() { override val code: String = "ff-Adlm-BF" } - - @Serializable(IetfLanguageCodeSerializer::class) object CM : Adlm() { override val code: String = "ff-Adlm-CM" } - - @Serializable(IetfLanguageCodeSerializer::class) object GH : Adlm() { override val code: String = "ff-Adlm-GH" } - - @Serializable(IetfLanguageCodeSerializer::class) object GM : Adlm() { override val code: String = "ff-Adlm-GM" } - - @Serializable(IetfLanguageCodeSerializer::class) object GN : Adlm() { override val code: String = "ff-Adlm-GN" } - - @Serializable(IetfLanguageCodeSerializer::class) object GW : Adlm() { override val code: String = "ff-Adlm-GW" } - - @Serializable(IetfLanguageCodeSerializer::class) object LR : Adlm() { override val code: String = "ff-Adlm-LR" } - - @Serializable(IetfLanguageCodeSerializer::class) object MR : Adlm() { override val code: String = "ff-Adlm-MR" } - - @Serializable(IetfLanguageCodeSerializer::class) object NE : Adlm() { override val code: String = "ff-Adlm-NE" } - - @Serializable(IetfLanguageCodeSerializer::class) object NG : Adlm() { override val code: String = "ff-Adlm-NG" } - - @Serializable(IetfLanguageCodeSerializer::class) object SL : Adlm() { override val code: String = "ff-Adlm-SL" } - - @Serializable(IetfLanguageCodeSerializer::class) object SN : Adlm() { override val code: String = "ff-Adlm-SN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Adlm() } @@ -1300,55 +838,31 @@ sealed interface IetfLanguageCode { sealed class Latn : Fulah() { override val code: String = "ff-Latn" - @Serializable(IetfLanguageCodeSerializer::class) object BF : Latn() { override val code: String = "ff-Latn-BF" } - - @Serializable(IetfLanguageCodeSerializer::class) object CM : Latn() { override val code: String = "ff-Latn-CM" } - - @Serializable(IetfLanguageCodeSerializer::class) object GH : Latn() { override val code: String = "ff-Latn-GH" } - - @Serializable(IetfLanguageCodeSerializer::class) object GM : Latn() { override val code: String = "ff-Latn-GM" } - - @Serializable(IetfLanguageCodeSerializer::class) object GN : Latn() { override val code: String = "ff-Latn-GN" } - - @Serializable(IetfLanguageCodeSerializer::class) object GW : Latn() { override val code: String = "ff-Latn-GW" } - - @Serializable(IetfLanguageCodeSerializer::class) object LR : Latn() { override val code: String = "ff-Latn-LR" } - - @Serializable(IetfLanguageCodeSerializer::class) object MR : Latn() { override val code: String = "ff-Latn-MR" } - - @Serializable(IetfLanguageCodeSerializer::class) object NE : Latn() { override val code: String = "ff-Latn-NE" } - - @Serializable(IetfLanguageCodeSerializer::class) object NG : Latn() { override val code: String = "ff-Latn-NG" } - - @Serializable(IetfLanguageCodeSerializer::class) object SL : Latn() { override val code: String = "ff-Latn-SL" } - - @Serializable(IetfLanguageCodeSerializer::class) object SN : Latn() { override val code: String = "ff-Latn-SN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Latn() } @@ -1363,33 +877,25 @@ sealed interface IetfLanguageCode { sealed class Finnish : IetfLanguageCode { override val code: String = "fi" - @Serializable(IetfLanguageCodeSerializer::class) object FI : Finnish() { override val code: String = "fi-FI" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Finnish() } - @Serializable(IetfLanguageCodeSerializer::class) object Fijian : IetfLanguageCode { override val code: String = "fj" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Faroese : IetfLanguageCode { override val code: String = "fo" - @Serializable(IetfLanguageCodeSerializer::class) object DK : Faroese() { override val code: String = "fo-DK" } - - @Serializable(IetfLanguageCodeSerializer::class) object FO : Faroese() { override val code: String = "fo-FO" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Faroese() } @@ -1399,191 +905,99 @@ sealed interface IetfLanguageCode { sealed class French : IetfLanguageCode { override val code: String = "fr" - @Serializable(IetfLanguageCodeSerializer::class) object BE : French() { override val code: String = "fr-BE" } - - @Serializable(IetfLanguageCodeSerializer::class) object BF : French() { override val code: String = "fr-BF" } - - @Serializable(IetfLanguageCodeSerializer::class) object BI : French() { override val code: String = "fr-BI" } - - @Serializable(IetfLanguageCodeSerializer::class) object BJ : French() { override val code: String = "fr-BJ" } - - @Serializable(IetfLanguageCodeSerializer::class) object BL : French() { override val code: String = "fr-BL" } - - @Serializable(IetfLanguageCodeSerializer::class) object CA : French() { override val code: String = "fr-CA" } - - @Serializable(IetfLanguageCodeSerializer::class) object CD : French() { override val code: String = "fr-CD" } - - @Serializable(IetfLanguageCodeSerializer::class) object CF : French() { override val code: String = "fr-CF" } - - @Serializable(IetfLanguageCodeSerializer::class) object CG : French() { override val code: String = "fr-CG" } - - @Serializable(IetfLanguageCodeSerializer::class) object CH : French() { override val code: String = "fr-CH" } - - @Serializable(IetfLanguageCodeSerializer::class) object CI : French() { override val code: String = "fr-CI" } - - @Serializable(IetfLanguageCodeSerializer::class) object CM : French() { override val code: String = "fr-CM" } - - @Serializable(IetfLanguageCodeSerializer::class) object DJ : French() { override val code: String = "fr-DJ" } - - @Serializable(IetfLanguageCodeSerializer::class) object DZ : French() { override val code: String = "fr-DZ" } - - @Serializable(IetfLanguageCodeSerializer::class) object FR : French() { override val code: String = "fr-FR" } - - @Serializable(IetfLanguageCodeSerializer::class) object GA : French() { override val code: String = "fr-GA" } - - @Serializable(IetfLanguageCodeSerializer::class) object GF : French() { override val code: String = "fr-GF" } - - @Serializable(IetfLanguageCodeSerializer::class) object GN : French() { override val code: String = "fr-GN" } - - @Serializable(IetfLanguageCodeSerializer::class) object GP : French() { override val code: String = "fr-GP" } - - @Serializable(IetfLanguageCodeSerializer::class) object GQ : French() { override val code: String = "fr-GQ" } - - @Serializable(IetfLanguageCodeSerializer::class) object HT : French() { override val code: String = "fr-HT" } - - @Serializable(IetfLanguageCodeSerializer::class) object KM : French() { override val code: String = "fr-KM" } - - @Serializable(IetfLanguageCodeSerializer::class) object LU : French() { override val code: String = "fr-LU" } - - @Serializable(IetfLanguageCodeSerializer::class) object MA : French() { override val code: String = "fr-MA" } - - @Serializable(IetfLanguageCodeSerializer::class) object MC : French() { override val code: String = "fr-MC" } - - @Serializable(IetfLanguageCodeSerializer::class) object MF : French() { override val code: String = "fr-MF" } - - @Serializable(IetfLanguageCodeSerializer::class) object MG : French() { override val code: String = "fr-MG" } - - @Serializable(IetfLanguageCodeSerializer::class) object ML : French() { override val code: String = "fr-ML" } - - @Serializable(IetfLanguageCodeSerializer::class) object MQ : French() { override val code: String = "fr-MQ" } - - @Serializable(IetfLanguageCodeSerializer::class) object MR : French() { override val code: String = "fr-MR" } - - @Serializable(IetfLanguageCodeSerializer::class) object MU : French() { override val code: String = "fr-MU" } - - @Serializable(IetfLanguageCodeSerializer::class) object NC : French() { override val code: String = "fr-NC" } - - @Serializable(IetfLanguageCodeSerializer::class) object NE : French() { override val code: String = "fr-NE" } - - @Serializable(IetfLanguageCodeSerializer::class) object PF : French() { override val code: String = "fr-PF" } - - @Serializable(IetfLanguageCodeSerializer::class) object PM : French() { override val code: String = "fr-PM" } - - @Serializable(IetfLanguageCodeSerializer::class) object RE : French() { override val code: String = "fr-RE" } - - @Serializable(IetfLanguageCodeSerializer::class) object RW : French() { override val code: String = "fr-RW" } - - @Serializable(IetfLanguageCodeSerializer::class) object SC : French() { override val code: String = "fr-SC" } - - @Serializable(IetfLanguageCodeSerializer::class) object SN : French() { override val code: String = "fr-SN" } - - @Serializable(IetfLanguageCodeSerializer::class) object SY : French() { override val code: String = "fr-SY" } - - @Serializable(IetfLanguageCodeSerializer::class) object TD : French() { override val code: String = "fr-TD" } - - @Serializable(IetfLanguageCodeSerializer::class) object TG : French() { override val code: String = "fr-TG" } - - @Serializable(IetfLanguageCodeSerializer::class) object TN : French() { override val code: String = "fr-TN" } - - @Serializable(IetfLanguageCodeSerializer::class) object VU : French() { override val code: String = "fr-VU" } - - @Serializable(IetfLanguageCodeSerializer::class) object WF : French() { override val code: String = "fr-WF" } - - @Serializable(IetfLanguageCodeSerializer::class) object YT : French() { override val code: String = "fr-YT" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : French() } @@ -1593,11 +1007,9 @@ sealed interface IetfLanguageCode { sealed class WesternFrisian : IetfLanguageCode { override val code: String = "fy" - @Serializable(IetfLanguageCodeSerializer::class) object NL : WesternFrisian() { override val code: String = "fy-NL" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : WesternFrisian() } @@ -1607,15 +1019,11 @@ sealed interface IetfLanguageCode { sealed class Irish : IetfLanguageCode { override val code: String = "ga" - @Serializable(IetfLanguageCodeSerializer::class) object GB : Irish() { override val code: String = "ga-GB" } - - @Serializable(IetfLanguageCodeSerializer::class) object IE : Irish() { override val code: String = "ga-IE" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Irish() } @@ -1625,11 +1033,9 @@ sealed interface IetfLanguageCode { sealed class GaelicScottishGaelic : IetfLanguageCode { override val code: String = "gd" - @Serializable(IetfLanguageCodeSerializer::class) object GB : GaelicScottishGaelic() { override val code: String = "gd-GB" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : GaelicScottishGaelic() } @@ -1639,29 +1045,23 @@ sealed interface IetfLanguageCode { sealed class Galician : IetfLanguageCode { override val code: String = "gl" - @Serializable(IetfLanguageCodeSerializer::class) object ES : Galician() { override val code: String = "gl-ES" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Galician() } - @Serializable(IetfLanguageCodeSerializer::class) object Guarani : IetfLanguageCode { override val code: String = "gn" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Gujarati : IetfLanguageCode { override val code: String = "gu" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Gujarati() { override val code: String = "gu-IN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Gujarati() } @@ -1671,11 +1071,9 @@ sealed interface IetfLanguageCode { sealed class Manx : IetfLanguageCode { override val code: String = "gv" - @Serializable(IetfLanguageCodeSerializer::class) object IM : Manx() { override val code: String = "gv-IM" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Manx() } @@ -1685,19 +1083,13 @@ sealed interface IetfLanguageCode { sealed class Hausa : IetfLanguageCode { override val code: String = "ha" - @Serializable(IetfLanguageCodeSerializer::class) object GH : Hausa() { override val code: String = "ha-GH" } - - @Serializable(IetfLanguageCodeSerializer::class) object NE : Hausa() { override val code: String = "ha-NE" } - - @Serializable(IetfLanguageCodeSerializer::class) object NG : Hausa() { override val code: String = "ha-NG" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Hausa() } @@ -1707,11 +1099,9 @@ sealed interface IetfLanguageCode { sealed class Hebrew : IetfLanguageCode { override val code: String = "he" - @Serializable(IetfLanguageCodeSerializer::class) object IL : Hebrew() { override val code: String = "he-IL" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Hebrew() } @@ -1721,51 +1111,39 @@ sealed interface IetfLanguageCode { sealed class Hindi : IetfLanguageCode { override val code: String = "hi" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Hindi() { override val code: String = "hi-IN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Hindi() } - @Serializable(IetfLanguageCodeSerializer::class) object HiriMotu : IetfLanguageCode { override val code: String = "ho" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Croatian : IetfLanguageCode { override val code: String = "hr" - @Serializable(IetfLanguageCodeSerializer::class) object BA : Croatian() { override val code: String = "hr-BA" } - - @Serializable(IetfLanguageCodeSerializer::class) object HR : Croatian() { override val code: String = "hr-HR" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Croatian() } - @Serializable(IetfLanguageCodeSerializer::class) object HaitianHaitianCreole : IetfLanguageCode { override val code: String = "ht" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Hungarian : IetfLanguageCode { override val code: String = "hu" - @Serializable(IetfLanguageCodeSerializer::class) object HU : Hungarian() { override val code: String = "hu-HU" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Hungarian() } @@ -1775,29 +1153,23 @@ sealed interface IetfLanguageCode { sealed class Armenian : IetfLanguageCode { override val code: String = "hy" - @Serializable(IetfLanguageCodeSerializer::class) object AM : Armenian() { override val code: String = "hy-AM" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Armenian() } - @Serializable(IetfLanguageCodeSerializer::class) object Herero : IetfLanguageCode { override val code: String = "hz" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class InterlinguaInternationalAuxiliaryLanguageAssociation : IetfLanguageCode { override val code: String = "ia" - @Serializable(IetfLanguageCodeSerializer::class) object L001 : InterlinguaInternationalAuxiliaryLanguageAssociation() { override val code: String = "ia-001" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : InterlinguaInternationalAuxiliaryLanguageAssociation() } @@ -1807,29 +1179,23 @@ sealed interface IetfLanguageCode { sealed class Indonesian : IetfLanguageCode { override val code: String = "id" - @Serializable(IetfLanguageCodeSerializer::class) object ID : Indonesian() { override val code: String = "id-ID" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Indonesian() } - @Serializable(IetfLanguageCodeSerializer::class) object InterlingueOccidental : IetfLanguageCode { override val code: String = "ie" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Igbo : IetfLanguageCode { override val code: String = "ig" - @Serializable(IetfLanguageCodeSerializer::class) object NG : Igbo() { override val code: String = "ig-NG" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Igbo() } @@ -1839,33 +1205,25 @@ sealed interface IetfLanguageCode { sealed class SichuanYiNuosu : IetfLanguageCode { override val code: String = "ii" - @Serializable(IetfLanguageCodeSerializer::class) object CN : SichuanYiNuosu() { override val code: String = "ii-CN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : SichuanYiNuosu() } - @Serializable(IetfLanguageCodeSerializer::class) object Inupiaq : IetfLanguageCode { override val code: String = "ik" } - - @Serializable(IetfLanguageCodeSerializer::class) object Ido : IetfLanguageCode { override val code: String = "io" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Icelandic : IetfLanguageCode { override val code: String = "is" - @Serializable(IetfLanguageCodeSerializer::class) object IS : Icelandic() { override val code: String = "is-IS" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Icelandic() } @@ -1875,41 +1233,29 @@ sealed interface IetfLanguageCode { sealed class Italian : IetfLanguageCode { override val code: String = "it" - @Serializable(IetfLanguageCodeSerializer::class) object CH : Italian() { override val code: String = "it-CH" } - - @Serializable(IetfLanguageCodeSerializer::class) object IT : Italian() { override val code: String = "it-IT" } - - @Serializable(IetfLanguageCodeSerializer::class) object SM : Italian() { override val code: String = "it-SM" } - - @Serializable(IetfLanguageCodeSerializer::class) object VA : Italian() { override val code: String = "it-VA" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Italian() } - @Serializable(IetfLanguageCodeSerializer::class) object Inuktitut : IetfLanguageCode { override val code: String = "iu" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Japanese : IetfLanguageCode { override val code: String = "ja" - @Serializable(IetfLanguageCodeSerializer::class) object JP : Japanese() { override val code: String = "ja-JP" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Japanese() } @@ -1919,11 +1265,9 @@ sealed interface IetfLanguageCode { sealed class Javanese : IetfLanguageCode { override val code: String = "jv" - @Serializable(IetfLanguageCodeSerializer::class) object ID : Javanese() { override val code: String = "jv-ID" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Javanese() } @@ -1933,47 +1277,37 @@ sealed interface IetfLanguageCode { sealed class Georgian : IetfLanguageCode { override val code: String = "ka" - @Serializable(IetfLanguageCodeSerializer::class) object GE : Georgian() { override val code: String = "ka-GE" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Georgian() } - @Serializable(IetfLanguageCodeSerializer::class) object Kongo : IetfLanguageCode { override val code: String = "kg" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class KikuyuGikuyu : IetfLanguageCode { override val code: String = "ki" - @Serializable(IetfLanguageCodeSerializer::class) object KE : KikuyuGikuyu() { override val code: String = "ki-KE" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : KikuyuGikuyu() } - @Serializable(IetfLanguageCodeSerializer::class) object KuanyamaKwanyama : IetfLanguageCode { override val code: String = "kj" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Kazakh : IetfLanguageCode { override val code: String = "kk" - @Serializable(IetfLanguageCodeSerializer::class) object KZ : Kazakh() { override val code: String = "kk-KZ" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Kazakh() } @@ -1983,11 +1317,9 @@ sealed interface IetfLanguageCode { sealed class KalaallisutGreenlandic : IetfLanguageCode { override val code: String = "kl" - @Serializable(IetfLanguageCodeSerializer::class) object GL : KalaallisutGreenlandic() { override val code: String = "kl-GL" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : KalaallisutGreenlandic() } @@ -1997,11 +1329,9 @@ sealed interface IetfLanguageCode { sealed class CentralKhmer : IetfLanguageCode { override val code: String = "km" - @Serializable(IetfLanguageCodeSerializer::class) object KH : CentralKhmer() { override val code: String = "km-KH" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : CentralKhmer() } @@ -2011,11 +1341,9 @@ sealed interface IetfLanguageCode { sealed class Kannada : IetfLanguageCode { override val code: String = "kn" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Kannada() { override val code: String = "kn-IN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Kannada() } @@ -2025,24 +1353,18 @@ sealed interface IetfLanguageCode { sealed class Korean : IetfLanguageCode { override val code: String = "ko" - @Serializable(IetfLanguageCodeSerializer::class) object KP : Korean() { override val code: String = "ko-KP" } - - @Serializable(IetfLanguageCodeSerializer::class) object KR : Korean() { override val code: String = "ko-KR" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Korean() } - @Serializable(IetfLanguageCodeSerializer::class) object Kanuri : IetfLanguageCode { override val code: String = "kr" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Kashmiri : IetfLanguageCode { override val code: String = "ks" @@ -2052,11 +1374,9 @@ sealed interface IetfLanguageCode { sealed class Arab : Kashmiri() { override val code: String = "ks-Arab" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Arab() { override val code: String = "ks-Arab-IN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Arab() } @@ -2071,29 +1391,23 @@ sealed interface IetfLanguageCode { sealed class Kurdish : IetfLanguageCode { override val code: String = "ku" - @Serializable(IetfLanguageCodeSerializer::class) object TR : Kurdish() { override val code: String = "ku-TR" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Kurdish() } - @Serializable(IetfLanguageCodeSerializer::class) object Komi : IetfLanguageCode { override val code: String = "kv" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Cornish : IetfLanguageCode { override val code: String = "kw" - @Serializable(IetfLanguageCodeSerializer::class) object GB : Cornish() { override val code: String = "kw-GB" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Cornish() } @@ -2103,29 +1417,23 @@ sealed interface IetfLanguageCode { sealed class KirghizKyrgyz : IetfLanguageCode { override val code: String = "ky" - @Serializable(IetfLanguageCodeSerializer::class) object KG : KirghizKyrgyz() { override val code: String = "ky-KG" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : KirghizKyrgyz() } - @Serializable(IetfLanguageCodeSerializer::class) object Latin : IetfLanguageCode { override val code: String = "la" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class LuxembourgishLetzeburgesch : IetfLanguageCode { override val code: String = "lb" - @Serializable(IetfLanguageCodeSerializer::class) object LU : LuxembourgishLetzeburgesch() { override val code: String = "lb-LU" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : LuxembourgishLetzeburgesch() } @@ -2135,41 +1443,29 @@ sealed interface IetfLanguageCode { sealed class Ganda : IetfLanguageCode { override val code: String = "lg" - @Serializable(IetfLanguageCodeSerializer::class) object UG : Ganda() { override val code: String = "lg-UG" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Ganda() } - @Serializable(IetfLanguageCodeSerializer::class) object LimburganLimburgerLimburgish : IetfLanguageCode { override val code: String = "li" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Lingala : IetfLanguageCode { override val code: String = "ln" - @Serializable(IetfLanguageCodeSerializer::class) object AO : Lingala() { override val code: String = "ln-AO" } - - @Serializable(IetfLanguageCodeSerializer::class) object CD : Lingala() { override val code: String = "ln-CD" } - - @Serializable(IetfLanguageCodeSerializer::class) object CF : Lingala() { override val code: String = "ln-CF" } - - @Serializable(IetfLanguageCodeSerializer::class) object CG : Lingala() { override val code: String = "ln-CG" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Lingala() } @@ -2179,11 +1475,9 @@ sealed interface IetfLanguageCode { sealed class Lao : IetfLanguageCode { override val code: String = "lo" - @Serializable(IetfLanguageCodeSerializer::class) object LA : Lao() { override val code: String = "lo-LA" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Lao() } @@ -2193,11 +1487,9 @@ sealed interface IetfLanguageCode { sealed class Lithuanian : IetfLanguageCode { override val code: String = "lt" - @Serializable(IetfLanguageCodeSerializer::class) object LT : Lithuanian() { override val code: String = "lt-LT" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Lithuanian() } @@ -2207,11 +1499,9 @@ sealed interface IetfLanguageCode { sealed class LubaKatanga : IetfLanguageCode { override val code: String = "lu" - @Serializable(IetfLanguageCodeSerializer::class) object CD : LubaKatanga() { override val code: String = "lu-CD" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : LubaKatanga() } @@ -2221,11 +1511,9 @@ sealed interface IetfLanguageCode { sealed class Latvian : IetfLanguageCode { override val code: String = "lv" - @Serializable(IetfLanguageCodeSerializer::class) object LV : Latvian() { override val code: String = "lv-LV" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Latvian() } @@ -2235,29 +1523,23 @@ sealed interface IetfLanguageCode { sealed class Malagasy : IetfLanguageCode { override val code: String = "mg" - @Serializable(IetfLanguageCodeSerializer::class) object MG : Malagasy() { override val code: String = "mg-MG" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Malagasy() } - @Serializable(IetfLanguageCodeSerializer::class) object Marshallese : IetfLanguageCode { override val code: String = "mh" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Maori : IetfLanguageCode { override val code: String = "mi" - @Serializable(IetfLanguageCodeSerializer::class) object NZ : Maori() { override val code: String = "mi-NZ" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Maori() } @@ -2267,11 +1549,9 @@ sealed interface IetfLanguageCode { sealed class Macedonian : IetfLanguageCode { override val code: String = "mk" - @Serializable(IetfLanguageCodeSerializer::class) object MK : Macedonian() { override val code: String = "mk-MK" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Macedonian() } @@ -2281,11 +1561,9 @@ sealed interface IetfLanguageCode { sealed class Malayalam : IetfLanguageCode { override val code: String = "ml" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Malayalam() { override val code: String = "ml-IN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Malayalam() } @@ -2295,11 +1573,9 @@ sealed interface IetfLanguageCode { sealed class Mongolian : IetfLanguageCode { override val code: String = "mn" - @Serializable(IetfLanguageCodeSerializer::class) object MN : Mongolian() { override val code: String = "mn-MN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Mongolian() } @@ -2309,11 +1585,9 @@ sealed interface IetfLanguageCode { sealed class Marathi : IetfLanguageCode { override val code: String = "mr" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Marathi() { override val code: String = "mr-IN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Marathi() } @@ -2323,23 +1597,15 @@ sealed interface IetfLanguageCode { sealed class Malay : IetfLanguageCode { override val code: String = "ms" - @Serializable(IetfLanguageCodeSerializer::class) object BN : Malay() { override val code: String = "ms-BN" } - - @Serializable(IetfLanguageCodeSerializer::class) object ID : Malay() { override val code: String = "ms-ID" } - - @Serializable(IetfLanguageCodeSerializer::class) object MY : Malay() { override val code: String = "ms-MY" } - - @Serializable(IetfLanguageCodeSerializer::class) object SG : Malay() { override val code: String = "ms-SG" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Malay() } @@ -2349,11 +1615,9 @@ sealed interface IetfLanguageCode { sealed class Maltese : IetfLanguageCode { override val code: String = "mt" - @Serializable(IetfLanguageCodeSerializer::class) object MT : Maltese() { override val code: String = "mt-MT" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Maltese() } @@ -2363,33 +1627,25 @@ sealed interface IetfLanguageCode { sealed class Burmese : IetfLanguageCode { override val code: String = "my" - @Serializable(IetfLanguageCodeSerializer::class) object MM : Burmese() { override val code: String = "my-MM" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Burmese() } - @Serializable(IetfLanguageCodeSerializer::class) object Nauru : IetfLanguageCode { override val code: String = "na" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class BokmålNorwegianNorwegianBokmål : IetfLanguageCode { override val code: String = "nb" - @Serializable(IetfLanguageCodeSerializer::class) object NO : BokmålNorwegianNorwegianBokmål() { override val code: String = "nb-NO" } - - @Serializable(IetfLanguageCodeSerializer::class) object SJ : BokmålNorwegianNorwegianBokmål() { override val code: String = "nb-SJ" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : BokmålNorwegianNorwegianBokmål() } @@ -2399,11 +1655,9 @@ sealed interface IetfLanguageCode { sealed class NdebeleNorthNorthNdebele : IetfLanguageCode { override val code: String = "nd" - @Serializable(IetfLanguageCodeSerializer::class) object ZW : NdebeleNorthNorthNdebele() { override val code: String = "nd-ZW" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : NdebeleNorthNorthNdebele() } @@ -2413,57 +1667,37 @@ sealed interface IetfLanguageCode { sealed class Nepali : IetfLanguageCode { override val code: String = "ne" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Nepali() { override val code: String = "ne-IN" } - - @Serializable(IetfLanguageCodeSerializer::class) object NP : Nepali() { override val code: String = "ne-NP" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Nepali() } - @Serializable(IetfLanguageCodeSerializer::class) object Ndonga : IetfLanguageCode { override val code: String = "ng" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class DutchFlemish : IetfLanguageCode { override val code: String = "nl" - @Serializable(IetfLanguageCodeSerializer::class) object AW : DutchFlemish() { override val code: String = "nl-AW" } - - @Serializable(IetfLanguageCodeSerializer::class) object BE : DutchFlemish() { override val code: String = "nl-BE" } - - @Serializable(IetfLanguageCodeSerializer::class) object BQ : DutchFlemish() { override val code: String = "nl-BQ" } - - @Serializable(IetfLanguageCodeSerializer::class) object CW : DutchFlemish() { override val code: String = "nl-CW" } - - @Serializable(IetfLanguageCodeSerializer::class) object NL : DutchFlemish() { override val code: String = "nl-NL" } - - @Serializable(IetfLanguageCodeSerializer::class) object SR : DutchFlemish() { override val code: String = "nl-SR" } - - @Serializable(IetfLanguageCodeSerializer::class) object SX : DutchFlemish() { override val code: String = "nl-SX" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : DutchFlemish() } @@ -2473,53 +1707,35 @@ sealed interface IetfLanguageCode { sealed class NorwegianNynorskNynorskNorwegian : IetfLanguageCode { override val code: String = "nn" - @Serializable(IetfLanguageCodeSerializer::class) object NO : NorwegianNynorskNynorskNorwegian() { override val code: String = "nn-NO" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : NorwegianNynorskNynorskNorwegian() } - @Serializable(IetfLanguageCodeSerializer::class) object Norwegian : IetfLanguageCode { override val code: String = "no" } - - @Serializable(IetfLanguageCodeSerializer::class) object NdebeleSouthSouthNdebele : IetfLanguageCode { override val code: String = "nr" } - - @Serializable(IetfLanguageCodeSerializer::class) object NavajoNavaho : IetfLanguageCode { override val code: String = "nv" } - - @Serializable(IetfLanguageCodeSerializer::class) object ChichewaChewaNyanja : IetfLanguageCode { override val code: String = "ny" } - - @Serializable(IetfLanguageCodeSerializer::class) object OccitanPost1500 : IetfLanguageCode { override val code: String = "oc" } - - @Serializable(IetfLanguageCodeSerializer::class) object Ojibwa : IetfLanguageCode { override val code: String = "oj" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Oromo : IetfLanguageCode { override val code: String = "om" - @Serializable(IetfLanguageCodeSerializer::class) object ET : Oromo() { override val code: String = "om-ET" } - - @Serializable(IetfLanguageCodeSerializer::class) object KE : Oromo() { override val code: String = "om-KE" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Oromo() } @@ -2529,11 +1745,9 @@ sealed interface IetfLanguageCode { sealed class Oriya : IetfLanguageCode { override val code: String = "or" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Oriya() { override val code: String = "or-IN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Oriya() } @@ -2543,15 +1757,11 @@ sealed interface IetfLanguageCode { sealed class OssetianOssetic : IetfLanguageCode { override val code: String = "os" - @Serializable(IetfLanguageCodeSerializer::class) object GE : OssetianOssetic() { override val code: String = "os-GE" } - - @Serializable(IetfLanguageCodeSerializer::class) object RU : OssetianOssetic() { override val code: String = "os-RU" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : OssetianOssetic() } @@ -2566,11 +1776,9 @@ sealed interface IetfLanguageCode { sealed class Arab : PanjabiPunjabi() { override val code: String = "pa-Arab" - @Serializable(IetfLanguageCodeSerializer::class) object PK : Arab() { override val code: String = "pa-Arab-PK" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Arab() } @@ -2580,11 +1788,9 @@ sealed interface IetfLanguageCode { sealed class Guru : PanjabiPunjabi() { override val code: String = "pa-Guru" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Guru() { override val code: String = "pa-Guru-IN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Guru() } @@ -2594,20 +1800,16 @@ sealed interface IetfLanguageCode { companion object : PanjabiPunjabi() } - @Serializable(IetfLanguageCodeSerializer::class) object Pali : IetfLanguageCode { override val code: String = "pi" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Polish : IetfLanguageCode { override val code: String = "pl" - @Serializable(IetfLanguageCodeSerializer::class) object PL : Polish() { override val code: String = "pl-PL" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Polish() } @@ -2617,15 +1819,11 @@ sealed interface IetfLanguageCode { sealed class PushtoPashto : IetfLanguageCode { override val code: String = "ps" - @Serializable(IetfLanguageCodeSerializer::class) object AF : PushtoPashto() { override val code: String = "ps-AF" } - - @Serializable(IetfLanguageCodeSerializer::class) object PK : PushtoPashto() { override val code: String = "ps-PK" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : PushtoPashto() } @@ -2635,55 +1833,31 @@ sealed interface IetfLanguageCode { sealed class Portuguese : IetfLanguageCode { override val code: String = "pt" - @Serializable(IetfLanguageCodeSerializer::class) object AO : Portuguese() { override val code: String = "pt-AO" } - - @Serializable(IetfLanguageCodeSerializer::class) object BR : Portuguese() { override val code: String = "pt-BR" } - - @Serializable(IetfLanguageCodeSerializer::class) object CH : Portuguese() { override val code: String = "pt-CH" } - - @Serializable(IetfLanguageCodeSerializer::class) object CV : Portuguese() { override val code: String = "pt-CV" } - - @Serializable(IetfLanguageCodeSerializer::class) object GQ : Portuguese() { override val code: String = "pt-GQ" } - - @Serializable(IetfLanguageCodeSerializer::class) object GW : Portuguese() { override val code: String = "pt-GW" } - - @Serializable(IetfLanguageCodeSerializer::class) object LU : Portuguese() { override val code: String = "pt-LU" } - - @Serializable(IetfLanguageCodeSerializer::class) object MO : Portuguese() { override val code: String = "pt-MO" } - - @Serializable(IetfLanguageCodeSerializer::class) object MZ : Portuguese() { override val code: String = "pt-MZ" } - - @Serializable(IetfLanguageCodeSerializer::class) object PT : Portuguese() { override val code: String = "pt-PT" } - - @Serializable(IetfLanguageCodeSerializer::class) object ST : Portuguese() { override val code: String = "pt-ST" } - - @Serializable(IetfLanguageCodeSerializer::class) object TL : Portuguese() { override val code: String = "pt-TL" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Portuguese() } @@ -2693,19 +1867,13 @@ sealed interface IetfLanguageCode { sealed class Quechua : IetfLanguageCode { override val code: String = "qu" - @Serializable(IetfLanguageCodeSerializer::class) object BO : Quechua() { override val code: String = "qu-BO" } - - @Serializable(IetfLanguageCodeSerializer::class) object EC : Quechua() { override val code: String = "qu-EC" } - - @Serializable(IetfLanguageCodeSerializer::class) object PE : Quechua() { override val code: String = "qu-PE" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Quechua() } @@ -2715,11 +1883,9 @@ sealed interface IetfLanguageCode { sealed class Romansh : IetfLanguageCode { override val code: String = "rm" - @Serializable(IetfLanguageCodeSerializer::class) object CH : Romansh() { override val code: String = "rm-CH" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Romansh() } @@ -2729,11 +1895,9 @@ sealed interface IetfLanguageCode { sealed class Rundi : IetfLanguageCode { override val code: String = "rn" - @Serializable(IetfLanguageCodeSerializer::class) object BI : Rundi() { override val code: String = "rn-BI" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Rundi() } @@ -2743,15 +1907,11 @@ sealed interface IetfLanguageCode { sealed class RomanianMoldavianMoldovan : IetfLanguageCode { override val code: String = "ro" - @Serializable(IetfLanguageCodeSerializer::class) object MD : RomanianMoldavianMoldovan() { override val code: String = "ro-MD" } - - @Serializable(IetfLanguageCodeSerializer::class) object RO : RomanianMoldavianMoldovan() { override val code: String = "ro-RO" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : RomanianMoldavianMoldovan() } @@ -2761,31 +1921,19 @@ sealed interface IetfLanguageCode { sealed class Russian : IetfLanguageCode { override val code: String = "ru" - @Serializable(IetfLanguageCodeSerializer::class) object BY : Russian() { override val code: String = "ru-BY" } - - @Serializable(IetfLanguageCodeSerializer::class) object KG : Russian() { override val code: String = "ru-KG" } - - @Serializable(IetfLanguageCodeSerializer::class) object KZ : Russian() { override val code: String = "ru-KZ" } - - @Serializable(IetfLanguageCodeSerializer::class) object MD : Russian() { override val code: String = "ru-MD" } - - @Serializable(IetfLanguageCodeSerializer::class) object RU : Russian() { override val code: String = "ru-RU" } - - @Serializable(IetfLanguageCodeSerializer::class) object UA : Russian() { override val code: String = "ru-UA" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Russian() } @@ -2795,24 +1943,18 @@ sealed interface IetfLanguageCode { sealed class Kinyarwanda : IetfLanguageCode { override val code: String = "rw" - @Serializable(IetfLanguageCodeSerializer::class) object RW : Kinyarwanda() { override val code: String = "rw-RW" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Kinyarwanda() } - @Serializable(IetfLanguageCodeSerializer::class) object Sanskrit : IetfLanguageCode { override val code: String = "sa" } - - @Serializable(IetfLanguageCodeSerializer::class) object Sardinian : IetfLanguageCode { override val code: String = "sc" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Sindhi : IetfLanguageCode { override val code: String = "sd" @@ -2822,11 +1964,9 @@ sealed interface IetfLanguageCode { sealed class Arab : Sindhi() { override val code: String = "sd-Arab" - @Serializable(IetfLanguageCodeSerializer::class) object PK : Arab() { override val code: String = "sd-Arab-PK" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Arab() } @@ -2836,11 +1976,9 @@ sealed interface IetfLanguageCode { sealed class Deva : Sindhi() { override val code: String = "sd-Deva" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Deva() { override val code: String = "sd-Deva-IN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Deva() } @@ -2855,19 +1993,13 @@ sealed interface IetfLanguageCode { sealed class NorthernSami : IetfLanguageCode { override val code: String = "se" - @Serializable(IetfLanguageCodeSerializer::class) object FI : NorthernSami() { override val code: String = "se-FI" } - - @Serializable(IetfLanguageCodeSerializer::class) object NO : NorthernSami() { override val code: String = "se-NO" } - - @Serializable(IetfLanguageCodeSerializer::class) object SE : NorthernSami() { override val code: String = "se-SE" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : NorthernSami() } @@ -2877,11 +2009,9 @@ sealed interface IetfLanguageCode { sealed class Sango : IetfLanguageCode { override val code: String = "sg" - @Serializable(IetfLanguageCodeSerializer::class) object CF : Sango() { override val code: String = "sg-CF" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Sango() } @@ -2891,11 +2021,9 @@ sealed interface IetfLanguageCode { sealed class SinhalaSinhalese : IetfLanguageCode { override val code: String = "si" - @Serializable(IetfLanguageCodeSerializer::class) object LK : SinhalaSinhalese() { override val code: String = "si-LK" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : SinhalaSinhalese() } @@ -2905,11 +2033,9 @@ sealed interface IetfLanguageCode { sealed class Slovak : IetfLanguageCode { override val code: String = "sk" - @Serializable(IetfLanguageCodeSerializer::class) object SK : Slovak() { override val code: String = "sk-SK" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Slovak() } @@ -2919,29 +2045,23 @@ sealed interface IetfLanguageCode { sealed class Slovenian : IetfLanguageCode { override val code: String = "sl" - @Serializable(IetfLanguageCodeSerializer::class) object SI : Slovenian() { override val code: String = "sl-SI" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Slovenian() } - @Serializable(IetfLanguageCodeSerializer::class) object Samoan : IetfLanguageCode { override val code: String = "sm" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Shona : IetfLanguageCode { override val code: String = "sn" - @Serializable(IetfLanguageCodeSerializer::class) object ZW : Shona() { override val code: String = "sn-ZW" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Shona() } @@ -2951,23 +2071,15 @@ sealed interface IetfLanguageCode { sealed class Somali : IetfLanguageCode { override val code: String = "so" - @Serializable(IetfLanguageCodeSerializer::class) object DJ : Somali() { override val code: String = "so-DJ" } - - @Serializable(IetfLanguageCodeSerializer::class) object ET : Somali() { override val code: String = "so-ET" } - - @Serializable(IetfLanguageCodeSerializer::class) object KE : Somali() { override val code: String = "so-KE" } - - @Serializable(IetfLanguageCodeSerializer::class) object SO : Somali() { override val code: String = "so-SO" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Somali() } @@ -2977,19 +2089,13 @@ sealed interface IetfLanguageCode { sealed class Albanian : IetfLanguageCode { override val code: String = "sq" - @Serializable(IetfLanguageCodeSerializer::class) object AL : Albanian() { override val code: String = "sq-AL" } - - @Serializable(IetfLanguageCodeSerializer::class) object MK : Albanian() { override val code: String = "sq-MK" } - - @Serializable(IetfLanguageCodeSerializer::class) object XK : Albanian() { override val code: String = "sq-XK" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Albanian() } @@ -3004,23 +2110,15 @@ sealed interface IetfLanguageCode { sealed class Cyrl : Serbian() { override val code: String = "sr-Cyrl" - @Serializable(IetfLanguageCodeSerializer::class) object BA : Cyrl() { override val code: String = "sr-Cyrl-BA" } - - @Serializable(IetfLanguageCodeSerializer::class) object ME : Cyrl() { override val code: String = "sr-Cyrl-ME" } - - @Serializable(IetfLanguageCodeSerializer::class) object RS : Cyrl() { override val code: String = "sr-Cyrl-RS" } - - @Serializable(IetfLanguageCodeSerializer::class) object XK : Cyrl() { override val code: String = "sr-Cyrl-XK" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Cyrl() } @@ -3030,23 +2128,15 @@ sealed interface IetfLanguageCode { sealed class Latn : Serbian() { override val code: String = "sr-Latn" - @Serializable(IetfLanguageCodeSerializer::class) object BA : Latn() { override val code: String = "sr-Latn-BA" } - - @Serializable(IetfLanguageCodeSerializer::class) object ME : Latn() { override val code: String = "sr-Latn-ME" } - - @Serializable(IetfLanguageCodeSerializer::class) object RS : Latn() { override val code: String = "sr-Latn-RS" } - - @Serializable(IetfLanguageCodeSerializer::class) object XK : Latn() { override val code: String = "sr-Latn-XK" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Latn() } @@ -3056,15 +2146,11 @@ sealed interface IetfLanguageCode { companion object : Serbian() } - @Serializable(IetfLanguageCodeSerializer::class) object Swati : IetfLanguageCode { override val code: String = "ss" } - - @Serializable(IetfLanguageCodeSerializer::class) object SothoSouthern : IetfLanguageCode { override val code: String = "st" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Sundanese : IetfLanguageCode { override val code: String = "su" @@ -3074,11 +2160,9 @@ sealed interface IetfLanguageCode { sealed class Latn : Sundanese() { override val code: String = "su-Latn" - @Serializable(IetfLanguageCodeSerializer::class) object ID : Latn() { override val code: String = "su-Latn-ID" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Latn() } @@ -3093,19 +2177,13 @@ sealed interface IetfLanguageCode { sealed class Swedish : IetfLanguageCode { override val code: String = "sv" - @Serializable(IetfLanguageCodeSerializer::class) object AX : Swedish() { override val code: String = "sv-AX" } - - @Serializable(IetfLanguageCodeSerializer::class) object FI : Swedish() { override val code: String = "sv-FI" } - - @Serializable(IetfLanguageCodeSerializer::class) object SE : Swedish() { override val code: String = "sv-SE" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Swedish() } @@ -3115,23 +2193,15 @@ sealed interface IetfLanguageCode { sealed class Swahili : IetfLanguageCode { override val code: String = "sw" - @Serializable(IetfLanguageCodeSerializer::class) object CD : Swahili() { override val code: String = "sw-CD" } - - @Serializable(IetfLanguageCodeSerializer::class) object KE : Swahili() { override val code: String = "sw-KE" } - - @Serializable(IetfLanguageCodeSerializer::class) object TZ : Swahili() { override val code: String = "sw-TZ" } - - @Serializable(IetfLanguageCodeSerializer::class) object UG : Swahili() { override val code: String = "sw-UG" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Swahili() } @@ -3141,23 +2211,15 @@ sealed interface IetfLanguageCode { sealed class Tamil : IetfLanguageCode { override val code: String = "ta" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Tamil() { override val code: String = "ta-IN" } - - @Serializable(IetfLanguageCodeSerializer::class) object LK : Tamil() { override val code: String = "ta-LK" } - - @Serializable(IetfLanguageCodeSerializer::class) object MY : Tamil() { override val code: String = "ta-MY" } - - @Serializable(IetfLanguageCodeSerializer::class) object SG : Tamil() { override val code: String = "ta-SG" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Tamil() } @@ -3167,11 +2229,9 @@ sealed interface IetfLanguageCode { sealed class Telugu : IetfLanguageCode { override val code: String = "te" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Telugu() { override val code: String = "te-IN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Telugu() } @@ -3181,11 +2241,9 @@ sealed interface IetfLanguageCode { sealed class Tajik : IetfLanguageCode { override val code: String = "tg" - @Serializable(IetfLanguageCodeSerializer::class) object TJ : Tajik() { override val code: String = "tg-TJ" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Tajik() } @@ -3195,11 +2253,9 @@ sealed interface IetfLanguageCode { sealed class Thai : IetfLanguageCode { override val code: String = "th" - @Serializable(IetfLanguageCodeSerializer::class) object TH : Thai() { override val code: String = "th-TH" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Thai() } @@ -3209,15 +2265,11 @@ sealed interface IetfLanguageCode { sealed class Tigrinya : IetfLanguageCode { override val code: String = "ti" - @Serializable(IetfLanguageCodeSerializer::class) object ER : Tigrinya() { override val code: String = "ti-ER" } - - @Serializable(IetfLanguageCodeSerializer::class) object ET : Tigrinya() { override val code: String = "ti-ET" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Tigrinya() } @@ -3227,33 +2279,25 @@ sealed interface IetfLanguageCode { sealed class Turkmen : IetfLanguageCode { override val code: String = "tk" - @Serializable(IetfLanguageCodeSerializer::class) object TM : Turkmen() { override val code: String = "tk-TM" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Turkmen() } - @Serializable(IetfLanguageCodeSerializer::class) object Tagalog : IetfLanguageCode { override val code: String = "tl" } - - @Serializable(IetfLanguageCodeSerializer::class) object Tswana : IetfLanguageCode { override val code: String = "tn" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class TongaTongaIslands : IetfLanguageCode { override val code: String = "to" - @Serializable(IetfLanguageCodeSerializer::class) object TO : TongaTongaIslands() { override val code: String = "to-TO" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : TongaTongaIslands() } @@ -3263,55 +2307,41 @@ sealed interface IetfLanguageCode { sealed class Turkish : IetfLanguageCode { override val code: String = "tr" - @Serializable(IetfLanguageCodeSerializer::class) object CY : Turkish() { override val code: String = "tr-CY" } - - @Serializable(IetfLanguageCodeSerializer::class) object TR : Turkish() { override val code: String = "tr-TR" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Turkish() } - @Serializable(IetfLanguageCodeSerializer::class) object Tsonga : IetfLanguageCode { override val code: String = "ts" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Tatar : IetfLanguageCode { override val code: String = "tt" - @Serializable(IetfLanguageCodeSerializer::class) object RU : Tatar() { override val code: String = "tt-RU" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Tatar() } - @Serializable(IetfLanguageCodeSerializer::class) object Twi : IetfLanguageCode { override val code: String = "tw" } - - @Serializable(IetfLanguageCodeSerializer::class) object Tahitian : IetfLanguageCode { override val code: String = "ty" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class UighurUyghur : IetfLanguageCode { override val code: String = "ug" - @Serializable(IetfLanguageCodeSerializer::class) object CN : UighurUyghur() { override val code: String = "ug-CN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : UighurUyghur() } @@ -3321,11 +2351,9 @@ sealed interface IetfLanguageCode { sealed class Ukrainian : IetfLanguageCode { override val code: String = "uk" - @Serializable(IetfLanguageCodeSerializer::class) object UA : Ukrainian() { override val code: String = "uk-UA" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Ukrainian() } @@ -3335,15 +2363,11 @@ sealed interface IetfLanguageCode { sealed class Urdu : IetfLanguageCode { override val code: String = "ur" - @Serializable(IetfLanguageCodeSerializer::class) object IN : Urdu() { override val code: String = "ur-IN" } - - @Serializable(IetfLanguageCodeSerializer::class) object PK : Urdu() { override val code: String = "ur-PK" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Urdu() } @@ -3358,11 +2382,9 @@ sealed interface IetfLanguageCode { sealed class Arab : Uzbek() { override val code: String = "uz-Arab" - @Serializable(IetfLanguageCodeSerializer::class) object AF : Arab() { override val code: String = "uz-Arab-AF" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Arab() } @@ -3372,11 +2394,9 @@ sealed interface IetfLanguageCode { sealed class Cyrl : Uzbek() { override val code: String = "uz-Cyrl" - @Serializable(IetfLanguageCodeSerializer::class) object UZ : Cyrl() { override val code: String = "uz-Cyrl-UZ" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Cyrl() } @@ -3386,11 +2406,9 @@ sealed interface IetfLanguageCode { sealed class Latn : Uzbek() { override val code: String = "uz-Latn" - @Serializable(IetfLanguageCodeSerializer::class) object UZ : Latn() { override val code: String = "uz-Latn-UZ" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Latn() } @@ -3400,20 +2418,16 @@ sealed interface IetfLanguageCode { companion object : Uzbek() } - @Serializable(IetfLanguageCodeSerializer::class) object Venda : IetfLanguageCode { override val code: String = "ve" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Vietnamese : IetfLanguageCode { override val code: String = "vi" - @Serializable(IetfLanguageCodeSerializer::class) object VN : Vietnamese() { override val code: String = "vi-VN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Vietnamese() } @@ -3423,29 +2437,23 @@ sealed interface IetfLanguageCode { sealed class Volapük : IetfLanguageCode { override val code: String = "vo" - @Serializable(IetfLanguageCodeSerializer::class) object L001 : Volapük() { override val code: String = "vo-001" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Volapük() } - @Serializable(IetfLanguageCodeSerializer::class) object Walloon : IetfLanguageCode { override val code: String = "wa" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Wolof : IetfLanguageCode { override val code: String = "wo" - @Serializable(IetfLanguageCodeSerializer::class) object SN : Wolof() { override val code: String = "wo-SN" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Wolof() } @@ -3455,11 +2463,9 @@ sealed interface IetfLanguageCode { sealed class Xhosa : IetfLanguageCode { override val code: String = "xh" - @Serializable(IetfLanguageCodeSerializer::class) object ZA : Xhosa() { override val code: String = "xh-ZA" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Xhosa() } @@ -3469,11 +2475,9 @@ sealed interface IetfLanguageCode { sealed class Yiddish : IetfLanguageCode { override val code: String = "yi" - @Serializable(IetfLanguageCodeSerializer::class) object L001 : Yiddish() { override val code: String = "yi-001" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Yiddish() } @@ -3483,24 +2487,18 @@ sealed interface IetfLanguageCode { sealed class Yoruba : IetfLanguageCode { override val code: String = "yo" - @Serializable(IetfLanguageCodeSerializer::class) object BJ : Yoruba() { override val code: String = "yo-BJ" } - - @Serializable(IetfLanguageCodeSerializer::class) object NG : Yoruba() { override val code: String = "yo-NG" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Yoruba() } - @Serializable(IetfLanguageCodeSerializer::class) object ZhuangChuang : IetfLanguageCode { override val code: String = "za" } - @Serializable(IetfLanguageCodeSerializer::class) sealed class Chinese : IetfLanguageCode { override val code: String = "zh" @@ -3510,23 +2508,15 @@ sealed interface IetfLanguageCode { sealed class Hans : Chinese() { override val code: String = "zh-Hans" - @Serializable(IetfLanguageCodeSerializer::class) object CN : Hans() { override val code: String = "zh-Hans-CN" } - - @Serializable(IetfLanguageCodeSerializer::class) object HK : Hans() { override val code: String = "zh-Hans-HK" } - - @Serializable(IetfLanguageCodeSerializer::class) object MO : Hans() { override val code: String = "zh-Hans-MO" } - - @Serializable(IetfLanguageCodeSerializer::class) object SG : Hans() { override val code: String = "zh-Hans-SG" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Hans() } @@ -3536,19 +2526,13 @@ sealed interface IetfLanguageCode { sealed class Hant : Chinese() { override val code: String = "zh-Hant" - @Serializable(IetfLanguageCodeSerializer::class) object HK : Hant() { override val code: String = "zh-Hant-HK" } - - @Serializable(IetfLanguageCodeSerializer::class) object MO : Hant() { override val code: String = "zh-Hant-MO" } - - @Serializable(IetfLanguageCodeSerializer::class) object TW : Hant() { override val code: String = "zh-Hant-TW" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Hant() } @@ -3563,11 +2547,9 @@ sealed interface IetfLanguageCode { sealed class Zulu : IetfLanguageCode { override val code: String = "zu" - @Serializable(IetfLanguageCodeSerializer::class) object ZA : Zulu() { override val code: String = "zu-ZA" } - @Serializable(IetfLanguageCodeSerializer::class) companion object : Zulu() } From 6ae7ccb9a1c0da15d5cabd316bab17cf5562e244 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 4 Aug 2021 11:14:56 +0600 Subject: [PATCH 5/5] add kdocs to language_codes --- language_codes/generator/src/main/kotlin/Main.kt | 5 +++++ language_codes/gradle.properties | 1 - .../dev/inmo/micro_utils/language_codes/LanguageCodes.kt | 5 +++++ 3 files changed, 10 insertions(+), 1 deletion(-) delete mode 100644 language_codes/gradle.properties diff --git a/language_codes/generator/src/main/kotlin/Main.kt b/language_codes/generator/src/main/kotlin/Main.kt index 2a42a2aab8a..72833bfd6a6 100644 --- a/language_codes/generator/src/main/kotlin/Main.kt +++ b/language_codes/generator/src/main/kotlin/Main.kt @@ -92,6 +92,11 @@ ${indents}} fun buildKtFileContent(tags: List): String = """ import kotlinx.serialization.Serializable +/** + * This class has been automatically generated using + * 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. + */ ${baseClassSerializerAnnotationName} sealed interface $baseClassName { val code: String diff --git a/language_codes/gradle.properties b/language_codes/gradle.properties deleted file mode 100644 index 09e60da5bdd..00000000000 --- a/language_codes/gradle.properties +++ /dev/null @@ -1 +0,0 @@ -csv_parser_version=0.15.2 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 0c00235e962..40f9ca54d86 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 @@ -2,6 +2,11 @@ package dev.inmo.micro_utils.language_codes import kotlinx.serialization.Serializable +/** + * This class has been automatically generated using + * 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 interface IetfLanguageCode { val code: String