Merge branch 'AddLang' into develop

This commit is contained in:
misyaguziya
2024-06-05 18:56:34 +09:00

View File

@@ -5,6 +5,18 @@ transcription_lang = {
"Whisper": "af", "Whisper": "af",
}, },
}, },
"Albanian":{
"Albania":{
"Google": "sq-AL",
"Whisper": "sq",
},
},
"Amharic":{
"Ethiopia":{
"Google": "am-ET",
"Whisper": "am",
},
},
"Arabic":{ "Arabic":{
"Algeria":{ "Algeria":{
"Google": "ar-DZ", "Google": "ar-DZ",
@@ -38,6 +50,10 @@ transcription_lang = {
"Google": "ar-LB", "Google": "ar-LB",
"Whisper": "ar", "Whisper": "ar",
}, },
"Mauritania":{
"Google": "ar-MR",
"Whisper": "ar",
},
"Morocco":{ "Morocco":{
"Google": "ar-MA", "Google": "ar-MA",
"Whisper": "ar", "Whisper": "ar",
@@ -46,10 +62,6 @@ transcription_lang = {
"Google": "ar-OM", "Google": "ar-OM",
"Whisper": "ar", "Whisper": "ar",
}, },
"State of Palestine":{
"Google": "ar-PS",
"Whisper": "ar",
},
"Qatar":{ "Qatar":{
"Google": "ar-QA", "Google": "ar-QA",
"Whisper": "ar", "Whisper": "ar",
@@ -58,6 +70,14 @@ transcription_lang = {
"Google": "ar-SA", "Google": "ar-SA",
"Whisper": "ar", "Whisper": "ar",
}, },
"Palestine":{
"Google": "ar-PS",
"Whisper": "ar",
},
"Syria":{
"Google": "ar-SY",
"Whisper": "ar",
},
"Tunisia":{ "Tunisia":{
"Google": "ar-TN", "Google": "ar-TN",
"Whisper": "ar", "Whisper": "ar",
@@ -66,6 +86,22 @@ transcription_lang = {
"Google": "ar-AE", "Google": "ar-AE",
"Whisper": "ar", "Whisper": "ar",
}, },
"Yemen":{
"Google": "ar-YE",
"Whisper": "ar",
},
},
"Armenian": {
"Armenia": {
"Google": "hy-AM",
"Whisper": "hy",
},
},
"Azerbaijani": {
"Azerbaijan": {
"Google": "az-AZ",
"Whisper": "az",
},
}, },
"Basque":{ "Basque":{
"Spain":{ "Spain":{
@@ -73,12 +109,34 @@ transcription_lang = {
"Whisper": "eu", "Whisper": "eu",
}, },
}, },
"Bengali":{
"Bangladesh":{
"Google": "bn-BD",
"Whisper": "bn",
},
"India":{
"Google": "bn-IN",
"Whisper": "bn",
},
},
"Bosnian":{
"Bosnia and Herzegovina":{
"Google": "bs-BA",
"Whisper": "bs",
}
},
"Bulgarian":{ "Bulgarian":{
"Bulgaria":{ "Bulgaria":{
"Google": "bg-BG", "Google": "bg-BG",
"Whisper": "bg", "Whisper": "bg",
}, },
}, },
"Burmese":{
"Myanmar":{
"Google": "my-MM",
"Whisper": "my",
},
},
"Catalan":{ "Catalan":{
"Spain":{ "Spain":{
"Google": "ca-ES", "Google": "ca-ES",
@@ -124,20 +182,16 @@ transcription_lang = {
}, },
}, },
"Dutch":{ "Dutch":{
"Belgium":{
"Google": "nl-BE",
"Whisper": "nl",
},
"Netherlands":{ "Netherlands":{
"Google": "nl-NL", "Google": "nl-NL",
"Whisper": "nl", "Whisper": "nl",
}, },
}, },
"English": { "English": {
"United States":{
"Google": "en-US",
"Whisper": "en",
},
"United Kingdom":{
"Google": "en-GB",
"Whisper": "en",
},
"Australia":{ "Australia":{
"Google": "en-AU", "Google": "en-AU",
"Whisper": "en", "Whisper": "en",
@@ -146,6 +200,14 @@ transcription_lang = {
"Google": "en-CA", "Google": "en-CA",
"Whisper": "en", "Whisper": "en",
}, },
"Ghana":{
"Google": "en-GH",
"Whisper": "en",
},
"Hong Kong":{
"Google": "en-HK",
"Whisper": "en",
},
"India":{ "India":{
"Google": "en-IN", "Google": "en-IN",
"Whisper": "en", "Whisper": "en",
@@ -154,18 +216,42 @@ transcription_lang = {
"Google": "en-IE", "Google": "en-IE",
"Whisper": "en", "Whisper": "en",
}, },
"Kenya":{
"Google": "en-KE",
"Whisper": "en",
},
"New Zealand":{ "New Zealand":{
"Google": "en-NZ", "Google": "en-NZ",
"Whisper": "en", "Whisper": "en",
}, },
"Nigeria":{
"Google": "en-NG",
"Whisper": "en",
},
"Philippines":{ "Philippines":{
"Google": "en-PH", "Google": "en-PH",
"Whisper": "en", "Whisper": "en",
}, },
"Singapore":{
"Google": "en-SG",
"Whisper": "en",
},
"South Africa":{ "South Africa":{
"Google": "en-ZA", "Google": "en-ZA",
"Whisper": "en", "Whisper": "en",
}, },
"Tanzania":{
"Google": "en-TZ",
"Whisper": "en",
},
"United Kingdom":{
"Google": "en-GB",
"Whisper": "en",
},
"United States":{
"Google": "en-US",
"Whisper": "en",
},
}, },
"Estonian":{ "Estonian":{
"Estonia":{ "Estonia":{
@@ -186,10 +272,22 @@ transcription_lang = {
}, },
}, },
"French":{ "French":{
"Belgium":{
"Google": "fr-BE",
"Whisper": "fr",
},
"Canada":{
"Google": "fr-CA",
"Whisper": "fr",
},
"France":{ "France":{
"Google": "fr-FR", "Google": "fr-FR",
"Whisper": "fr", "Whisper": "fr",
}, },
"Switzerland":{
"Google": "fr-CH",
"Whisper": "fr",
},
}, },
"Galician":{ "Galician":{
"Spain":{ "Spain":{
@@ -197,11 +295,25 @@ transcription_lang = {
"Whisper": "gl", "Whisper": "gl",
}, },
}, },
"Georgian":{
"Georgia":{
"Google": "ka-GE",
"Whisper": "ka",
},
},
"German":{ "German":{
"Austria":{
"Google": "de-AT",
"Whisper": "de",
},
"Germany":{ "Germany":{
"Google": "de-DE", "Google": "de-DE",
"Whisper": "de", "Whisper": "de",
}, },
"Switzerland":{
"Google": "de-CH",
"Whisper": "de",
},
}, },
"Greek":{ "Greek":{
"Greece":{ "Greece":{
@@ -209,9 +321,15 @@ transcription_lang = {
"Whisper": "el", "Whisper": "el",
}, },
}, },
"Gujarati":{
"India":{
"Google": "gu-IN",
"Whisper": "gu",
},
},
"Hebrew":{ "Hebrew":{
"Israel":{ "Israel":{
"Google": "he-IL", "Google": "iw-IL",
"Whisper": "he", "Whisper": "he",
}, },
}, },
@@ -227,18 +345,18 @@ transcription_lang = {
"Whisper": "hu", "Whisper": "hu",
}, },
}, },
"Indonesian":{
"Indonesia":{
"Google": "id-ID",
"Whisper": "id",
},
},
"Icelandic":{ "Icelandic":{
"Iceland":{ "Iceland":{
"Google": "is-IS", "Google": "is-IS",
"Whisper": "is", "Whisper": "is",
}, },
}, },
"Indonesian":{
"Indonesia":{
"Google": "id-ID",
"Whisper": "id",
},
},
"Italian":{ "Italian":{
"Italy":{ "Italy":{
"Google": "it-IT", "Google": "it-IT",
@@ -255,27 +373,91 @@ transcription_lang = {
"Whisper": "ja", "Whisper": "ja",
}, },
}, },
# "Javanese":{
# "Indonesia":{
# "Google": "jv-ID",
# },
# },
"Kannada":{
"India":{
"Google": "kn-IN",
"Whisper": "kn",
},
},
"Kazakh":{
"Kazakhstan":{
"Google": "kk-KZ",
"Whisper": "kk",
},
},
"Khmer":{
"Cambodia":{
"Google": "km-KH",
"Whisper": "km",
},
},
# "Kinyarwanda":{
# "rwanda":{
# "Google": "rw-RW",
# },
# },
"Korean":{ "Korean":{
"South Korea":{ "South Korea":{
"Google": "ko-KR", "Google": "ko-KR",
"Whisper": "ko", "Whisper": "ko",
}, },
}, },
"Lao":{
"Laos":{
"Google": "lo-LA",
"Whisper": "lo",
},
},
"Latvian":{
"Latvia":{
"Google": "lv-LV",
"Whisper": "lv",
},
},
"Lithuanian":{ "Lithuanian":{
"Lithuania":{ "Lithuania":{
"Google": "lt-LT", "Google": "lt-LT",
"Whisper": "lt", "Whisper": "lt",
}, },
}, },
"Macedonian":{
"North Macedonia":{
"Google": "mk-MK",
"Whisper": "mk",
},
},
"Malay":{ "Malay":{
"Malaysia":{ "Malaysia":{
"Google": "ms-MY", "Google": "ms-MY",
"Whisper": "ms", "Whisper": "ms",
}, },
}, },
"Malayalam":{
"India":{
"Google": "ml-IN",
"Whisper": "ml",
},
},
"Mongolian":{
"Mongolia":{
"Google": "mn-MN",
"Whisper": "mn",
},
},
"Nepali":{
"Nepal":{
"Google": "ne-NP",
"Whisper": "ne",
},
},
"Norwegian":{ "Norwegian":{
"Norway":{ "Norway":{
"Google": "nb-NO", "Google": "no-NO",
"Whisper": "no", "Whisper": "no",
}, },
}, },
@@ -301,6 +483,11 @@ transcription_lang = {
"Whisper": "pt", "Whisper": "pt",
}, },
}, },
# "Punjabi":{
# "India":{
# "Google": "pa-Guru-IN",
# },
# },
"Romanian":{ "Romanian":{
"Romania":{ "Romania":{
"Google": "ro-RO", "Google": "ro-RO",
@@ -319,6 +506,12 @@ transcription_lang = {
"Whisper": "sr", "Whisper": "sr",
}, },
}, },
"Sinhala":{
"Sri Lanka":{
"Google": "si-LK",
"Whisper": "si",
},
},
"Slovak":{ "Slovak":{
"Slovakia":{ "Slovakia":{
"Google": "sk-SK", "Google": "sk-SK",
@@ -331,6 +524,11 @@ transcription_lang = {
"Whisper": "sl", "Whisper": "sl",
}, },
}, },
# "Sesotho":{
# "South Africa":{
# "Google": "st-ZA",
# },
# },
"Spanish":{ "Spanish":{
"Argentina":{ "Argentina":{
"Google": "es-AR", "Google": "es-AR",
@@ -400,31 +598,86 @@ transcription_lang = {
"Google": "es-ES", "Google": "es-ES",
"Whisper": "es", "Whisper": "es",
}, },
"Uruguay":{
"Google": "es-UY",
"Whisper": "es",
},
"United States":{ "United States":{
"Google": "es-US", "Google": "es-US",
"Whisper": "es", "Whisper": "es",
}, },
"Uruguay":{
"Google": "es-UY",
"Whisper": "es",
},
"Venezuela":{ "Venezuela":{
"Google": "es-VE", "Google": "es-VE",
"Whisper": "es", "Whisper": "es",
}, },
}, },
"Sundanese":{
"Indonesia":{
"Google": "su-ID",
"Whisper": "su",
},
},
"Swahili":{
"Kenya":{
"Google": "sw-KE",
"Whisper": "sw",
},
"Tanzania":{
"Google": "sw-TZ",
"Whisper": "sw",
},
},
# "Swazi":{
# "Eswatini":{
# "Google": "ss-Latn-ZA",
# },
# },
"Swedish":{ "Swedish":{
"Sweden":{ "Sweden":{
"Google": "sv-SE", "Google": "sv-SE",
"Whisper": "sv", "Whisper": "sv",
}, },
}, },
"Tamil":{
"India":{
"Google": "ta-IN",
"Whisper": "ta",
},
"malaysia":{
"Google": "ta-MY",
"Whisper": "ta",
},
"Singapore":{
"Google": "ta-SG",
"Whisper": "ta",
},
"Sri Lanka":{
"Google": "ta-LK",
"Whisper": "ta",
},
},
"Telugu":{
"India":{
"Google": "te-IN",
"Whisper": "te",
},
},
"Thai":{ "Thai":{
"Thailand":{ "Thailand":{
"Google": "th-TH", "Google": "th-TH",
"Whisper": "th", "Whisper": "th",
}, },
}, },
# "Tsonga":{
# "South Africa":{
# "Google": "ts-ZA",
# },
# },
# "Setswana":{
# "South Africa":{
# "Google": "tn-Latn-ZA",
# },
# },
"Turkish":{ "Turkish":{
"Turkey":{ "Turkey":{
"Google": "tr-TR", "Google": "tr-TR",
@@ -437,10 +690,41 @@ transcription_lang = {
"Whisper": "uk", "Whisper": "uk",
}, },
}, },
"Urdu":{
"India":{
"Google": "ur-IN",
"Whisper": "ur",
},
"Pakistan":{
"Google": "ur-PK",
"Whisper": "ur",
},
},
"Uzbek":{
"Uzbekistan":{
"Google": "uz-UZ",
"Whisper": "uz",
},
},
# "Venda":{
# "South Africa":{
# "Google": "ve-ZA",
# },
# },
"Vietnamese":{ "Vietnamese":{
"Vietnam":{ "Vietnam":{
"Google": "vi-VN", "Google": "vi-VN",
"Whisper": "vi", "Whisper": "vi",
}, },
}, },
# "Xhosa":{
# "South Africa":{
# "Google": "xh-ZA",
# },
# },
# "Zulu":{
# "South Africa":{
# "Google": "zu-ZA",
# },
# },
} }