Skip to content

Commit

Permalink
Update constants.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanAkkerman authored Nov 1, 2024
1 parent 85ca7dc commit 78e0c23
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions googletrans/constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DEFAULT_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)'

DEFAULT_CLIENT_SERVICE_URLS = (
'translate.google.com',
'translate.googleapis.com',
)

DEFAULT_SERVICE_URLS = ('translate.google.ac', 'translate.google.ad', 'translate.google.ae',
Expand Down Expand Up @@ -117,16 +117,16 @@
"cha": "chamorro",
"che": "chechen",
"zh": "chinese",
"zh-CN": "chinese (simplified)",
"zh-TW": "chinese (traditional)",
"zh-cn": "chinese (simplified)",
"zh-tw": "chinese (traditional)",
"chk": "chuukese",
"chv": "chuvash",
"co": "corsican",
"crh": "crimean tatar",
"hr": "croatian",
"cs": "czech",
"da": "danish",
"fa-AF": "dari",
"fa-af": "dari",
"dv": "dhivehi",
"din": "dinka",
"doi": "dogri",
Expand Down Expand Up @@ -213,7 +213,7 @@
"mak": "makassar",
"mg": "malagasy",
"ms": "malay",
"ms-Arab": "malay (jawi)",
"ms-arab": "malay (jawi)",
"ml": "malayalam",
"mt": "maltese",
"mam": "mam",
Expand All @@ -224,17 +224,17 @@
"mwr": "marwadi",
"mfe": "mauritian creole",
"mhr": "meadow mari",
"mni-Mtei": "meiteilon (manipuri)",
"mni-mtei": "meiteilon (manipuri)",
"min": "minang",
"lus": "mizo",
"mn": "mongolian",
"my": "myanmar (burmese)",
"nhe": "nahuatl (eastern huasteca)",
"ndc-ZW": "ndau",
"ndc-zw": "ndau",
"nde": "ndebele (south)",
"new": "nepalbhasa (newari)",
"ne": "nepali",
#'bm-Nkoo': 'nko',
#'bm-nkoo': 'nko',
"no": "norwegian",
"nus": "nuer",
"ny": "nyanja (chichewa)",
Expand All @@ -250,7 +250,7 @@
"por": "portuguese (portugal)",
"pt": "portuguese (portugal, brazil)",
"pa": "punjabi",
"pa-Arab": "punjabi (shahmukhi)",
"pa-arab": "punjabi (shahmukhi)",
"kek": "q'eqchi'",
"qu": "quechua",
"rom": "romani",
Expand Down Expand Up @@ -285,7 +285,7 @@
"tl": "tagalog (filipino)",
"tah": "tahitian",
"tg": "tajik",
"ber-Latn": "tamazight",
"ber-atn": "tamazight",
"ber": "tamazight (tifinagh)",
"ta": "tamil",
"tt": "tatar",
Expand Down

0 comments on commit 78e0c23

Please # to comment.