2023-07-22 14:20:21 +00:00
|
|
|
package utils
|
|
|
|
|
|
|
|
func LangListGoogle(listType string) []List {
|
|
|
|
// IDs got from original simplytranslate-web and trial and error. Usually first three letters of language.
|
2023-08-27 14:24:30 +00:00
|
|
|
ListData := []List{
|
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "af",
|
|
|
|
Name: "Afrikaans",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "sq",
|
|
|
|
Name: "Albanian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "am",
|
|
|
|
Name: "Amharic",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ar",
|
|
|
|
Name: "Arabic",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "hy",
|
|
|
|
Name: "Armenian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "as",
|
|
|
|
Name: "Assamese",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ay",
|
|
|
|
Name: "Aymara",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "az",
|
|
|
|
Name: "Azerbaijani",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "bm",
|
|
|
|
Name: "Bambara",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "eu",
|
|
|
|
Name: "Basque",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "be",
|
|
|
|
Name: "Belarusian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "bn",
|
|
|
|
Name: "Bengali",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "bho",
|
|
|
|
Name: "Bhojpuri",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "bs",
|
|
|
|
Name: "Bosnian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "bg",
|
|
|
|
Name: "Bulgarian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ca",
|
|
|
|
Name: "Catalan",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ceb",
|
|
|
|
Name: "Cebuano",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ny",
|
|
|
|
Name: "Chichewa",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "zh",
|
|
|
|
Name: "Chinese (Simplified)",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "zh-TW",
|
|
|
|
Name: "Chinese (Traditional)",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "co",
|
|
|
|
Name: "Corsican",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "hr",
|
|
|
|
Name: "Croatian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "cs",
|
|
|
|
Name: "Czech",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "da",
|
|
|
|
Name: "Danish",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "dv",
|
|
|
|
Name: "Dhivehi",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "doi",
|
|
|
|
Name: "Dogri",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "nl",
|
|
|
|
Name: "Dutch",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "en",
|
|
|
|
Name: "English",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "eo",
|
|
|
|
Name: "Esperanto",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "et",
|
|
|
|
Name: "Estonian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ee",
|
|
|
|
Name: "Ewe",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "tl",
|
|
|
|
Name: "Filipino",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "fi",
|
|
|
|
Name: "Finnish",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "fr",
|
|
|
|
Name: "French",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "fy",
|
|
|
|
Name: "Frisian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "gl",
|
|
|
|
Name: "Galician",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ka",
|
|
|
|
Name: "Georgian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "de",
|
|
|
|
Name: "German",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "el",
|
|
|
|
Name: "Greek",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "gn",
|
|
|
|
Name: "Guarani",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "gu",
|
|
|
|
Name: "Gujarati",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ht",
|
|
|
|
Name: "Haitian Creole",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ha",
|
|
|
|
Name: "Hausa",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "haw",
|
|
|
|
Name: "Hawaiian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "iw",
|
|
|
|
Name: "Hebrew",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "hi",
|
|
|
|
Name: "Hindi",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "hmn",
|
|
|
|
Name: "Hmong",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "hu",
|
|
|
|
Name: "Hungarian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "is",
|
|
|
|
Name: "Icelandic",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ig",
|
|
|
|
Name: "Igbo",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ilo",
|
|
|
|
Name: "Ilocano",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "id",
|
|
|
|
Name: "Indonesian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ga",
|
|
|
|
Name: "Irish",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "it",
|
|
|
|
Name: "Italian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ja",
|
|
|
|
Name: "Japanese",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "jw",
|
|
|
|
Name: "Javanese",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "kn",
|
|
|
|
Name: "Kannada",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "kk",
|
|
|
|
Name: "Kazakh",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "km",
|
|
|
|
Name: "Khmer",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "rw",
|
|
|
|
Name: "Kinyarwanda",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "gom",
|
|
|
|
Name: "Konkani",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ko",
|
|
|
|
Name: "Korean",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "kri",
|
|
|
|
Name: "Krio",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ku",
|
|
|
|
Name: "Kurdish (Kurmanji)",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ckb",
|
|
|
|
Name: "Kurdish (Sorani)",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ky",
|
|
|
|
Name: "Kyrgyz",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "lo",
|
|
|
|
Name: "Lao",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "la",
|
|
|
|
Name: "Latin",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "lv",
|
|
|
|
Name: "Latvian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ln",
|
|
|
|
Name: "Lingala",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "lt",
|
|
|
|
Name: "Lithuanian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "lg",
|
|
|
|
Name: "Luganda",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "lb",
|
|
|
|
Name: "Luxembourgish",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "mk",
|
|
|
|
Name: "Macedonian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "mai",
|
|
|
|
Name: "Maithili",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "mg",
|
|
|
|
Name: "Malagasy",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ms",
|
|
|
|
Name: "Malay",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ml",
|
|
|
|
Name: "Malayalam",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "mt",
|
|
|
|
Name: "Maltese",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "mi",
|
|
|
|
Name: "Maori",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "mr",
|
|
|
|
Name: "Marathi",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "mni-Mtei",
|
|
|
|
Name: "Meiteilon (Manipuri)",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "lus",
|
|
|
|
Name: "Mizo",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "mn",
|
|
|
|
Name: "Mongolian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "my",
|
|
|
|
Name: "Myanmar (Burmese)",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ne",
|
|
|
|
Name: "Nepali",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "no",
|
|
|
|
Name: "Norwegian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "or",
|
|
|
|
Name: "Odia (Oriya)",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "om",
|
|
|
|
Name: "Oromo",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ps",
|
|
|
|
Name: "Pashto",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "fa",
|
|
|
|
Name: "Persian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "pl",
|
|
|
|
Name: "Polish",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "pt",
|
|
|
|
Name: "Portuguese",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "pa",
|
|
|
|
Name: "Punjabi",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "qu",
|
|
|
|
Name: "Quechua",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ro",
|
|
|
|
Name: "Romanian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ru",
|
|
|
|
Name: "Russian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "sm",
|
|
|
|
Name: "Samoan",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "sa",
|
|
|
|
Name: "Sanskrit",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "gd",
|
|
|
|
Name: "Scots Gaelic",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "nso",
|
|
|
|
Name: "Sepedi",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "sr",
|
|
|
|
Name: "Serbian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "st",
|
|
|
|
Name: "Sesotho",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "sn",
|
|
|
|
Name: "Shona",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "sd",
|
|
|
|
Name: "Sindhi",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "si",
|
|
|
|
Name: "Sinhala",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "sk",
|
|
|
|
Name: "Slovak",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "sl",
|
|
|
|
Name: "Slovenian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "so",
|
|
|
|
Name: "Somali",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "es",
|
|
|
|
Name: "Spanish",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "su",
|
|
|
|
Name: "Sundanese",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "sw",
|
|
|
|
Name: "Swahili",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "sv",
|
|
|
|
Name: "Swedish",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "tg",
|
|
|
|
Name: "Tajik",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ta",
|
|
|
|
Name: "Tamil",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "tt",
|
|
|
|
Name: "Tatar",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "te",
|
|
|
|
Name: "Telugu",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "th",
|
|
|
|
Name: "Thai",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ti",
|
|
|
|
Name: "Tigrinya",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ts",
|
|
|
|
Name: "Tsonga",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "tr",
|
|
|
|
Name: "Turkish",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "tk",
|
|
|
|
Name: "Turkmen",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ak",
|
|
|
|
Name: "Twi",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "uk",
|
|
|
|
Name: "Ukrainian",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ur",
|
|
|
|
Name: "Urdu",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "ug",
|
|
|
|
Name: "Uyghur",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "uz",
|
|
|
|
Name: "Uzbek",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "vi",
|
|
|
|
Name: "Vietnamese",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "cy",
|
|
|
|
Name: "Welsh",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "xh",
|
|
|
|
Name: "Xhosa",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "yi",
|
|
|
|
Name: "Yiddish",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "yo",
|
|
|
|
Name: "Yoruba",
|
|
|
|
},
|
2023-08-27 14:24:30 +00:00
|
|
|
{
|
2023-07-22 14:20:21 +00:00
|
|
|
Id: "zu",
|
|
|
|
Name: "Zulu",
|
|
|
|
},
|
|
|
|
}
|
|
|
|
if listType == "sl" {
|
|
|
|
auto := List{
|
|
|
|
Id: "auto",
|
|
|
|
Name: "Detect Language",
|
|
|
|
}
|
|
|
|
ListData = append(ListData, auto)
|
|
|
|
}
|
|
|
|
return ListData
|
|
|
|
}
|