Google Translate Supported Languages

A Google Translate Supported Languages Utils

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.greasyfork.org/scripts/441796/1030327/Google%20Translate%20Supported%20Languages.js

;(function () {
  window.kSupportedLanguages = `
  callback({
    sourceLanguages: [
      {
        language: 'auto',
        name: '检测语言'
      },
      {
        language: 'sq',
        name: '阿尔巴尼亚语'
      },
      {
        language: 'ar',
        name: '阿拉伯语'
      },
      {
        language: 'am',
        name: '阿姆哈拉语'
      },
      {
        language: 'az',
        name: '阿塞拜疆语'
      },
      {
        language: 'ga',
        name: '爱尔兰语'
      },
      {
        language: 'et',
        name: '爱沙尼亚语'
      },
      {
        language: 'or',
        name: '奥利亚语'
      },
      {
        language: 'eu',
        name: '巴斯克语'
      },
      {
        language: 'be',
        name: '白俄罗斯语'
      },
      {
        language: 'bg',
        name: '保加利亚语'
      },
      {
        language: 'is',
        name: '冰岛语'
      },
      {
        language: 'pl',
        name: '波兰语'
      },
      {
        language: 'bs',
        name: '波斯尼亚语'
      },
      {
        language: 'fa',
        name: '波斯语'
      },
      {
        language: 'af',
        name: '布尔语(南非荷兰语)'
      },
      {
        language: 'tt',
        name: '鞑靼语'
      },
      {
        language: 'da',
        name: '丹麦语'
      },
      {
        language: 'de',
        name: '德语'
      },
      {
        language: 'ru',
        name: '俄语'
      },
      {
        language: 'fr',
        name: '法语'
      },
      {
        language: 'tl',
        name: '菲律宾语'
      },
      {
        language: 'fi',
        name: '芬兰语'
      },
      {
        language: 'fy',
        name: '弗里西语'
      },
      {
        language: 'km',
        name: '高棉语'
      },
      {
        language: 'ka',
        name: '格鲁吉亚语'
      },
      {
        language: 'gu',
        name: '古吉拉特语'
      },
      {
        language: 'kk',
        name: '哈萨克语'
      },
      {
        language: 'ht',
        name: '海地克里奥尔语'
      },
      {
        language: 'ko',
        name: '韩语'
      },
      {
        language: 'ha',
        name: '豪萨语'
      },
      {
        language: 'nl',
        name: '荷兰语'
      },
      {
        language: 'ky',
        name: '吉尔吉斯语'
      },
      {
        language: 'gl',
        name: '加利西亚语'
      },
      {
        language: 'ca',
        name: '加泰罗尼亚语'
      },
      {
        language: 'cs',
        name: '捷克语'
      },
      {
        language: 'kn',
        name: '卡纳达语'
      },
      {
        language: 'co',
        name: '科西嘉语'
      },
      {
        language: 'hr',
        name: '克罗地亚语'
      },
      {
        language: 'ku',
        name: '库尔德语'
      },
      {
        language: 'la',
        name: '拉丁语'
      },
      {
        language: 'lv',
        name: '拉脱维亚语'
      },
      {
        language: 'lo',
        name: '老挝语'
      },
      {
        language: 'lt',
        name: '立陶宛语'
      },
      {
        language: 'lb',
        name: '卢森堡语'
      },
      {
        language: 'rw',
        name: '卢旺达语'
      },
      {
        language: 'ro',
        name: '罗马尼亚语'
      },
      {
        language: 'mg',
        name: '马尔加什语'
      },
      {
        language: 'mt',
        name: '马耳他语'
      },
      {
        language: 'mr',
        name: '马拉地语'
      },
      {
        language: 'ml',
        name: '马拉雅拉姆语'
      },
      {
        language: 'ms',
        name: '马来语'
      },
      {
        language: 'mk',
        name: '马其顿语'
      },
      {
        language: 'mi',
        name: '毛利语'
      },
      {
        language: 'mn',
        name: '蒙古语'
      },
      {
        language: 'bn',
        name: '孟加拉语'
      },
      {
        language: 'my',
        name: '缅甸语'
      },
      {
        language: 'hmn',
        name: '苗语'
      },
      {
        language: 'xh',
        name: '南非科萨语'
      },
      {
        language: 'zu',
        name: '南非祖鲁语'
      },
      {
        language: 'ne',
        name: '尼泊尔语'
      },
      {
        language: 'no',
        name: '挪威语'
      },
      {
        language: 'pa',
        name: '旁遮普语'
      },
      {
        language: 'pt',
        name: '葡萄牙语'
      },
      {
        language: 'ps',
        name: '普什图语'
      },
      {
        language: 'ny',
        name: '齐切瓦语'
      },
      {
        language: 'ja',
        name: '日语'
      },
      {
        language: 'sv',
        name: '瑞典语'
      },
      {
        language: 'sm',
        name: '萨摩亚语'
      },
      {
        language: 'sr',
        name: '塞尔维亚语'
      },
      {
        language: 'st',
        name: '塞索托语'
      },
      {
        language: 'si',
        name: '僧伽罗语'
      },
      {
        language: 'eo',
        name: '世界语'
      },
      {
        language: 'sk',
        name: '斯洛伐克语'
      },
      {
        language: 'sl',
        name: '斯洛文尼亚语'
      },
      {
        language: 'sw',
        name: '斯瓦希里语'
      },
      {
        language: 'gd',
        name: '苏格兰盖尔语'
      },
      {
        language: 'ceb',
        name: '宿务语'
      },
      {
        language: 'so',
        name: '索马里语'
      },
      {
        language: 'tg',
        name: '塔吉克语'
      },
      {
        language: 'te',
        name: '泰卢固语'
      },
      {
        language: 'ta',
        name: '泰米尔语'
      },
      {
        language: 'th',
        name: '泰语'
      },
      {
        language: 'tr',
        name: '土耳其语'
      },
      {
        language: 'tk',
        name: '土库曼语'
      },
      {
        language: 'cy',
        name: '威尔士语'
      },
      {
        language: 'ug',
        name: '维吾尔语'
      },
      {
        language: 'ur',
        name: '乌尔都语'
      },
      {
        language: 'uk',
        name: '乌克兰语'
      },
      {
        language: 'uz',
        name: '乌兹别克语'
      },
      {
        language: 'es',
        name: '西班牙语'
      },
      {
        language: 'iw',
        name: '希伯来语'
      },
      {
        language: 'el',
        name: '希腊语'
      },
      {
        language: 'haw',
        name: '夏威夷语'
      },
      {
        language: 'sd',
        name: '信德语'
      },
      {
        language: 'hu',
        name: '匈牙利语'
      },
      {
        language: 'sn',
        name: '修纳语'
      },
      {
        language: 'hy',
        name: '亚美尼亚语'
      },
      {
        language: 'ig',
        name: '伊博语'
      },
      {
        language: 'it',
        name: '意大利语'
      },
      {
        language: 'yi',
        name: '意第绪语'
      },
      {
        language: 'hi',
        name: '印地语'
      },
      {
        language: 'su',
        name: '印尼巽他语'
      },
      {
        language: 'id',
        name: '印尼语'
      },
      {
        language: 'jw',
        name: '印尼爪哇语'
      },
      {
        language: 'en',
        name: '英语'
      },
      {
        language: 'yo',
        name: '约鲁巴语'
      },
      {
        language: 'vi',
        name: '越南语'
      },
      {
        language: 'zh-CN',
        name: '中文'
      }
    ],
    targetLanguages: [
      {
        language: 'sq',
        name: '阿尔巴尼亚语'
      },
      {
        language: 'ar',
        name: '阿拉伯语'
      },
      {
        language: 'am',
        name: '阿姆哈拉语'
      },
      {
        language: 'az',
        name: '阿塞拜疆语'
      },
      {
        language: 'ga',
        name: '爱尔兰语'
      },
      {
        language: 'et',
        name: '爱沙尼亚语'
      },
      {
        language: 'or',
        name: '奥利亚语'
      },
      {
        language: 'eu',
        name: '巴斯克语'
      },
      {
        language: 'be',
        name: '白俄罗斯语'
      },
      {
        language: 'bg',
        name: '保加利亚语'
      },
      {
        language: 'is',
        name: '冰岛语'
      },
      {
        language: 'pl',
        name: '波兰语'
      },
      {
        language: 'bs',
        name: '波斯尼亚语'
      },
      {
        language: 'fa',
        name: '波斯语'
      },
      {
        language: 'af',
        name: '布尔语(南非荷兰语)'
      },
      {
        language: 'tt',
        name: '鞑靼语'
      },
      {
        language: 'da',
        name: '丹麦语'
      },
      {
        language: 'de',
        name: '德语'
      },
      {
        language: 'ru',
        name: '俄语'
      },
      {
        language: 'fr',
        name: '法语'
      },
      {
        language: 'tl',
        name: '菲律宾语'
      },
      {
        language: 'fi',
        name: '芬兰语'
      },
      {
        language: 'fy',
        name: '弗里西语'
      },
      {
        language: 'km',
        name: '高棉语'
      },
      {
        language: 'ka',
        name: '格鲁吉亚语'
      },
      {
        language: 'gu',
        name: '古吉拉特语'
      },
      {
        language: 'kk',
        name: '哈萨克语'
      },
      {
        language: 'ht',
        name: '海地克里奥尔语'
      },
      {
        language: 'ko',
        name: '韩语'
      },
      {
        language: 'ha',
        name: '豪萨语'
      },
      {
        language: 'nl',
        name: '荷兰语'
      },
      {
        language: 'ky',
        name: '吉尔吉斯语'
      },
      {
        language: 'gl',
        name: '加利西亚语'
      },
      {
        language: 'ca',
        name: '加泰罗尼亚语'
      },
      {
        language: 'cs',
        name: '捷克语'
      },
      {
        language: 'kn',
        name: '卡纳达语'
      },
      {
        language: 'co',
        name: '科西嘉语'
      },
      {
        language: 'hr',
        name: '克罗地亚语'
      },
      {
        language: 'ku',
        name: '库尔德语'
      },
      {
        language: 'la',
        name: '拉丁语'
      },
      {
        language: 'lv',
        name: '拉脱维亚语'
      },
      {
        language: 'lo',
        name: '老挝语'
      },
      {
        language: 'lt',
        name: '立陶宛语'
      },
      {
        language: 'lb',
        name: '卢森堡语'
      },
      {
        language: 'rw',
        name: '卢旺达语'
      },
      {
        language: 'ro',
        name: '罗马尼亚语'
      },
      {
        language: 'mg',
        name: '马尔加什语'
      },
      {
        language: 'mt',
        name: '马耳他语'
      },
      {
        language: 'mr',
        name: '马拉地语'
      },
      {
        language: 'ml',
        name: '马拉雅拉姆语'
      },
      {
        language: 'ms',
        name: '马来语'
      },
      {
        language: 'mk',
        name: '马其顿语'
      },
      {
        language: 'mi',
        name: '毛利语'
      },
      {
        language: 'mn',
        name: '蒙古语'
      },
      {
        language: 'bn',
        name: '孟加拉语'
      },
      {
        language: 'my',
        name: '缅甸语'
      },
      {
        language: 'hmn',
        name: '苗语'
      },
      {
        language: 'xh',
        name: '南非科萨语'
      },
      {
        language: 'zu',
        name: '南非祖鲁语'
      },
      {
        language: 'ne',
        name: '尼泊尔语'
      },
      {
        language: 'no',
        name: '挪威语'
      },
      {
        language: 'pa',
        name: '旁遮普语'
      },
      {
        language: 'pt',
        name: '葡萄牙语'
      },
      {
        language: 'ps',
        name: '普什图语'
      },
      {
        language: 'ny',
        name: '齐切瓦语'
      },
      {
        language: 'ja',
        name: '日语'
      },
      {
        language: 'sv',
        name: '瑞典语'
      },
      {
        language: 'sm',
        name: '萨摩亚语'
      },
      {
        language: 'sr',
        name: '塞尔维亚语'
      },
      {
        language: 'st',
        name: '塞索托语'
      },
      {
        language: 'si',
        name: '僧伽罗语'
      },
      {
        language: 'eo',
        name: '世界语'
      },
      {
        language: 'sk',
        name: '斯洛伐克语'
      },
      {
        language: 'sl',
        name: '斯洛文尼亚语'
      },
      {
        language: 'sw',
        name: '斯瓦希里语'
      },
      {
        language: 'gd',
        name: '苏格兰盖尔语'
      },
      {
        language: 'ceb',
        name: '宿务语'
      },
      {
        language: 'so',
        name: '索马里语'
      },
      {
        language: 'tg',
        name: '塔吉克语'
      },
      {
        language: 'te',
        name: '泰卢固语'
      },
      {
        language: 'ta',
        name: '泰米尔语'
      },
      {
        language: 'th',
        name: '泰语'
      },
      {
        language: 'tr',
        name: '土耳其语'
      },
      {
        language: 'tk',
        name: '土库曼语'
      },
      {
        language: 'cy',
        name: '威尔士语'
      },
      {
        language: 'ug',
        name: '维吾尔语'
      },
      {
        language: 'ur',
        name: '乌尔都语'
      },
      {
        language: 'uk',
        name: '乌克兰语'
      },
      {
        language: 'uz',
        name: '乌兹别克语'
      },
      {
        language: 'es',
        name: '西班牙语'
      },
      {
        language: 'iw',
        name: '希伯来语'
      },
      {
        language: 'el',
        name: '希腊语'
      },
      {
        language: 'haw',
        name: '夏威夷语'
      },
      {
        language: 'sd',
        name: '信德语'
      },
      {
        language: 'hu',
        name: '匈牙利语'
      },
      {
        language: 'sn',
        name: '修纳语'
      },
      {
        language: 'hy',
        name: '亚美尼亚语'
      },
      {
        language: 'ig',
        name: '伊博语'
      },
      {
        language: 'it',
        name: '意大利语'
      },
      {
        language: 'yi',
        name: '意第绪语'
      },
      {
        language: 'hi',
        name: '印地语'
      },
      {
        language: 'su',
        name: '印尼巽他语'
      },
      {
        language: 'id',
        name: '印尼语'
      },
      {
        language: 'jw',
        name: '印尼爪哇语'
      },
      {
        language: 'en',
        name: '英语'
      },
      {
        language: 'yo',
        name: '约鲁巴语'
      },
      {
        language: 'vi',
        name: '越南语'
      },
      {
        language: 'zh-TW',
        name: '中文(繁体)'
      },
      {
        language: 'zh-CN',
        name: '中文(简体)'
      }
    ]
  })
  `
})()