smuellner/ISO639.swift

View on GitHub
Sources/ISO639/LanguageSymbols.swift

Summary

Maintainability
A
0 mins
Test Coverage
//
//  LanguageSymbols.swift
//  https://en.wikipedia.org/wiki/Wikipedia:Language_recognition_chart
//
//  Created by smuellner on 02.11.19.
//

public enum LanguageSymbols: String, CaseIterable {
    // MARK: Latin
    case latin
    case dutch
    case afrikaans
    case westFrisian
    case danish
    case norwegian
    case spanish
    case italian
    case guarani
    // MARK: Single diacritics, mostly umlauts
    case finnish
    case swedish
    case estonian
    case german
    case luxembourgish
    // MARK: Circumflexes
    case kurdish
    case romanian
    case welsh
    case esperanto
    // MARK: Three or more types of diacritics
    case turkish
    case icelandic
    case hungarian
    case catalan
    case french
    case occitan
    case portuguese
    // MARK: Southern Athabaskan languages
    case southernAthabaskan
    case westernApache
    case navajo
    case mescaleroChiricahua
    // MARK: Lechitic languages
    case lechitic
    case polish
    case silesian
    case kashubian
    // MARK: Slavic languages
    case slavic
    case slovene
    case bosnian
    case croatian
    case serbianLatin
    case czech
    case slovak
    case latvian
    case lithuanian
    // MARK: Vietnamese languages
    case vietnamese
    case middleVietnamese
    case sundanese
    case basque
    // MARK: Arabic languages
    case arabic
    case malay
    case jawi
    case sorani
    case panjabi
    case punjabiArabic
    case pashto
    case sindhi
    case urdu
    case persian
    case farsi
    // MARK: Brahmic family of scripts
    case bengali
    case assamese
    case sanskrit
    case hindi
    case maithili
    case magahi
    case marathi
    case kashmiri
    case bhili
    case konkani
    case bhojpuri
    case nepali
    case gurmukhi
    case punjabiBrahmic
    case brajBhasha
    case khariboli
    case gujarati
    case kachchi
    case tibetan
    case dzongkha
    case bhutanese
    case sikkimese
    // MARK: Cyrillic alphabet
    case cyrillic
    case cyrillicBase1
    case bulgarian
    case belarusian
    case russian
    case ukrainian
    case cyrillicBase2
    case macedonian
    case serbianCyrillic
    case oldChurchSlavonic
    case churchSlavonic
    case romanianInTransnistria 
    // MARK: Greek alphabet
    case greek
    // MARK: Hebrew alphabet
    case aramaic
    case hebrew
    case ladino
    case yiddish
    // MARK: Some East Asian Languages
    case chineseSimplified
    case japaneseWithJojoKanji
    // MARK: Khmer alphabet
    case khmer
    // MARK: Armenian alphabet
    case armenian
    // MARK: Georgian alphabet
    case georgian
    // MARK: Hawaiian alphabet
    case hawaiian
}