# pygtrans
谷歌翻译, 支持 **APIKEY**
[![](https://img.shields.io/github/v/release/foyoux/pygtrans)](https://github.com/foyoux/pygtrans/releases) ![](https://img.shields.io/github/last-commit/foyoux/pygtrans) [![Downloads](https://static.pepy.tech/personalized-badge/pygtrans?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads)](https://pepy.tech/project/pygtrans)
## 安装
[![](https://img.shields.io/pypi/pyversions/pygtrans)](https://pypi.org/project/pygtrans/)
```shell
# 推荐
pip install -U pygtrans
```
```shell
# 可选
pip install git+ssh://git@github.com/foyoux/pygtrans.git
pip install git+https://github.com/foyoux/pygtrans.git
```
## 快速入门
```python
from pygtrans import Translate
client = Translate(proxies={'https': 'http://localhost:10809'})
# 检测语言
text = client.detect('Answer the question.')
assert text.language == 'en'
# 翻译句子
text = client.translate('Look at these pictures and answer the questions.')
assert text.translatedText == '看这些图片,回答问题。'
# 批量翻译
texts = client.translate([
'Good morning. What can I do for you?',
'Read aloud and underline the sentences about booking a flight.',
'May I have your name and telephone number?'
])
assert [text.translatedText for text in texts] == [
'早上好。我能为你做什么?',
'大声朗读并在有关预订航班的句子下划线。',
'可以给我你的名字和电话号码吗?'
]
# 翻译到日语
text = client.translate('请多多指教', target='ja')
assert text.translatedText == 'お知らせ下さい'
# 翻译到韩语
text = client.translate('请多多指教', target='ko')
assert text.translatedText == '조언 부탁드립니다'
# 文本到语音
tts = client.tts('やめて', target='ja')
open('やめて.mp3', 'wb').write(tts)
```
## 支持的语言
<details><summary>支持的源语言,共 242 种</summary>
<p>
```json
{
"auto": "检测语言",
"ab": "阿布哈兹语",
"sq": "阿尔巴尼亚语",
"aa": "阿法尔语",
"ar": "阿拉伯语",
"alz": "阿卢尔语",
"am": "阿姆哈拉语",
"ach": "阿乔利语",
"as": "阿萨姆语",
"az": "阿塞拜疆语",
"awa": "阿瓦德语",
"av": "阿瓦尔语",
"ee": "埃维语",
"ay": "艾马拉语",
"ga": "爱尔兰语",
"et": "爱沙尼亚语",
"oc": "奥克语",
"or": "奥利亚语",
"om": "奥罗莫语",
"os": "奥塞梯语",
"tpi": "巴布亚皮钦语",
"bew": "巴达维语",
"ban": "巴厘语",
"ba": "巴什基尔语",
"eu": "巴斯克语",
"btx": "巴塔克卡罗语",
"bbc": "巴塔克托巴语",
"bts": "巴塔克西马隆贡语",
"bci": "巴乌雷语",
"be": "白俄罗斯语",
"bm": "班巴拉语",
"pag": "邦阿西楠语",
"pam": "邦板牙语",
"bg": "保加利亚语",
"nso": "北索托语",
"bem": "奔巴语",
"bik": "比科尔语",
"bal": "俾路支语",
"is": "冰岛语",
"pl": "波兰语",
"bs": "波斯尼亚语",
"fa": "波斯语",
"bho": "博杰普尔语",
"bua": "布里亚特语",
"br": "布列塔尼语",
"bo": "藏语",
"chm": "草原马里语",
"ch": "查莫罗语",
"ce": "车臣语",
"chk": "楚克语",
"cv": "楚瓦什语",
"tn": "茨瓦纳语",
"ts": "聪加语",
"fa-AF": "达里语",
"tt": "鞑靼语",
"da": "丹麦语",
"shn": "掸语",
"tet": "德顿语",
"de": "德语",
"dv": "迪维希语",
"dyu": "迪尤拉语",
"tiv": "蒂夫语",
"din": "丁卡语",
"doi": "多格拉语",
"ru": "俄语",
"ndc-ZW": "恩道语",
"nr": "恩德贝莱语(南部)",
"dov": "恩敦贝语",
"bm-Nkoo": "恩科字母(西非书面文字)",
"fo": "法罗语",
"fr": "法语",
"sa": "梵语",
"tl": "菲律宾语",
"fj": "斐济语",
"fi": "芬兰语",
"fon": "丰语",
"fy": "弗里西语",
"fur": "弗留利语",
"ff": "富拉尼语",
"kg": "刚果语",
"km": "高棉语",
"kl": "格陵兰语",
"ka": "格鲁吉亚语",
"gom": "贡根语",
"gu": "古吉拉特语",
"gn": "瓜拉尼语",
"cnh": "哈卡钦语",
"kk": "哈萨克语",
"ht": "海地克里奥尔语",
"ko": "韩语",
"ha": "豪萨语",
"nl": "荷兰语",
"hrx": "洪斯吕克语",
"ky": "吉尔吉斯语",
"ktu": "吉土巴语",
"gl": "加利西亚语",
"ca": "加泰罗尼亚语",
"gaa": "加语",
"cs": "捷克语",
"kac": "景颇语",
"kn": "卡纳达语",
"kr": "卡努里语",
"kha": "卡西语",
"kek": "凯克其语",
"kv": "科米语",
"xh": "科萨语",
"co": "科西嘉语",
"crh": "克里米亚鞑靼语",
"hr": "克罗地亚语",
"qu": "克丘亚语",
"ku": "库尔德语(库尔曼吉语)",
"ckb": "库尔德语(索拉尼)",
"trp": "廓克博若克语",
"la": "拉丁语",
"ltg": "拉特加莱语",
"lv": "拉脱维亚语",
"lo": "老挝语",
"lt": "立陶宛语",
"lij": "利古里亚语",
"li": "林堡语",
"ln": "林加拉语",
"rn": "隆迪语",
"luo": "卢奥语",
"lg": "卢干达语",
"lb": "卢森堡语",
"rw": "卢旺达语",
"lmo": "伦巴第语",
"ro": "罗马尼亚语",
"rom": "罗姆语",
"mad": "马都拉语",
"gv": "马恩岛语",
"mg": "马尔加什语",
"mwr": "马尔瓦迪语",
"mt": "马耳他语",
"mr": "马拉地语",
"ml": "马拉雅拉姆语",
"ms": "马来语",
"ms-Arab": "马来语(爪夷文)",
"mk": "马其顿语",
"mh": "马绍尔语",
"mam": "玛姆语",
"mai": "迈蒂利语",
"mfe": "毛里裘斯克里奥耳语",
"mi": "毛利语",
"mni-Mtei": "梅泰语(曼尼普尔语)",
"mn": "蒙古语",
"bn": "孟加拉语",
"min": "米南语",
"lus": "米佐语",
"my": "缅甸语",
"hmn": "苗语",
"nhe": "纳瓦特尔语(东部瓦斯特卡)",
"af": "南非荷兰语",
"st": "南索托语",
"ne": "尼泊尔语",
"new": "尼泊尔语言(尼瓦尔语)",
"nus": "努尔语",
"no": "挪威语",
"pap": "帕皮阿门托语",
"pa": "旁遮普语(果鲁穆奇文)",
"pa-Arab": "旁遮普语(沙木基文)",
"pt": "葡萄牙语(巴西)",
"pt-PT": "葡萄牙语(葡萄牙)",
"ps": "普什图语",
"ny": "齐切瓦语",
"cgg": "奇加语",
"ak": "契维语",
"ja": "日语",
"sv": "瑞典语",
"zap": "萨巴特克语",
"se": "萨米语(北部)",
"sm": "萨摩亚语",
"sr": "塞尔维亚语",
"kri": "塞拉利昂克里奥尔语",
"crs": "塞舌尔克里奥尔语",
"sg": "桑戈语",
"sat-Latn": "桑塔利语",
"si": "僧伽罗语",
"eo": "世界语",
"sk": "斯洛伐克语",
"sl": "斯洛文尼亚语",
"ss": "斯瓦特语",
"sw": "斯瓦希里语",
"gd": "苏格兰盖尔语",
"sus": "苏苏语",
"ceb": "宿务语",
"so": "索马里语",
"tg": "塔吉克语",
"ber": "塔马齐格特语(提非纳文)",
"ber-Latn": "塔马塞特语",
"ty": "塔希提语",
"te": "泰卢固语",
"ta": "泰米尔语",
"th": "泰语",
"to": "汤加语",
"ti": "提格里尼亚语",
"tcy": "图鲁语",
"tum": "图姆布卡语",
"tyv": "图瓦语",
"tr": "土耳其语",
"tk": "土库曼语",
"war": "瓦瑞语",
"mak": "望加锡语",
"cy": "威尔士语",
"vec": "威尼斯语",
"ug": "维吾尔语",
"ve": "文达语",
"wo": "沃洛夫语",
"udm": "乌德穆尔特语",
"ur": "乌尔都语",
"uk": "乌克兰语",
"uz": "乌兹别克语",
"es": "西班牙语",
"szl": "西里西亚语",
"scn": "西西里语",
"iw": "希伯来语",
"el": "希腊语",
"hil": "希利盖农语",
"haw": "夏威夷语",
"sd": "信德语",
"hu": "匈牙利语",
"sn": "修纳语",
"su": "巽他语",
"jam": "牙买加土语",
"sah": "雅库特语",
"hy": "亚美尼亚语",
"ace": "亚齐语",
"iba": "伊班语",
"ig": "伊博语",
"ilo": "伊洛卡诺语",
"it": "意大利语",
"yi": "意第绪语",
"hi": "印地语",
"id": "印尼语",
"en": "英语",
"yua": "尤卡坦玛雅语",
"yo": "约鲁巴语",
"yue": "粤语",
"vi": "越南语",
"jw": "爪哇语",
"zh-CN": "中文",
"dz": "宗卡语",
"zu": "祖鲁语"
}
```
</p>
</details>
<details><summary>支持的目标语言,共 243 种</summary>
<p>
```json
{
"ab": "阿布哈兹语",
"sq": "阿尔巴尼亚语",
"aa": "阿法尔语",
"ar": "阿拉伯语",
"alz": "阿卢尔语",
"am": "阿姆哈拉语",
"ach": "阿乔利语",
"as": "阿萨姆语",
"az": "阿塞拜疆语",
"awa": "阿瓦德语",
"av": "阿瓦尔语",
"ee": "埃维语",
"ay": "艾马拉语",
"ga": "爱尔兰语",
"et": "爱沙尼亚语",
"oc": "奥克语",
"or": "奥利亚语",
"om": "奥罗莫语",
"os": "奥塞梯语",
"tpi": "巴布亚皮钦语",
"bew": "巴达维语",
"ban": "巴厘语",
"ba": "巴什基尔语",
"eu": "巴斯克语",
"btx": "巴塔克卡罗语",
"bbc": "巴塔克托巴语",
"bts": "巴塔克西马隆贡语",
"bci": "巴乌雷语",
"be": "白俄罗斯语",
"bm": "班巴拉语",
"pag": "邦阿西楠语",
"pam": "邦板牙语",
"bg": "保加利亚语",
"nso": "北索托语",
"bem": "奔巴语",
"bik": "比科尔语",
"bal": "俾路支语",
"is": "冰岛语",
"pl": "波兰语",
"bs": "波斯尼亚语",
"fa": "波斯语",
"bho": "博杰普尔语",
"bua": "布里亚特语",
"br": "布列塔尼语",
"bo": "藏语",
"chm": "草原马里语",
"ch": "查莫罗语",
"ce": "车臣语",
"chk": "楚克语",
"cv": "楚瓦什语",
"tn": "茨瓦纳语",
"ts": "聪加语",
"fa-AF": "达里语",
"tt": "鞑靼语",
"da": "丹麦语",
"shn": "掸语",
"tet": "德顿语",
"de": "德语",
"dv": "迪维希语",
"dyu": "迪尤拉语",
"tiv": "蒂夫语",
"din": "丁卡语",
"doi": "多格拉语",
"ru": "俄语",
"ndc-ZW": "恩道语",
"nr": "恩德贝莱语(南部)",
"dov": "恩敦贝语",
"bm-Nkoo": "恩科字母(西非书面文字)",
"fo": "法罗语",
"fr": "法语",
"sa": "梵语",
"tl": "菲律宾语",
"fj": "斐济语",
"fi": "芬兰语",
"fon": "丰语",
"fy": "弗里西语",
"fur": "弗留利语",
"ff": "富拉尼语",
"kg": "刚果语",
"km": "高棉语",
"kl": "格陵兰语",
"ka": "格鲁吉亚语",
"gom": "贡根语",
"gu": "古吉拉特语",
"gn": "瓜拉尼语",
"cnh": "哈卡钦语",
"kk": "哈萨克语",
"ht": "海地克里奥尔语",
"ko": "韩语",
"ha": "豪萨语",
"nl": "荷兰语",
"hrx": "洪斯吕克语",
"ky": "吉尔吉斯语",
"ktu": "吉土巴语",
"gl": "加利西亚语",
"ca": "加泰罗尼亚语",
"gaa": "加语",
"cs": "捷克语",
"kac": "景颇语",
"kn": "卡纳达语",
"kr": "卡努里语",
"kha": "卡西语",
"kek": "凯克其语",
"kv": "科米语",
"xh": "科萨语",
"co": "科西嘉语",
"crh": "克里米亚鞑靼语",
"hr": "克罗地亚语",
"qu": "克丘亚语",
"ku": "库尔德语(库尔曼吉语)",
"ckb": "库尔德语(索拉尼)",
"trp": "廓克博若克语",
"la": "拉丁语",
"ltg": "拉特加莱语",
"lv": "拉脱维亚语",
"lo": "老挝语",
"lt": "立陶宛语",
"lij": "利古里亚语",
"li": "林堡语",
"ln": "林加拉语",
"rn": "隆迪语",
"luo": "卢奥语",
"lg": "卢干达语",
"lb": "卢森堡语",
"rw": "卢旺达语",
"lmo": "伦巴第语",
"ro": "罗马尼亚语",
"rom": "罗姆语",
"mad": "马都拉语",
"gv": "马恩岛语",
"mg": "马尔加什语",
"mwr": "马尔瓦迪语",
"mt": "马耳他语",
"mr": "马拉地语",
"ml": "马拉雅拉姆语",
"ms": "马来语",
"ms-Arab": "马来语(爪夷文)",
"mk": "马其顿语",
"mh": "马绍尔语",
"mam": "玛姆语",
"mai": "迈蒂利语",
"mfe": "毛里裘斯克里奥耳语",
"mi": "毛利语",
"mni-Mtei": "梅泰语(曼尼普尔语)",
"mn": "蒙古语",
"bn": "孟加拉语",
"min": "米南语",
"lus": "米佐语",
"my": "缅甸语",
"hmn": "苗语",
"nhe": "纳瓦特尔语(东部瓦斯特卡)",
"af": "南非荷兰语",
"st": "南索托语",
"ne": "尼泊尔语",
"new": "尼泊尔语言(尼瓦尔语)",
"nus": "努尔语",
"no": "挪威语",
"pap": "帕皮阿门托语",
"pa": "旁遮普语(果鲁穆奇文)",
"pa-Arab": "旁遮普语(沙木基文)",
"pt": "葡萄牙语(巴西)",
"pt-PT": "葡萄牙语(葡萄牙)",
"ps": "普什图语",
"ny": "齐切瓦语",
"cgg": "奇加语",
"ak": "契维语",
"ja": "日语",
"sv": "瑞典语",
"zap": "萨巴特克语",
"se": "萨米语(北部)",
"sm": "萨摩亚语",
"sr": "塞尔维亚语",
"kri": "塞拉利昂克里奥尔语",
"crs": "塞舌尔克里奥尔语",
"sg": "桑戈语",
"sat-Latn": "桑塔利语",
"si": "僧伽罗语",
"eo": "世界语",
"sk": "斯洛伐克语",
"sl": "斯洛文尼亚语",
"ss": "斯瓦特语",
"sw": "斯瓦希里语",
"gd": "苏格兰盖尔语",
"sus": "苏苏语",
"ceb": "宿务语",
"so": "索马里语",
"tg": "塔吉克语",
"ber": "塔马齐格特语(提非纳文)",
"ber-Latn": "塔马塞特语",
"ty": "塔希提语",
"te": "泰卢固语",
"ta": "泰米尔语",
"th": "泰语",
"to": "汤加语",
"ti": "提格里尼亚语",
"tcy": "图鲁语",
"tum": "图姆布卡语",
"tyv": "图瓦语",
"tr": "土耳其语",
"tk": "土库曼语",
"war": "瓦瑞语",
"mak": "望加锡语",
"cy": "威尔士语",
"vec": "威尼斯语",
"ug": "维吾尔语",
"ve": "文达语",
"wo": "沃洛夫语",
"udm": "乌德穆尔特语",
"ur": "乌尔都语",
"uk": "乌克兰语",
"uz": "乌兹别克语",
"es": "西班牙语",
"szl": "西里西亚语",
"scn": "西西里语",
"iw": "希伯来语",
"el": "希腊语",
"hil": "希利盖农语",
"haw": "夏威夷语",
"sd": "信德语",
"hu": "匈牙利语",
"sn": "修纳语",
"su": "巽他语",
"jam": "牙买加土语",
"sah": "雅库特语",
"hy": "亚美尼亚语",
"ace": "亚齐语",
"iba": "伊班语",
"ig": "伊博语",
"ilo": "伊洛卡诺语",
"it": "意大利语",
"yi": "意第绪语",
"hi": "印地语",
"id": "印尼语",
"en": "英语",
"yua": "尤卡坦玛雅语",
"yo": "约鲁巴语",
"yue": "粤语",
"vi": "越南语",
"jw": "爪哇语",
"zh-TW": "中文(繁体)",
"zh-CN": "中文(简体)",
"dz": "宗卡语",
"zu": "祖鲁语"
}
```
</p>
</details>
在库中访问
```python
from pygtrans import SOURCE_LANGUAGES, TARGET_LANGUAGES
print('支持的源语言:')
for code, lang in SOURCE_LANGUAGES.items():
print(code, lang)
print('支持的目标语言:')
for code, lang in TARGET_LANGUAGES.items():
print(code, lang)
```
## 必看说明
1. `pygtrans`中包含两个翻译模块
1. `Translate`:
- 完全免费,支持批量
- 从2021年9月15日开始, 需要翻墙才能使用, 具体参考 [#8](https://github.com/foyoux/pygtrans/issues/8)
2. `ApiKeyTranslate`: 需要有效的谷歌翻译 **API KEY
**,[谷歌提供免费试用](https://cloud.google.com/translate/docs/quickstarts)
2. `Translate`的最佳实践:
1. `http` 代理:`Translate(proxies={"https": "http://localhost:10809"})`
2. `socks5` 代理: `Translate(proxies={"https": "socks5://localhost:10808"})`
3. **重要**:尽量一次性多翻译,减少请求次数,参考 [#13](https://github.com/foyoux/pygtrans/issues/13),比如一次性翻译
2000 / 5000 / 10000,甚至一次性 100000 条
Raw data
{
"_id": null,
"home_page": null,
"name": "pygtrans",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "pygtrans, google, translate, apikey, text, html, google.cn, google.com",
"author": "foyoux",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/de/e3/e0c04ae288b2f25664c785d7b1e84fc640cd7ca3fc60aefb84ad80e6f770/pygtrans-1.6.1.tar.gz",
"platform": null,
"description": "# pygtrans\n\n\u8c37\u6b4c\u7ffb\u8bd1, \u652f\u6301 **APIKEY**\n\n[![](https://img.shields.io/github/v/release/foyoux/pygtrans)](https://github.com/foyoux/pygtrans/releases) ![](https://img.shields.io/github/last-commit/foyoux/pygtrans) [![Downloads](https://static.pepy.tech/personalized-badge/pygtrans?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads)](https://pepy.tech/project/pygtrans)\n\n## \u5b89\u88c5\n\n[![](https://img.shields.io/pypi/pyversions/pygtrans)](https://pypi.org/project/pygtrans/)\n\n```shell\n# \u63a8\u8350\npip install -U pygtrans\n```\n\n```shell\n# \u53ef\u9009\npip install git+ssh://git@github.com/foyoux/pygtrans.git\npip install git+https://github.com/foyoux/pygtrans.git\n```\n\n## \u5feb\u901f\u5165\u95e8\n\n```python\nfrom pygtrans import Translate\n\nclient = Translate(proxies={'https': 'http://localhost:10809'})\n\n# \u68c0\u6d4b\u8bed\u8a00\ntext = client.detect('Answer the question.')\nassert text.language == 'en'\n\n# \u7ffb\u8bd1\u53e5\u5b50\ntext = client.translate('Look at these pictures and answer the questions.')\nassert text.translatedText == '\u770b\u8fd9\u4e9b\u56fe\u7247\uff0c\u56de\u7b54\u95ee\u9898\u3002'\n\n# \u6279\u91cf\u7ffb\u8bd1\ntexts = client.translate([\n 'Good morning. What can I do for you?',\n 'Read aloud and underline the sentences about booking a flight.',\n 'May I have your name and telephone number?'\n])\nassert [text.translatedText for text in texts] == [\n '\u65e9\u4e0a\u597d\u3002\u6211\u80fd\u4e3a\u4f60\u505a\u4ec0\u4e48\uff1f',\n '\u5927\u58f0\u6717\u8bfb\u5e76\u5728\u6709\u5173\u9884\u8ba2\u822a\u73ed\u7684\u53e5\u5b50\u4e0b\u5212\u7ebf\u3002',\n '\u53ef\u4ee5\u7ed9\u6211\u4f60\u7684\u540d\u5b57\u548c\u7535\u8bdd\u53f7\u7801\u5417\uff1f'\n]\n\n# \u7ffb\u8bd1\u5230\u65e5\u8bed\ntext = client.translate('\u8bf7\u591a\u591a\u6307\u6559', target='ja')\nassert text.translatedText == '\u304a\u77e5\u3089\u305b\u4e0b\u3055\u3044'\n\n# \u7ffb\u8bd1\u5230\u97e9\u8bed\ntext = client.translate('\u8bf7\u591a\u591a\u6307\u6559', target='ko')\nassert text.translatedText == '\uc870\uc5b8 \ubd80\ud0c1\ub4dc\ub9bd\ub2c8\ub2e4'\n\n# \u6587\u672c\u5230\u8bed\u97f3\ntts = client.tts('\u3084\u3081\u3066', target='ja')\nopen('\u3084\u3081\u3066.mp3', 'wb').write(tts)\n```\n\n## \u652f\u6301\u7684\u8bed\u8a00\n\n<details><summary>\u652f\u6301\u7684\u6e90\u8bed\u8a00\uff0c\u5171 242 \u79cd</summary>\n<p>\n\n```json\n{\n \"auto\": \"\u68c0\u6d4b\u8bed\u8a00\",\n \"ab\": \"\u963f\u5e03\u54c8\u5179\u8bed\",\n \"sq\": \"\u963f\u5c14\u5df4\u5c3c\u4e9a\u8bed\",\n \"aa\": \"\u963f\u6cd5\u5c14\u8bed\",\n \"ar\": \"\u963f\u62c9\u4f2f\u8bed\",\n \"alz\": \"\u963f\u5362\u5c14\u8bed\",\n \"am\": \"\u963f\u59c6\u54c8\u62c9\u8bed\",\n \"ach\": \"\u963f\u4e54\u5229\u8bed\",\n \"as\": \"\u963f\u8428\u59c6\u8bed\",\n \"az\": \"\u963f\u585e\u62dc\u7586\u8bed\",\n \"awa\": \"\u963f\u74e6\u5fb7\u8bed\",\n \"av\": \"\u963f\u74e6\u5c14\u8bed\",\n \"ee\": \"\u57c3\u7ef4\u8bed\",\n \"ay\": \"\u827e\u9a6c\u62c9\u8bed\",\n \"ga\": \"\u7231\u5c14\u5170\u8bed\",\n \"et\": \"\u7231\u6c99\u5c3c\u4e9a\u8bed\",\n \"oc\": \"\u5965\u514b\u8bed\",\n \"or\": \"\u5965\u5229\u4e9a\u8bed\",\n \"om\": \"\u5965\u7f57\u83ab\u8bed\",\n \"os\": \"\u5965\u585e\u68af\u8bed\",\n \"tpi\": \"\u5df4\u5e03\u4e9a\u76ae\u94a6\u8bed\",\n \"bew\": \"\u5df4\u8fbe\u7ef4\u8bed\",\n \"ban\": \"\u5df4\u5398\u8bed\",\n \"ba\": \"\u5df4\u4ec0\u57fa\u5c14\u8bed\",\n \"eu\": \"\u5df4\u65af\u514b\u8bed\",\n \"btx\": \"\u5df4\u5854\u514b\u5361\u7f57\u8bed\",\n \"bbc\": \"\u5df4\u5854\u514b\u6258\u5df4\u8bed\",\n \"bts\": \"\u5df4\u5854\u514b\u897f\u9a6c\u9686\u8d21\u8bed\",\n \"bci\": \"\u5df4\u4e4c\u96f7\u8bed\",\n \"be\": \"\u767d\u4fc4\u7f57\u65af\u8bed\",\n \"bm\": \"\u73ed\u5df4\u62c9\u8bed\",\n \"pag\": \"\u90a6\u963f\u897f\u6960\u8bed\",\n \"pam\": \"\u90a6\u677f\u7259\u8bed\",\n \"bg\": \"\u4fdd\u52a0\u5229\u4e9a\u8bed\",\n \"nso\": \"\u5317\u7d22\u6258\u8bed\",\n \"bem\": \"\u5954\u5df4\u8bed\",\n \"bik\": \"\u6bd4\u79d1\u5c14\u8bed\",\n \"bal\": \"\u4ffe\u8def\u652f\u8bed\",\n \"is\": \"\u51b0\u5c9b\u8bed\",\n \"pl\": \"\u6ce2\u5170\u8bed\",\n \"bs\": \"\u6ce2\u65af\u5c3c\u4e9a\u8bed\",\n \"fa\": \"\u6ce2\u65af\u8bed\",\n \"bho\": \"\u535a\u6770\u666e\u5c14\u8bed\",\n \"bua\": \"\u5e03\u91cc\u4e9a\u7279\u8bed\",\n \"br\": \"\u5e03\u5217\u5854\u5c3c\u8bed\",\n \"bo\": \"\u85cf\u8bed\",\n \"chm\": \"\u8349\u539f\u9a6c\u91cc\u8bed\",\n \"ch\": \"\u67e5\u83ab\u7f57\u8bed\",\n \"ce\": \"\u8f66\u81e3\u8bed\",\n \"chk\": \"\u695a\u514b\u8bed\",\n \"cv\": \"\u695a\u74e6\u4ec0\u8bed\",\n \"tn\": \"\u8328\u74e6\u7eb3\u8bed\",\n \"ts\": \"\u806a\u52a0\u8bed\",\n \"fa-AF\": \"\u8fbe\u91cc\u8bed\",\n \"tt\": \"\u9791\u977c\u8bed\",\n \"da\": \"\u4e39\u9ea6\u8bed\",\n \"shn\": \"\u63b8\u8bed\",\n \"tet\": \"\u5fb7\u987f\u8bed\",\n \"de\": \"\u5fb7\u8bed\",\n \"dv\": \"\u8fea\u7ef4\u5e0c\u8bed\",\n \"dyu\": \"\u8fea\u5c24\u62c9\u8bed\",\n \"tiv\": \"\u8482\u592b\u8bed\",\n \"din\": \"\u4e01\u5361\u8bed\",\n \"doi\": \"\u591a\u683c\u62c9\u8bed\",\n \"ru\": \"\u4fc4\u8bed\",\n \"ndc-ZW\": \"\u6069\u9053\u8bed\",\n \"nr\": \"\u6069\u5fb7\u8d1d\u83b1\u8bed\uff08\u5357\u90e8\uff09\",\n \"dov\": \"\u6069\u6566\u8d1d\u8bed\",\n \"bm-Nkoo\": \"\u6069\u79d1\u5b57\u6bcd\uff08\u897f\u975e\u4e66\u9762\u6587\u5b57\uff09\",\n \"fo\": \"\u6cd5\u7f57\u8bed\",\n \"fr\": \"\u6cd5\u8bed\",\n \"sa\": \"\u68b5\u8bed\",\n \"tl\": \"\u83f2\u5f8b\u5bbe\u8bed\",\n \"fj\": \"\u6590\u6d4e\u8bed\",\n \"fi\": \"\u82ac\u5170\u8bed\",\n \"fon\": \"\u4e30\u8bed\",\n \"fy\": \"\u5f17\u91cc\u897f\u8bed\",\n \"fur\": \"\u5f17\u7559\u5229\u8bed\",\n \"ff\": \"\u5bcc\u62c9\u5c3c\u8bed\",\n \"kg\": \"\u521a\u679c\u8bed\",\n \"km\": \"\u9ad8\u68c9\u8bed\",\n \"kl\": \"\u683c\u9675\u5170\u8bed\",\n \"ka\": \"\u683c\u9c81\u5409\u4e9a\u8bed\",\n \"gom\": \"\u8d21\u6839\u8bed\",\n \"gu\": \"\u53e4\u5409\u62c9\u7279\u8bed\",\n \"gn\": \"\u74dc\u62c9\u5c3c\u8bed\",\n \"cnh\": \"\u54c8\u5361\u94a6\u8bed\",\n \"kk\": \"\u54c8\u8428\u514b\u8bed\",\n \"ht\": \"\u6d77\u5730\u514b\u91cc\u5965\u5c14\u8bed\",\n \"ko\": \"\u97e9\u8bed\",\n \"ha\": \"\u8c6a\u8428\u8bed\",\n \"nl\": \"\u8377\u5170\u8bed\",\n \"hrx\": \"\u6d2a\u65af\u5415\u514b\u8bed\",\n \"ky\": \"\u5409\u5c14\u5409\u65af\u8bed\",\n \"ktu\": \"\u5409\u571f\u5df4\u8bed\",\n \"gl\": \"\u52a0\u5229\u897f\u4e9a\u8bed\",\n \"ca\": \"\u52a0\u6cf0\u7f57\u5c3c\u4e9a\u8bed\",\n \"gaa\": \"\u52a0\u8bed\",\n \"cs\": \"\u6377\u514b\u8bed\",\n \"kac\": \"\u666f\u9887\u8bed\",\n \"kn\": \"\u5361\u7eb3\u8fbe\u8bed\",\n \"kr\": \"\u5361\u52aa\u91cc\u8bed\",\n \"kha\": \"\u5361\u897f\u8bed\",\n \"kek\": \"\u51ef\u514b\u5176\u8bed\",\n \"kv\": \"\u79d1\u7c73\u8bed\",\n \"xh\": \"\u79d1\u8428\u8bed\",\n \"co\": \"\u79d1\u897f\u5609\u8bed\",\n \"crh\": \"\u514b\u91cc\u7c73\u4e9a\u9791\u977c\u8bed\",\n \"hr\": \"\u514b\u7f57\u5730\u4e9a\u8bed\",\n \"qu\": \"\u514b\u4e18\u4e9a\u8bed\",\n \"ku\": \"\u5e93\u5c14\u5fb7\u8bed\uff08\u5e93\u5c14\u66fc\u5409\u8bed\uff09\",\n \"ckb\": \"\u5e93\u5c14\u5fb7\u8bed\uff08\u7d22\u62c9\u5c3c\uff09\",\n \"trp\": \"\u5ed3\u514b\u535a\u82e5\u514b\u8bed\",\n \"la\": \"\u62c9\u4e01\u8bed\",\n \"ltg\": \"\u62c9\u7279\u52a0\u83b1\u8bed\",\n \"lv\": \"\u62c9\u8131\u7ef4\u4e9a\u8bed\",\n \"lo\": \"\u8001\u631d\u8bed\",\n \"lt\": \"\u7acb\u9676\u5b9b\u8bed\",\n \"lij\": \"\u5229\u53e4\u91cc\u4e9a\u8bed\",\n \"li\": \"\u6797\u5821\u8bed\",\n \"ln\": \"\u6797\u52a0\u62c9\u8bed\",\n \"rn\": \"\u9686\u8fea\u8bed\",\n \"luo\": \"\u5362\u5965\u8bed\",\n \"lg\": \"\u5362\u5e72\u8fbe\u8bed\",\n \"lb\": \"\u5362\u68ee\u5821\u8bed\",\n \"rw\": \"\u5362\u65fa\u8fbe\u8bed\",\n \"lmo\": \"\u4f26\u5df4\u7b2c\u8bed\",\n \"ro\": \"\u7f57\u9a6c\u5c3c\u4e9a\u8bed\",\n \"rom\": \"\u7f57\u59c6\u8bed\",\n \"mad\": \"\u9a6c\u90fd\u62c9\u8bed\",\n \"gv\": \"\u9a6c\u6069\u5c9b\u8bed\",\n \"mg\": \"\u9a6c\u5c14\u52a0\u4ec0\u8bed\",\n \"mwr\": \"\u9a6c\u5c14\u74e6\u8fea\u8bed\",\n \"mt\": \"\u9a6c\u8033\u4ed6\u8bed\",\n \"mr\": \"\u9a6c\u62c9\u5730\u8bed\",\n \"ml\": \"\u9a6c\u62c9\u96c5\u62c9\u59c6\u8bed\",\n \"ms\": \"\u9a6c\u6765\u8bed\",\n \"ms-Arab\": \"\u9a6c\u6765\u8bed\uff08\u722a\u5937\u6587\uff09\",\n \"mk\": \"\u9a6c\u5176\u987f\u8bed\",\n \"mh\": \"\u9a6c\u7ecd\u5c14\u8bed\",\n \"mam\": \"\u739b\u59c6\u8bed\",\n \"mai\": \"\u8fc8\u8482\u5229\u8bed\",\n \"mfe\": \"\u6bdb\u91cc\u88d8\u65af\u514b\u91cc\u5965\u8033\u8bed\",\n \"mi\": \"\u6bdb\u5229\u8bed\",\n \"mni-Mtei\": \"\u6885\u6cf0\u8bed\uff08\u66fc\u5c3c\u666e\u5c14\u8bed\uff09\",\n \"mn\": \"\u8499\u53e4\u8bed\",\n \"bn\": \"\u5b5f\u52a0\u62c9\u8bed\",\n \"min\": \"\u7c73\u5357\u8bed\",\n \"lus\": \"\u7c73\u4f50\u8bed\",\n \"my\": \"\u7f05\u7538\u8bed\",\n \"hmn\": \"\u82d7\u8bed\",\n \"nhe\": \"\u7eb3\u74e6\u7279\u5c14\u8bed\uff08\u4e1c\u90e8\u74e6\u65af\u7279\u5361\uff09\",\n \"af\": \"\u5357\u975e\u8377\u5170\u8bed\",\n \"st\": \"\u5357\u7d22\u6258\u8bed\",\n \"ne\": \"\u5c3c\u6cca\u5c14\u8bed\",\n \"new\": \"\u5c3c\u6cca\u5c14\u8bed\u8a00\uff08\u5c3c\u74e6\u5c14\u8bed\uff09\",\n \"nus\": \"\u52aa\u5c14\u8bed\",\n \"no\": \"\u632a\u5a01\u8bed\",\n \"pap\": \"\u5e15\u76ae\u963f\u95e8\u6258\u8bed\",\n \"pa\": \"\u65c1\u906e\u666e\u8bed\uff08\u679c\u9c81\u7a46\u5947\u6587\uff09\",\n \"pa-Arab\": \"\u65c1\u906e\u666e\u8bed\uff08\u6c99\u6728\u57fa\u6587\uff09\",\n \"pt\": \"\u8461\u8404\u7259\u8bed\uff08\u5df4\u897f\uff09\",\n \"pt-PT\": \"\u8461\u8404\u7259\u8bed\uff08\u8461\u8404\u7259\uff09\",\n \"ps\": \"\u666e\u4ec0\u56fe\u8bed\",\n \"ny\": \"\u9f50\u5207\u74e6\u8bed\",\n \"cgg\": \"\u5947\u52a0\u8bed\",\n \"ak\": \"\u5951\u7ef4\u8bed\",\n \"ja\": \"\u65e5\u8bed\",\n \"sv\": \"\u745e\u5178\u8bed\",\n \"zap\": \"\u8428\u5df4\u7279\u514b\u8bed\",\n \"se\": \"\u8428\u7c73\u8bed\uff08\u5317\u90e8\uff09\",\n \"sm\": \"\u8428\u6469\u4e9a\u8bed\",\n \"sr\": \"\u585e\u5c14\u7ef4\u4e9a\u8bed\",\n \"kri\": \"\u585e\u62c9\u5229\u6602\u514b\u91cc\u5965\u5c14\u8bed\",\n \"crs\": \"\u585e\u820c\u5c14\u514b\u91cc\u5965\u5c14\u8bed\",\n \"sg\": \"\u6851\u6208\u8bed\",\n \"sat-Latn\": \"\u6851\u5854\u5229\u8bed\",\n \"si\": \"\u50e7\u4f3d\u7f57\u8bed\",\n \"eo\": \"\u4e16\u754c\u8bed\",\n \"sk\": \"\u65af\u6d1b\u4f10\u514b\u8bed\",\n \"sl\": \"\u65af\u6d1b\u6587\u5c3c\u4e9a\u8bed\",\n \"ss\": \"\u65af\u74e6\u7279\u8bed\",\n \"sw\": \"\u65af\u74e6\u5e0c\u91cc\u8bed\",\n \"gd\": \"\u82cf\u683c\u5170\u76d6\u5c14\u8bed\",\n \"sus\": \"\u82cf\u82cf\u8bed\",\n \"ceb\": \"\u5bbf\u52a1\u8bed\",\n \"so\": \"\u7d22\u9a6c\u91cc\u8bed\",\n \"tg\": \"\u5854\u5409\u514b\u8bed\",\n \"ber\": \"\u5854\u9a6c\u9f50\u683c\u7279\u8bed\uff08\u63d0\u975e\u7eb3\u6587\uff09\",\n \"ber-Latn\": \"\u5854\u9a6c\u585e\u7279\u8bed\",\n \"ty\": \"\u5854\u5e0c\u63d0\u8bed\",\n \"te\": \"\u6cf0\u5362\u56fa\u8bed\",\n \"ta\": \"\u6cf0\u7c73\u5c14\u8bed\",\n \"th\": \"\u6cf0\u8bed\",\n \"to\": \"\u6c64\u52a0\u8bed\",\n \"ti\": \"\u63d0\u683c\u91cc\u5c3c\u4e9a\u8bed\",\n \"tcy\": \"\u56fe\u9c81\u8bed\",\n \"tum\": \"\u56fe\u59c6\u5e03\u5361\u8bed\",\n \"tyv\": \"\u56fe\u74e6\u8bed\",\n \"tr\": \"\u571f\u8033\u5176\u8bed\",\n \"tk\": \"\u571f\u5e93\u66fc\u8bed\",\n \"war\": \"\u74e6\u745e\u8bed\",\n \"mak\": \"\u671b\u52a0\u9521\u8bed\",\n \"cy\": \"\u5a01\u5c14\u58eb\u8bed\",\n \"vec\": \"\u5a01\u5c3c\u65af\u8bed\",\n \"ug\": \"\u7ef4\u543e\u5c14\u8bed\",\n \"ve\": \"\u6587\u8fbe\u8bed\",\n \"wo\": \"\u6c83\u6d1b\u592b\u8bed\",\n \"udm\": \"\u4e4c\u5fb7\u7a46\u5c14\u7279\u8bed\",\n \"ur\": \"\u4e4c\u5c14\u90fd\u8bed\",\n \"uk\": \"\u4e4c\u514b\u5170\u8bed\",\n \"uz\": \"\u4e4c\u5179\u522b\u514b\u8bed\",\n \"es\": \"\u897f\u73ed\u7259\u8bed\",\n \"szl\": \"\u897f\u91cc\u897f\u4e9a\u8bed\",\n \"scn\": \"\u897f\u897f\u91cc\u8bed\",\n \"iw\": \"\u5e0c\u4f2f\u6765\u8bed\",\n \"el\": \"\u5e0c\u814a\u8bed\",\n \"hil\": \"\u5e0c\u5229\u76d6\u519c\u8bed\",\n \"haw\": \"\u590f\u5a01\u5937\u8bed\",\n \"sd\": \"\u4fe1\u5fb7\u8bed\",\n \"hu\": \"\u5308\u7259\u5229\u8bed\",\n \"sn\": \"\u4fee\u7eb3\u8bed\",\n \"su\": \"\u5dfd\u4ed6\u8bed\",\n \"jam\": \"\u7259\u4e70\u52a0\u571f\u8bed\",\n \"sah\": \"\u96c5\u5e93\u7279\u8bed\",\n \"hy\": \"\u4e9a\u7f8e\u5c3c\u4e9a\u8bed\",\n \"ace\": \"\u4e9a\u9f50\u8bed\",\n \"iba\": \"\u4f0a\u73ed\u8bed\",\n \"ig\": \"\u4f0a\u535a\u8bed\",\n \"ilo\": \"\u4f0a\u6d1b\u5361\u8bfa\u8bed\",\n \"it\": \"\u610f\u5927\u5229\u8bed\",\n \"yi\": \"\u610f\u7b2c\u7eea\u8bed\",\n \"hi\": \"\u5370\u5730\u8bed\",\n \"id\": \"\u5370\u5c3c\u8bed\",\n \"en\": \"\u82f1\u8bed\",\n \"yua\": \"\u5c24\u5361\u5766\u739b\u96c5\u8bed\",\n \"yo\": \"\u7ea6\u9c81\u5df4\u8bed\",\n \"yue\": \"\u7ca4\u8bed\",\n \"vi\": \"\u8d8a\u5357\u8bed\",\n \"jw\": \"\u722a\u54c7\u8bed\",\n \"zh-CN\": \"\u4e2d\u6587\",\n \"dz\": \"\u5b97\u5361\u8bed\",\n \"zu\": \"\u7956\u9c81\u8bed\"\n}\n```\n\n</p>\n</details>\n\n<details><summary>\u652f\u6301\u7684\u76ee\u6807\u8bed\u8a00\uff0c\u5171 243 \u79cd</summary>\n<p>\n\n```json\n {\n \"ab\": \"\u963f\u5e03\u54c8\u5179\u8bed\",\n \"sq\": \"\u963f\u5c14\u5df4\u5c3c\u4e9a\u8bed\",\n \"aa\": \"\u963f\u6cd5\u5c14\u8bed\",\n \"ar\": \"\u963f\u62c9\u4f2f\u8bed\",\n \"alz\": \"\u963f\u5362\u5c14\u8bed\",\n \"am\": \"\u963f\u59c6\u54c8\u62c9\u8bed\",\n \"ach\": \"\u963f\u4e54\u5229\u8bed\",\n \"as\": \"\u963f\u8428\u59c6\u8bed\",\n \"az\": \"\u963f\u585e\u62dc\u7586\u8bed\",\n \"awa\": \"\u963f\u74e6\u5fb7\u8bed\",\n \"av\": \"\u963f\u74e6\u5c14\u8bed\",\n \"ee\": \"\u57c3\u7ef4\u8bed\",\n \"ay\": \"\u827e\u9a6c\u62c9\u8bed\",\n \"ga\": \"\u7231\u5c14\u5170\u8bed\",\n \"et\": \"\u7231\u6c99\u5c3c\u4e9a\u8bed\",\n \"oc\": \"\u5965\u514b\u8bed\",\n \"or\": \"\u5965\u5229\u4e9a\u8bed\",\n \"om\": \"\u5965\u7f57\u83ab\u8bed\",\n \"os\": \"\u5965\u585e\u68af\u8bed\",\n \"tpi\": \"\u5df4\u5e03\u4e9a\u76ae\u94a6\u8bed\",\n \"bew\": \"\u5df4\u8fbe\u7ef4\u8bed\",\n \"ban\": \"\u5df4\u5398\u8bed\",\n \"ba\": \"\u5df4\u4ec0\u57fa\u5c14\u8bed\",\n \"eu\": \"\u5df4\u65af\u514b\u8bed\",\n \"btx\": \"\u5df4\u5854\u514b\u5361\u7f57\u8bed\",\n \"bbc\": \"\u5df4\u5854\u514b\u6258\u5df4\u8bed\",\n \"bts\": \"\u5df4\u5854\u514b\u897f\u9a6c\u9686\u8d21\u8bed\",\n \"bci\": \"\u5df4\u4e4c\u96f7\u8bed\",\n \"be\": \"\u767d\u4fc4\u7f57\u65af\u8bed\",\n \"bm\": \"\u73ed\u5df4\u62c9\u8bed\",\n \"pag\": \"\u90a6\u963f\u897f\u6960\u8bed\",\n \"pam\": \"\u90a6\u677f\u7259\u8bed\",\n \"bg\": \"\u4fdd\u52a0\u5229\u4e9a\u8bed\",\n \"nso\": \"\u5317\u7d22\u6258\u8bed\",\n \"bem\": \"\u5954\u5df4\u8bed\",\n \"bik\": \"\u6bd4\u79d1\u5c14\u8bed\",\n \"bal\": \"\u4ffe\u8def\u652f\u8bed\",\n \"is\": \"\u51b0\u5c9b\u8bed\",\n \"pl\": \"\u6ce2\u5170\u8bed\",\n \"bs\": \"\u6ce2\u65af\u5c3c\u4e9a\u8bed\",\n \"fa\": \"\u6ce2\u65af\u8bed\",\n \"bho\": \"\u535a\u6770\u666e\u5c14\u8bed\",\n \"bua\": \"\u5e03\u91cc\u4e9a\u7279\u8bed\",\n \"br\": \"\u5e03\u5217\u5854\u5c3c\u8bed\",\n \"bo\": \"\u85cf\u8bed\",\n \"chm\": \"\u8349\u539f\u9a6c\u91cc\u8bed\",\n \"ch\": \"\u67e5\u83ab\u7f57\u8bed\",\n \"ce\": \"\u8f66\u81e3\u8bed\",\n \"chk\": \"\u695a\u514b\u8bed\",\n \"cv\": \"\u695a\u74e6\u4ec0\u8bed\",\n \"tn\": \"\u8328\u74e6\u7eb3\u8bed\",\n \"ts\": \"\u806a\u52a0\u8bed\",\n \"fa-AF\": \"\u8fbe\u91cc\u8bed\",\n \"tt\": \"\u9791\u977c\u8bed\",\n \"da\": \"\u4e39\u9ea6\u8bed\",\n \"shn\": \"\u63b8\u8bed\",\n \"tet\": \"\u5fb7\u987f\u8bed\",\n \"de\": \"\u5fb7\u8bed\",\n \"dv\": \"\u8fea\u7ef4\u5e0c\u8bed\",\n \"dyu\": \"\u8fea\u5c24\u62c9\u8bed\",\n \"tiv\": \"\u8482\u592b\u8bed\",\n \"din\": \"\u4e01\u5361\u8bed\",\n \"doi\": \"\u591a\u683c\u62c9\u8bed\",\n \"ru\": \"\u4fc4\u8bed\",\n \"ndc-ZW\": \"\u6069\u9053\u8bed\",\n \"nr\": \"\u6069\u5fb7\u8d1d\u83b1\u8bed\uff08\u5357\u90e8\uff09\",\n \"dov\": \"\u6069\u6566\u8d1d\u8bed\",\n \"bm-Nkoo\": \"\u6069\u79d1\u5b57\u6bcd\uff08\u897f\u975e\u4e66\u9762\u6587\u5b57\uff09\",\n \"fo\": \"\u6cd5\u7f57\u8bed\",\n \"fr\": \"\u6cd5\u8bed\",\n \"sa\": \"\u68b5\u8bed\",\n \"tl\": \"\u83f2\u5f8b\u5bbe\u8bed\",\n \"fj\": \"\u6590\u6d4e\u8bed\",\n \"fi\": \"\u82ac\u5170\u8bed\",\n \"fon\": \"\u4e30\u8bed\",\n \"fy\": \"\u5f17\u91cc\u897f\u8bed\",\n \"fur\": \"\u5f17\u7559\u5229\u8bed\",\n \"ff\": \"\u5bcc\u62c9\u5c3c\u8bed\",\n \"kg\": \"\u521a\u679c\u8bed\",\n \"km\": \"\u9ad8\u68c9\u8bed\",\n \"kl\": \"\u683c\u9675\u5170\u8bed\",\n \"ka\": \"\u683c\u9c81\u5409\u4e9a\u8bed\",\n \"gom\": \"\u8d21\u6839\u8bed\",\n \"gu\": \"\u53e4\u5409\u62c9\u7279\u8bed\",\n \"gn\": \"\u74dc\u62c9\u5c3c\u8bed\",\n \"cnh\": \"\u54c8\u5361\u94a6\u8bed\",\n \"kk\": \"\u54c8\u8428\u514b\u8bed\",\n \"ht\": \"\u6d77\u5730\u514b\u91cc\u5965\u5c14\u8bed\",\n \"ko\": \"\u97e9\u8bed\",\n \"ha\": \"\u8c6a\u8428\u8bed\",\n \"nl\": \"\u8377\u5170\u8bed\",\n \"hrx\": \"\u6d2a\u65af\u5415\u514b\u8bed\",\n \"ky\": \"\u5409\u5c14\u5409\u65af\u8bed\",\n \"ktu\": \"\u5409\u571f\u5df4\u8bed\",\n \"gl\": \"\u52a0\u5229\u897f\u4e9a\u8bed\",\n \"ca\": \"\u52a0\u6cf0\u7f57\u5c3c\u4e9a\u8bed\",\n \"gaa\": \"\u52a0\u8bed\",\n \"cs\": \"\u6377\u514b\u8bed\",\n \"kac\": \"\u666f\u9887\u8bed\",\n \"kn\": \"\u5361\u7eb3\u8fbe\u8bed\",\n \"kr\": \"\u5361\u52aa\u91cc\u8bed\",\n \"kha\": \"\u5361\u897f\u8bed\",\n \"kek\": \"\u51ef\u514b\u5176\u8bed\",\n \"kv\": \"\u79d1\u7c73\u8bed\",\n \"xh\": \"\u79d1\u8428\u8bed\",\n \"co\": \"\u79d1\u897f\u5609\u8bed\",\n \"crh\": \"\u514b\u91cc\u7c73\u4e9a\u9791\u977c\u8bed\",\n \"hr\": \"\u514b\u7f57\u5730\u4e9a\u8bed\",\n \"qu\": \"\u514b\u4e18\u4e9a\u8bed\",\n \"ku\": \"\u5e93\u5c14\u5fb7\u8bed\uff08\u5e93\u5c14\u66fc\u5409\u8bed\uff09\",\n \"ckb\": \"\u5e93\u5c14\u5fb7\u8bed\uff08\u7d22\u62c9\u5c3c\uff09\",\n \"trp\": \"\u5ed3\u514b\u535a\u82e5\u514b\u8bed\",\n \"la\": \"\u62c9\u4e01\u8bed\",\n \"ltg\": \"\u62c9\u7279\u52a0\u83b1\u8bed\",\n \"lv\": \"\u62c9\u8131\u7ef4\u4e9a\u8bed\",\n \"lo\": \"\u8001\u631d\u8bed\",\n \"lt\": \"\u7acb\u9676\u5b9b\u8bed\",\n \"lij\": \"\u5229\u53e4\u91cc\u4e9a\u8bed\",\n \"li\": \"\u6797\u5821\u8bed\",\n \"ln\": \"\u6797\u52a0\u62c9\u8bed\",\n \"rn\": \"\u9686\u8fea\u8bed\",\n \"luo\": \"\u5362\u5965\u8bed\",\n \"lg\": \"\u5362\u5e72\u8fbe\u8bed\",\n \"lb\": \"\u5362\u68ee\u5821\u8bed\",\n \"rw\": \"\u5362\u65fa\u8fbe\u8bed\",\n \"lmo\": \"\u4f26\u5df4\u7b2c\u8bed\",\n \"ro\": \"\u7f57\u9a6c\u5c3c\u4e9a\u8bed\",\n \"rom\": \"\u7f57\u59c6\u8bed\",\n \"mad\": \"\u9a6c\u90fd\u62c9\u8bed\",\n \"gv\": \"\u9a6c\u6069\u5c9b\u8bed\",\n \"mg\": \"\u9a6c\u5c14\u52a0\u4ec0\u8bed\",\n \"mwr\": \"\u9a6c\u5c14\u74e6\u8fea\u8bed\",\n \"mt\": \"\u9a6c\u8033\u4ed6\u8bed\",\n \"mr\": \"\u9a6c\u62c9\u5730\u8bed\",\n \"ml\": \"\u9a6c\u62c9\u96c5\u62c9\u59c6\u8bed\",\n \"ms\": \"\u9a6c\u6765\u8bed\",\n \"ms-Arab\": \"\u9a6c\u6765\u8bed\uff08\u722a\u5937\u6587\uff09\",\n \"mk\": \"\u9a6c\u5176\u987f\u8bed\",\n \"mh\": \"\u9a6c\u7ecd\u5c14\u8bed\",\n \"mam\": \"\u739b\u59c6\u8bed\",\n \"mai\": \"\u8fc8\u8482\u5229\u8bed\",\n \"mfe\": \"\u6bdb\u91cc\u88d8\u65af\u514b\u91cc\u5965\u8033\u8bed\",\n \"mi\": \"\u6bdb\u5229\u8bed\",\n \"mni-Mtei\": \"\u6885\u6cf0\u8bed\uff08\u66fc\u5c3c\u666e\u5c14\u8bed\uff09\",\n \"mn\": \"\u8499\u53e4\u8bed\",\n \"bn\": \"\u5b5f\u52a0\u62c9\u8bed\",\n \"min\": \"\u7c73\u5357\u8bed\",\n \"lus\": \"\u7c73\u4f50\u8bed\",\n \"my\": \"\u7f05\u7538\u8bed\",\n \"hmn\": \"\u82d7\u8bed\",\n \"nhe\": \"\u7eb3\u74e6\u7279\u5c14\u8bed\uff08\u4e1c\u90e8\u74e6\u65af\u7279\u5361\uff09\",\n \"af\": \"\u5357\u975e\u8377\u5170\u8bed\",\n \"st\": \"\u5357\u7d22\u6258\u8bed\",\n \"ne\": \"\u5c3c\u6cca\u5c14\u8bed\",\n \"new\": \"\u5c3c\u6cca\u5c14\u8bed\u8a00\uff08\u5c3c\u74e6\u5c14\u8bed\uff09\",\n \"nus\": \"\u52aa\u5c14\u8bed\",\n \"no\": \"\u632a\u5a01\u8bed\",\n \"pap\": \"\u5e15\u76ae\u963f\u95e8\u6258\u8bed\",\n \"pa\": \"\u65c1\u906e\u666e\u8bed\uff08\u679c\u9c81\u7a46\u5947\u6587\uff09\",\n \"pa-Arab\": \"\u65c1\u906e\u666e\u8bed\uff08\u6c99\u6728\u57fa\u6587\uff09\",\n \"pt\": \"\u8461\u8404\u7259\u8bed\uff08\u5df4\u897f\uff09\",\n \"pt-PT\": \"\u8461\u8404\u7259\u8bed\uff08\u8461\u8404\u7259\uff09\",\n \"ps\": \"\u666e\u4ec0\u56fe\u8bed\",\n \"ny\": \"\u9f50\u5207\u74e6\u8bed\",\n \"cgg\": \"\u5947\u52a0\u8bed\",\n \"ak\": \"\u5951\u7ef4\u8bed\",\n \"ja\": \"\u65e5\u8bed\",\n \"sv\": \"\u745e\u5178\u8bed\",\n \"zap\": \"\u8428\u5df4\u7279\u514b\u8bed\",\n \"se\": \"\u8428\u7c73\u8bed\uff08\u5317\u90e8\uff09\",\n \"sm\": \"\u8428\u6469\u4e9a\u8bed\",\n \"sr\": \"\u585e\u5c14\u7ef4\u4e9a\u8bed\",\n \"kri\": \"\u585e\u62c9\u5229\u6602\u514b\u91cc\u5965\u5c14\u8bed\",\n \"crs\": \"\u585e\u820c\u5c14\u514b\u91cc\u5965\u5c14\u8bed\",\n \"sg\": \"\u6851\u6208\u8bed\",\n \"sat-Latn\": \"\u6851\u5854\u5229\u8bed\",\n \"si\": \"\u50e7\u4f3d\u7f57\u8bed\",\n \"eo\": \"\u4e16\u754c\u8bed\",\n \"sk\": \"\u65af\u6d1b\u4f10\u514b\u8bed\",\n \"sl\": \"\u65af\u6d1b\u6587\u5c3c\u4e9a\u8bed\",\n \"ss\": \"\u65af\u74e6\u7279\u8bed\",\n \"sw\": \"\u65af\u74e6\u5e0c\u91cc\u8bed\",\n \"gd\": \"\u82cf\u683c\u5170\u76d6\u5c14\u8bed\",\n \"sus\": \"\u82cf\u82cf\u8bed\",\n \"ceb\": \"\u5bbf\u52a1\u8bed\",\n \"so\": \"\u7d22\u9a6c\u91cc\u8bed\",\n \"tg\": \"\u5854\u5409\u514b\u8bed\",\n \"ber\": \"\u5854\u9a6c\u9f50\u683c\u7279\u8bed\uff08\u63d0\u975e\u7eb3\u6587\uff09\",\n \"ber-Latn\": \"\u5854\u9a6c\u585e\u7279\u8bed\",\n \"ty\": \"\u5854\u5e0c\u63d0\u8bed\",\n \"te\": \"\u6cf0\u5362\u56fa\u8bed\",\n \"ta\": \"\u6cf0\u7c73\u5c14\u8bed\",\n \"th\": \"\u6cf0\u8bed\",\n \"to\": \"\u6c64\u52a0\u8bed\",\n \"ti\": \"\u63d0\u683c\u91cc\u5c3c\u4e9a\u8bed\",\n \"tcy\": \"\u56fe\u9c81\u8bed\",\n \"tum\": \"\u56fe\u59c6\u5e03\u5361\u8bed\",\n \"tyv\": \"\u56fe\u74e6\u8bed\",\n \"tr\": \"\u571f\u8033\u5176\u8bed\",\n \"tk\": \"\u571f\u5e93\u66fc\u8bed\",\n \"war\": \"\u74e6\u745e\u8bed\",\n \"mak\": \"\u671b\u52a0\u9521\u8bed\",\n \"cy\": \"\u5a01\u5c14\u58eb\u8bed\",\n \"vec\": \"\u5a01\u5c3c\u65af\u8bed\",\n \"ug\": \"\u7ef4\u543e\u5c14\u8bed\",\n \"ve\": \"\u6587\u8fbe\u8bed\",\n \"wo\": \"\u6c83\u6d1b\u592b\u8bed\",\n \"udm\": \"\u4e4c\u5fb7\u7a46\u5c14\u7279\u8bed\",\n \"ur\": \"\u4e4c\u5c14\u90fd\u8bed\",\n \"uk\": \"\u4e4c\u514b\u5170\u8bed\",\n \"uz\": \"\u4e4c\u5179\u522b\u514b\u8bed\",\n \"es\": \"\u897f\u73ed\u7259\u8bed\",\n \"szl\": \"\u897f\u91cc\u897f\u4e9a\u8bed\",\n \"scn\": \"\u897f\u897f\u91cc\u8bed\",\n \"iw\": \"\u5e0c\u4f2f\u6765\u8bed\",\n \"el\": \"\u5e0c\u814a\u8bed\",\n \"hil\": \"\u5e0c\u5229\u76d6\u519c\u8bed\",\n \"haw\": \"\u590f\u5a01\u5937\u8bed\",\n \"sd\": \"\u4fe1\u5fb7\u8bed\",\n \"hu\": \"\u5308\u7259\u5229\u8bed\",\n \"sn\": \"\u4fee\u7eb3\u8bed\",\n \"su\": \"\u5dfd\u4ed6\u8bed\",\n \"jam\": \"\u7259\u4e70\u52a0\u571f\u8bed\",\n \"sah\": \"\u96c5\u5e93\u7279\u8bed\",\n \"hy\": \"\u4e9a\u7f8e\u5c3c\u4e9a\u8bed\",\n \"ace\": \"\u4e9a\u9f50\u8bed\",\n \"iba\": \"\u4f0a\u73ed\u8bed\",\n \"ig\": \"\u4f0a\u535a\u8bed\",\n \"ilo\": \"\u4f0a\u6d1b\u5361\u8bfa\u8bed\",\n \"it\": \"\u610f\u5927\u5229\u8bed\",\n \"yi\": \"\u610f\u7b2c\u7eea\u8bed\",\n \"hi\": \"\u5370\u5730\u8bed\",\n \"id\": \"\u5370\u5c3c\u8bed\",\n \"en\": \"\u82f1\u8bed\",\n \"yua\": \"\u5c24\u5361\u5766\u739b\u96c5\u8bed\",\n \"yo\": \"\u7ea6\u9c81\u5df4\u8bed\",\n \"yue\": \"\u7ca4\u8bed\",\n \"vi\": \"\u8d8a\u5357\u8bed\",\n \"jw\": \"\u722a\u54c7\u8bed\",\n \"zh-TW\": \"\u4e2d\u6587\uff08\u7e41\u4f53\uff09\",\n \"zh-CN\": \"\u4e2d\u6587\uff08\u7b80\u4f53\uff09\",\n \"dz\": \"\u5b97\u5361\u8bed\",\n \"zu\": \"\u7956\u9c81\u8bed\"\n}\n```\n\n</p>\n</details>\n\n\u5728\u5e93\u4e2d\u8bbf\u95ee\n\n```python\nfrom pygtrans import SOURCE_LANGUAGES, TARGET_LANGUAGES\n\nprint('\u652f\u6301\u7684\u6e90\u8bed\u8a00:')\nfor code, lang in SOURCE_LANGUAGES.items():\n print(code, lang)\n\nprint('\u652f\u6301\u7684\u76ee\u6807\u8bed\u8a00:')\nfor code, lang in TARGET_LANGUAGES.items():\n print(code, lang)\n\n```\n\n## \u5fc5\u770b\u8bf4\u660e\n\n1. `pygtrans`\u4e2d\u5305\u542b\u4e24\u4e2a\u7ffb\u8bd1\u6a21\u5757\n 1. `Translate`:\n - \u5b8c\u5168\u514d\u8d39\uff0c\u652f\u6301\u6279\u91cf\n - \u4ece2021\u5e749\u670815\u65e5\u5f00\u59cb, \u9700\u8981\u7ffb\u5899\u624d\u80fd\u4f7f\u7528, \u5177\u4f53\u53c2\u8003 [#8](https://github.com/foyoux/pygtrans/issues/8)\n 2. `ApiKeyTranslate`: \u9700\u8981\u6709\u6548\u7684\u8c37\u6b4c\u7ffb\u8bd1 **API KEY\n **\uff0c[\u8c37\u6b4c\u63d0\u4f9b\u514d\u8d39\u8bd5\u7528](https://cloud.google.com/translate/docs/quickstarts)\n2. `Translate`\u7684\u6700\u4f73\u5b9e\u8df5:\n 1. `http` \u4ee3\u7406\uff1a`Translate(proxies={\"https\": \"http://localhost:10809\"})`\n 2. `socks5` \u4ee3\u7406: `Translate(proxies={\"https\": \"socks5://localhost:10808\"})`\n 3. **\u91cd\u8981**\uff1a\u5c3d\u91cf\u4e00\u6b21\u6027\u591a\u7ffb\u8bd1\uff0c\u51cf\u5c11\u8bf7\u6c42\u6b21\u6570\uff0c\u53c2\u8003 [#13](https://github.com/foyoux/pygtrans/issues/13)\uff0c\u6bd4\u5982\u4e00\u6b21\u6027\u7ffb\u8bd1\n 2000 / 5000 / 10000\uff0c\u751a\u81f3\u4e00\u6b21\u6027 100000 \u6761\n",
"bugtrack_url": null,
"license": null,
"summary": "Google Translate, support APIKEY",
"version": "1.6.1",
"project_urls": {
"Bug Tracker": "https://github.com/foyoux/pygtrans/issues",
"Homepage": "https://github.com/foyoux/pygtrans",
"Source": "https://github.com/foyoux/pygtrans"
},
"split_keywords": [
"pygtrans",
" google",
" translate",
" apikey",
" text",
" html",
" google.cn",
" google.com"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e9ab3736a36f91fe46b044cc569bad6c268b366294d96a21f0be963abe0d2fe2",
"md5": "94e979be03cdafde781fb38963c09114",
"sha256": "55fee06d7d9cafe20e6f51399f734e7186b966df9dbaa9c3c8763e9aa2d1182d"
},
"downloads": -1,
"filename": "pygtrans-1.6.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "94e979be03cdafde781fb38963c09114",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 28763,
"upload_time": "2024-10-21T05:03:59",
"upload_time_iso_8601": "2024-10-21T05:03:59.935208Z",
"url": "https://files.pythonhosted.org/packages/e9/ab/3736a36f91fe46b044cc569bad6c268b366294d96a21f0be963abe0d2fe2/pygtrans-1.6.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dee3e0c04ae288b2f25664c785d7b1e84fc640cd7ca3fc60aefb84ad80e6f770",
"md5": "e2d5596f403c41ca471eb9e542913ca5",
"sha256": "232e86ae56d0e1c2c680f1e94da414f44905f4fa403ef919667d4e7eef0b2c8f"
},
"downloads": -1,
"filename": "pygtrans-1.6.1.tar.gz",
"has_sig": false,
"md5_digest": "e2d5596f403c41ca471eb9e542913ca5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 29119,
"upload_time": "2024-10-21T05:04:01",
"upload_time_iso_8601": "2024-10-21T05:04:01.834589Z",
"url": "https://files.pythonhosted.org/packages/de/e3/e0c04ae288b2f25664c785d7b1e84fc640cd7ca3fc60aefb84ad80e6f770/pygtrans-1.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-21 05:04:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "foyoux",
"github_project": "pygtrans",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "requests",
"specs": []
}
],
"lcname": "pygtrans"
}