aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-iso.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-25 19:53:37 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-25 19:53:37 +0100
commite3e3dc0227f8fd83c53a611bfb63c37595cd35cf (patch)
treef9c5c19a57cef895fbee0603224c6e3682c433fe /lisp/mastodon-iso.el
parenteca8401b6ed04ed0f787efcd8517b022c55f9ed7 (diff)
filter user posts by language. NB: we flip mastodon-iso-639-1!
Diffstat (limited to 'lisp/mastodon-iso.el')
-rw-r--r--lisp/mastodon-iso.el370
1 files changed, 185 insertions, 185 deletions
diff --git a/lisp/mastodon-iso.el b/lisp/mastodon-iso.el
index 8baff3c..341593c 100644
--- a/lisp/mastodon-iso.el
+++ b/lisp/mastodon-iso.el
@@ -33,191 +33,191 @@
;; https://github.com/Shinmera/language-codes/blob/master/data/iso-639-3.lisp
(defvar mastodon-iso-639-1
- '(("ab" "Abkhazian")
- ("aa" "Afar")
- ("af" "Afrikaans")
- ("ak" "Akan")
- ("sq" "Albanian")
- ("am" "Amharic")
- ("ar" "Arabic")
- ("an" "Aragonese")
- ("hy" "Armenian")
- ("as" "Assamese")
- ("av" "Avaric")
- ("ae" "Avestan")
- ("ay" "Aymara")
- ("az" "Azerbaijani")
- ("bm" "Bambara")
- ("ba" "Bashkir")
- ("eu" "Basque")
- ("be" "Belarusian")
- ("bn" "Bengali")
- ("bh" "Bihari languages")
- ("bi" "Bislama")
- ("bs" "Bosnian")
- ("br" "Breton")
- ("bg" "Bulgarian")
- ("my" "Burmese")
- ("km" "Central Khmer")
- ("ch" "Chamorro")
- ("ce" "Chechen")
- ("zh" "Chinese")
- ("cv" "Chuvash")
- ("kw" "Cornish")
- ("co" "Corsican")
- ("cr" "Cree")
- ("hr" "Croatian")
- ("cs" "Czech")
- ("da" "Danish")
- ("dz" "Dzongkha")
- ("en" "English")
- ("eo" "Esperanto")
- ("et" "Estonian")
- ("ee" "Ewe")
- ("fo" "Faroese")
- ("fj" "Fijian")
- ("fi" "Finnish")
- ("nl" "Dutch" "Flemish")
- ("fr" "French")
- ("ff" "Fulah")
- ("gl" "Galician")
- ("lg" "Ganda")
- ("ka" "Georgian")
- ("de" "German")
- ("el" "Greek")
- ("gn" "Guarani")
- ("gu" "Gujarati")
- ("ht" "Haitian" "Haitian Creole")
- ("ha" "Hausa")
- ("he" "Hebrew")
- ("hz" "Herero")
- ("hi" "Hindi")
- ("ho" "Hiri Motu")
- ("hu" "Hungarian")
- ("is" "Icelandic")
- ("io" "Ido")
- ("ig" "Igbo")
- ("id" "Indonesian")
- ("ia" "Interlingua" "Interlingua (International Auxiliary Language Association)")
- ("iu" "Inuktitut")
- ("ik" "Inupiaq")
- ("ga" "Irish")
- ("it" "Italian")
- ("ja" "Japanese")
- ("jp" "Japanese")
- ("jv" "Javanese")
- ("kl" "Kalaallisut" "Greenlandic")
- ("kn" "Kannada")
- ("kr" "Kanuri")
- ("ks" "Kashmiri")
- ("kk" "Kazakh")
- ("ki" "Kikuyu" "Gikuyu")
- ("rw" "Kinyarwanda")
- ("kv" "Komi")
- ("kg" "Kongo")
- ("ko" "Korean")
- ("ku" "Kurdish")
- ("kj" "Kuanyama" "Kwanyama")
- ("ky" "Kirghiz" "Kyrgyz")
- ("lo" "Lao")
- ("la" "Latin")
- ("lv" "Latvian")
- ("li" "Limburgan" "Limburger" "Limburgish")
- ("ln" "Lingala")
- ("lt" "Lithuanian")
- ("lu" "Luba-Katanga")
- ("lb" "Luxembourgish" "Letzeburgesch")
- ("mk" "Macedonian")
- ("mg" "Malagasy")
- ("ms" "Malay")
- ("ml" "Malayalam")
- ("dv" "Divehi" "Dhivehi" "Maldivian")
- ("mt" "Maltese")
- ("gv" "Manx")
- ("mi" "Maori")
- ("mr" "Marathi")
- ("mh" "Marshallese")
- ("mn" "Mongolian")
- ("na" "Nauru")
- ("nv" "Navajo" "Navaho")
- ("ng" "Ndonga")
- ("ne" "Nepali")
- ("nd" "Ndebele, North" "North Ndebele")
- ("se" "Northern Sami")
- ("no" "Norwegian")
- ("nb" "Bokmål, Norwegian" "Norwegian Bokmål")
- ("ny" "Chichewa" "Chewa" "Nyanja")
- ("nn" "Norwegian Nynorsk" "Nynorsk, Norwegian")
- ("ie" "Interlingue" "Occidental")
- ("oc" "Occitan")
- ("oj" "Ojibwa")
- ("cu" "Church Slavic" "Old Slavonic" "Church Slavonic" "Old Bulgarian" "Old Church Slavonic")
- ("or" "Oriya")
- ("om" "Oromo")
- ("os" "Ossetian" "Ossetic")
- ("pi" "Pali")
- ("fa" "Persian")
- ("pl" "Polish")
- ("pt" "Portuguese")
- ("pa" "Panjabi" "Punjabi")
- ("ps" "Pushto" "Pashto")
- ("qu" "Quechua")
- ("ro" "Romanian" "Moldavian" "Moldovan")
- ("rm" "Romansh")
- ("rn" "Rundi")
- ("ru" "Russian")
- ("sm" "Samoan")
- ("sg" "Sango")
- ("sa" "Sanskrit")
- ("sc" "Sardinian")
- ("gd" "Gaelic" "Scottish Gaelic")
- ("sr" "Serbian")
- ("sn" "Shona")
- ("ii" "Sichuan Yi" "Nuosu")
- ("sd" "Sindhi")
- ("si" "Sinhala" "Sinhalese")
- ("sk" "Slovak")
- ("sl" "Slovenian")
- ("so" "Somali")
- ("st" "Sotho, Southern")
- ("nr" "Ndebele, South" "South Ndebele")
- ("es" "Spanish" "Castilian")
- ("su" "Sundanese")
- ("sw" "Swahili")
- ("ss" "Swati")
- ("sv" "Swedish")
- ("tl" "Tagalog")
- ("ty" "Tahitian")
- ("tg" "Tajik")
- ("ta" "Tamil")
- ("tt" "Tatar")
- ("te" "Telugu")
- ("th" "Thai")
- ("bo" "Tibetan")
- ("ti" "Tigrinya")
- ("to" "Tonga (Tonga Islands)")
- ("ts" "Tsonga")
- ("tn" "Tswana")
- ("tr" "Turkish")
- ("tk" "Turkmen")
- ("tw" "Twi")
- ("uk" "Ukrainian")
- ("ur" "Urdu")
- ("ug" "Uighur" "Uyghur")
- ("uz" "Uzbek")
- ("ca" "Catalan" "Valencian")
- ("ve" "Venda")
- ("vi" "Vietnamese")
- ("vo" "Volapük")
- ("wa" "Walloon")
- ("cy" "Welsh")
- ("fy" "Western Frisian")
- ("wo" "Wolof")
- ("xh" "Xhosa")
- ("yi" "Yiddish")
- ("yo" "Yoruba")
- ("za" "Zhuang" "Chuang")
- ("zu" "Zulu")))
+ '(("Abkhazian" . "ab")
+ ("Afar" . "aa")
+ ("Afrikaans" . "af")
+ ("Akan" . "ak")
+ ("Albanian" . "sq")
+ ("Amharic" . "am")
+ ("Arabic" . "ar")
+ ("Aragonese" . "an")
+ ("Armenian" . "hy")
+ ("Assamese" . "as")
+ ("Avaric" . "av")
+ ("Avestan" . "ae")
+ ("Aymara" . "ay")
+ ("Azerbaijani" . "az")
+ ("Bambara" . "bm")
+ ("Bashkir" . "ba")
+ ("Basque" . "eu")
+ ("Belarusian" . "be")
+ ("Bengali" . "bn")
+ ("Bihari languages" . "bh")
+ ("Bislama" . "bi")
+ ("Bosnian" . "bs")
+ ("Breton" . "br")
+ ("Bulgarian" . "bg")
+ ("Burmese" . "my")
+ ("Central Khmer" . "km")
+ ("Chamorro" . "ch")
+ ("Chechen" . "ce")
+ ("Chinese" . "zh")
+ ("Chuvash" . "cv")
+ ("Cornish" . "kw")
+ ("Corsican" . "co")
+ ("Cree" . "cr")
+ ("Croatian" . "hr")
+ ("Czech" . "cs")
+ ("Danish" . "da")
+ ("Dzongkha" . "dz")
+ ("English" . "en")
+ ("Esperanto" . "eo")
+ ("Estonian" . "et")
+ ("Ewe" . "ee")
+ ("Faroese" . "fo")
+ ("Fijian" . "fj")
+ ("Finnish" . "fi")
+ ("Dutch" . "nl")
+ ("French" . "fr")
+ ("Fulah" . "ff")
+ ("Galician" . "gl")
+ ("Ganda" . "lg")
+ ("Georgian" . "ka")
+ ("German" . "de")
+ ("Greek" . "el")
+ ("Guarani" . "gn")
+ ("Gujarati" . "gu")
+ ("Haitian" . "ht")
+ ("Hausa" . "ha")
+ ("Hebrew" . "he")
+ ("Herero" . "hz")
+ ("Hindi" . "hi")
+ ("Hiri Motu" . "ho")
+ ("Hungarian" . "hu")
+ ("Icelandic" . "is")
+ ("Ido" . "io")
+ ("Igbo" . "ig")
+ ("Indonesian" . "id")
+ ("Interlingua" . "ia")
+ ("Inuktitut" . "iu")
+ ("Inupiaq" . "ik")
+ ("Irish" . "ga")
+ ("Italian" . "it")
+ ("Japanese" . "ja")
+ ("Japanese" . "jp")
+ ("Javanese" . "jv")
+ ("Kalaallisut" . "kl")
+ ("Kannada" . "kn")
+ ("Kanuri" . "kr")
+ ("Kashmiri" . "ks")
+ ("Kazakh" . "kk")
+ ("Kikuyu" . "ki")
+ ("Kinyarwanda" . "rw")
+ ("Komi" . "kv")
+ ("Kongo" . "kg")
+ ("Korean" . "ko")
+ ("Kurdish" . "ku")
+ ("Kuanyama" . "kj")
+ ("Kirghiz" . "ky")
+ ("Lao" . "lo")
+ ("Latin" . "la")
+ ("Latvian" . "lv")
+ ("Limburgan" . "li")
+ ("Lingala" . "ln")
+ ("Lithuanian" . "lt")
+ ("Luba-Katanga" . "lu")
+ ("Luxembourgish" . "lb")
+ ("Macedonian" . "mk")
+ ("Malagasy" . "mg")
+ ("Malay" . "ms")
+ ("Malayalam" . "ml")
+ ("Divehi" . "dv")
+ ("Maltese" . "mt")
+ ("Manx" . "gv")
+ ("Maori" . "mi")
+ ("Marathi" . "mr")
+ ("Marshallese" . "mh")
+ ("Mongolian" . "mn")
+ ("Nauru" . "na")
+ ("Navajo" . "nv")
+ ("Ndonga" . "ng")
+ ("Nepali" . "ne")
+ ("Ndebele, North" . "nd")
+ ("Northern Sami" . "se")
+ ("Norwegian" . "no")
+ ("Bokmål, Norwegian" . "nb")
+ ("Chichewa" . "ny")
+ ("Norwegian Nynorsk" . "nn")
+ ("Interlingue" . "ie")
+ ("Occitan" . "oc")
+ ("Ojibwa" . "oj")
+ ("Church Slavic" . "cu")
+ ("Oriya" . "or")
+ ("Oromo" . "om")
+ ("Ossetian" . "os")
+ ("Pali" . "pi")
+ ("Persian" . "fa")
+ ("Polish" . "pl")
+ ("Portuguese" . "pt")
+ ("Panjabi" . "pa")
+ ("Pushto" . "ps")
+ ("Quechua" . "qu")
+ ("Romanian" . "ro")
+ ("Romansh" . "rm")
+ ("Rundi" . "rn")
+ ("Russian" . "ru")
+ ("Samoan" . "sm")
+ ("Sango" . "sg")
+ ("Sanskrit" . "sa")
+ ("Sardinian" . "sc")
+ ("Gaelic" . "gd")
+ ("Serbian" . "sr")
+ ("Shona" . "sn")
+ ("Sichuan Yi" . "ii")
+ ("Sindhi" . "sd")
+ ("Sinhala" . "si")
+ ("Slovak" . "sk")
+ ("Slovenian" . "sl")
+ ("Somali" . "so")
+ ("Sotho, Southern" . "st")
+ ("Ndebele, South" . "nr")
+ ("Spanish" . "es")
+ ("Sundanese" . "su")
+ ("Swahili" . "sw")
+ ("Swati" . "ss")
+ ("Swedish" . "sv")
+ ("Tagalog" . "tl")
+ ("Tahitian" . "ty")
+ ("Tajik" . "tg")
+ ("Tamil" . "ta")
+ ("Tatar" . "tt")
+ ("Telugu" . "te")
+ ("Thai" . "th")
+ ("Tibetan" . "bo")
+ ("Tigrinya" . "ti")
+ ("Tonga (Tonga Islands)" . "to")
+ ("Tsonga" . "ts")
+ ("Tswana" . "tn")
+ ("Turkish" . "tr")
+ ("Turkmen" . "tk")
+ ("Twi" . "tw")
+ ("Ukrainian" . "uk")
+ ("Urdu" . "ur")
+ ("Uighur" . "ug")
+ ("Uzbek" . "uz")
+ ("Catalan" . "ca")
+ ("Venda" . "ve")
+ ("Vietnamese" . "vi")
+ ("Volapük" . "vo")
+ ("Walloon" . "wa")
+ ("Welsh" . "cy")
+ ("Western Frisian" . "fy")
+ ("Wolof" . "wo")
+ ("Xhosa" . "xh")
+ ("Yiddish" . "yi")
+ ("Yoruba" . "yo")
+ ("Zhuang" . "za")
+ ("Zulu" . "zu")))
;; web UI doesn't respect these for now
(defvar mastodon-iso-639-regional