You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.4 KiB
61 lines
1.4 KiB
/// 返回火山引擎的翻译语言配置表(Translation)
|
|
///
|
|
/// 数据来源:火山引擎机器翻译支持语种
|
|
/// 参考: https://www.volcengine.com/docs/4640/35107?lang=zh
|
|
List<Map<String, String>> getVolcanoTranslationLanguageSpecs() {
|
|
return [
|
|
// 中文系列
|
|
{
|
|
'shortCode': 'zh',
|
|
'chineseName': '中文',
|
|
'englishName': 'Chinese',
|
|
'translationCode': 'zh',
|
|
},
|
|
|
|
// 常见通用语种
|
|
{
|
|
'shortCode': 'en',
|
|
'chineseName': '英语',
|
|
'englishName': 'English',
|
|
'translationCode': 'en',
|
|
},
|
|
|
|
{
|
|
'shortCode': 'ja',
|
|
'chineseName': '日语',
|
|
'englishName': 'Japanese',
|
|
'translationCode': 'ja',
|
|
},
|
|
{
|
|
'shortCode': 'id',
|
|
'chineseName': '印尼语',
|
|
'englishName': 'Indonesian',
|
|
'translationCode': 'id',
|
|
},
|
|
{
|
|
'shortCode': 'es',
|
|
'chineseName': '西班牙语',
|
|
'englishName': 'Spanish',
|
|
'translationCode': 'es',
|
|
},
|
|
|
|
{
|
|
'shortCode': 'pt',
|
|
'chineseName': '葡萄牙语',
|
|
'englishName': 'Portuguese',
|
|
'translationCode': 'pt',
|
|
},
|
|
{
|
|
'shortCode': 'fr',
|
|
'chineseName': '法语',
|
|
'englishName': 'French',
|
|
'translationCode': 'fr',
|
|
},
|
|
{
|
|
'shortCode': 'de',
|
|
'chineseName': '德语',
|
|
'englishName': 'German',
|
|
'translationCode': 'de',
|
|
},
|
|
];
|
|
}
|
|
|