2023-07-23 20:00:20 +05:30
|
|
|
package utils
|
|
|
|
|
2023-08-15 22:09:38 +05:30
|
|
|
func LangListDuckDuckGo(listType string) []List {
|
|
|
|
// DuckDuckGo is just Bing translate but easier to scrape :)
|
2023-07-23 20:00:20 +05:30
|
|
|
// Converted json of https://github.com/plainheart/bing-translate-api/blob/master/src/lang.json to this format
|
2023-08-27 19:54:30 +05:30
|
|
|
ListData := []List{
|
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "af",
|
|
|
|
Name: "Afrikaans",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "sq",
|
|
|
|
Name: "Albanian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "am",
|
|
|
|
Name: "Amharic",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ar",
|
|
|
|
Name: "Arabic",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "hy",
|
|
|
|
Name: "Armenian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "as",
|
|
|
|
Name: "Assamese",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "az",
|
|
|
|
Name: "Azerbaijani",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "bn",
|
|
|
|
Name: "Bangla",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ba",
|
|
|
|
Name: "Bashkir",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "eu",
|
|
|
|
Name: "Basque",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "bs",
|
|
|
|
Name: "Bosnian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "bg",
|
|
|
|
Name: "Bulgarian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "yue",
|
|
|
|
Name: "Cantonese (Traditional)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ca",
|
|
|
|
Name: "Catalan",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "lzh",
|
|
|
|
Name: "Chinese (Literary)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "zh-Hans",
|
|
|
|
Name: "Chinese Simplified",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "zh-Hant",
|
|
|
|
Name: "Chinese Traditional",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "hr",
|
|
|
|
Name: "Croatian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "cs",
|
|
|
|
Name: "Czech",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "da",
|
|
|
|
Name: "Danish",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "prs",
|
|
|
|
Name: "Dari",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "dv",
|
|
|
|
Name: "Divehi",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "nl",
|
|
|
|
Name: "Dutch",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "en",
|
|
|
|
Name: "English",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "et",
|
|
|
|
Name: "Estonian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "fo",
|
|
|
|
Name: "Faroese",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "fj",
|
|
|
|
Name: "Fijian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "fil",
|
|
|
|
Name: "Filipino",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "fi",
|
|
|
|
Name: "Finnish",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "fr",
|
|
|
|
Name: "French",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "fr-CA",
|
|
|
|
Name: "French (Canada)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "gl",
|
|
|
|
Name: "Galician",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "lug",
|
|
|
|
Name: "Ganda",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ka",
|
|
|
|
Name: "Georgian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "de",
|
|
|
|
Name: "German",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "el",
|
|
|
|
Name: "Greek",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "gu",
|
|
|
|
Name: "Gujarati",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ht",
|
|
|
|
Name: "Haitian Creole",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ha",
|
|
|
|
Name: "Hausa",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "he",
|
|
|
|
Name: "Hebrew",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "hi",
|
|
|
|
Name: "Hindi",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "mww",
|
|
|
|
Name: "Hmong Daw",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "hu",
|
|
|
|
Name: "Hungarian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "is",
|
|
|
|
Name: "Icelandic",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ig",
|
|
|
|
Name: "Igbo",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "id",
|
|
|
|
Name: "Indonesian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ikt",
|
|
|
|
Name: "Inuinnaqtun",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "iu",
|
|
|
|
Name: "Inuktitut",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "iu-Latn",
|
|
|
|
Name: "Inuktitut (Latin)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ga",
|
|
|
|
Name: "Irish",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "it",
|
|
|
|
Name: "Italian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ja",
|
|
|
|
Name: "Japanese",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "kn",
|
|
|
|
Name: "Kannada",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "kk",
|
|
|
|
Name: "Kazakh",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "km",
|
|
|
|
Name: "Khmer",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "rw",
|
|
|
|
Name: "Kinyarwanda",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "tlh-Latn",
|
|
|
|
Name: "Klingon (Latin)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "gom",
|
|
|
|
Name: "Konkani",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ko",
|
|
|
|
Name: "Korean",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ku",
|
|
|
|
Name: "Kurdish (Central)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "kmr",
|
|
|
|
Name: "Kurdish (Northern)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ky",
|
|
|
|
Name: "Kyrgyz",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "lo",
|
|
|
|
Name: "Lao",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "lv",
|
|
|
|
Name: "Latvian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ln",
|
|
|
|
Name: "Lingala",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "lt",
|
|
|
|
Name: "Lithuanian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "dsb",
|
|
|
|
Name: "Lower Sorbian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "mk",
|
|
|
|
Name: "Macedonian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "mai",
|
|
|
|
Name: "Maithili",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "mg",
|
|
|
|
Name: "Malagasy",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ms",
|
|
|
|
Name: "Malay",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ml",
|
|
|
|
Name: "Malayalam",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "mt",
|
|
|
|
Name: "Maltese",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "mr",
|
|
|
|
Name: "Marathi",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "mn-Cyrl",
|
|
|
|
Name: "Mongolian (Cyrillic)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "mn-Mong",
|
|
|
|
Name: "Mongolian (Traditional)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "my",
|
|
|
|
Name: "Myanmar (Burmese)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "mi",
|
|
|
|
Name: "Māori",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ne",
|
|
|
|
Name: "Nepali",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "nb",
|
|
|
|
Name: "Norwegian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "nya",
|
|
|
|
Name: "Nyanja",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "or",
|
|
|
|
Name: "Odia",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ps",
|
|
|
|
Name: "Pashto",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "fa",
|
|
|
|
Name: "Persian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "pl",
|
|
|
|
Name: "Polish",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "pt",
|
|
|
|
Name: "Portuguese (Brazil)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "pt-PT",
|
|
|
|
Name: "Portuguese (Portugal)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "pa",
|
|
|
|
Name: "Punjabi",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "otq",
|
|
|
|
Name: "Querétaro Otomi",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ro",
|
|
|
|
Name: "Romanian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "run",
|
|
|
|
Name: "Rundi",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ru",
|
|
|
|
Name: "Russian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "sm",
|
|
|
|
Name: "Samoan",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "sr-Cyrl",
|
|
|
|
Name: "Serbian (Cyrillic)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "sr-Latn",
|
|
|
|
Name: "Serbian (Latin)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "st",
|
|
|
|
Name: "Sesotho",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "nso",
|
|
|
|
Name: "Sesotho sa Leboa",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "tn",
|
|
|
|
Name: "Setswana",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "sn",
|
|
|
|
Name: "Shona",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "sd",
|
|
|
|
Name: "Sindhi",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "si",
|
|
|
|
Name: "Sinhala",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "sk",
|
|
|
|
Name: "Slovak",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "sl",
|
|
|
|
Name: "Slovenian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "so",
|
|
|
|
Name: "Somali",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "es",
|
|
|
|
Name: "Spanish",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "sw",
|
|
|
|
Name: "Swahili",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "sv",
|
|
|
|
Name: "Swedish",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ty",
|
|
|
|
Name: "Tahitian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ta",
|
|
|
|
Name: "Tamil",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "tt",
|
|
|
|
Name: "Tatar",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "te",
|
|
|
|
Name: "Telugu",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "th",
|
|
|
|
Name: "Thai",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "bo",
|
|
|
|
Name: "Tibetan",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ti",
|
|
|
|
Name: "Tigrinya",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "to",
|
|
|
|
Name: "Tongan",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "tr",
|
|
|
|
Name: "Turkish",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "tk",
|
|
|
|
Name: "Turkmen",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "uk",
|
|
|
|
Name: "Ukrainian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "hsb",
|
|
|
|
Name: "Upper Sorbian",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ur",
|
|
|
|
Name: "Urdu",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "ug",
|
|
|
|
Name: "Uyghur",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "uz",
|
|
|
|
Name: "Uzbek (Latin)",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "vi",
|
|
|
|
Name: "Vietnamese",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "cy",
|
|
|
|
Name: "Welsh",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "xh",
|
|
|
|
Name: "Xhosa",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "yo",
|
|
|
|
Name: "Yoruba",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "yua",
|
|
|
|
Name: "Yucatec Maya",
|
|
|
|
},
|
2023-08-27 19:54:30 +05:30
|
|
|
{
|
2023-07-23 20:00:20 +05:30
|
|
|
Id: "zu",
|
|
|
|
Name: "Zulu",
|
|
|
|
},
|
|
|
|
}
|
2023-08-27 22:28:34 +05:30
|
|
|
var ListD []List
|
2023-08-16 13:15:21 +05:30
|
|
|
if listType == "sl" {
|
2023-08-27 22:28:34 +05:30
|
|
|
auto := []List{{
|
2023-08-16 13:15:21 +05:30
|
|
|
Id: "auto",
|
|
|
|
Name: "Detect Language",
|
2023-08-27 22:28:34 +05:30
|
|
|
}}
|
|
|
|
ListD = append(append([]List{}, auto...), ListData...)
|
2023-08-28 20:41:57 +05:30
|
|
|
} else {
|
|
|
|
ListD = ListData
|
2023-08-16 13:15:21 +05:30
|
|
|
}
|
2023-08-27 22:28:34 +05:30
|
|
|
return ListD
|
2023-07-23 20:00:20 +05:30
|
|
|
}
|