Artyom.js 中文翻译
  • Artyom
  • FAQ
  • 翻译相关
  • 开始
    • 简介
    • 必要条件
    • Changelog
  • API
    • isObeying
    • addCommands
    • clearGarbageCollection
    • debug
    • detectErrors
    • device
    • emptyCommands
    • fatality
    • getAvailableCommands
    • getLanguage
    • getProperties
    • getVoices
    • initialize
    • isRecognizing
    • isSpeaking
    • newDictation
    • newPrompt
    • obey
    • on
    • recognizingSupported
    • redirectRecognizedTextOutput
    • remoteProcessorService
    • removeCommands
    • repeatLastSay
    • restart
    • say
    • sayRandom
    • setDebug
    • Shutup
    • simulateInstruction
    • speechSupported
    • when
Powered by GitBook
On this page

Was this helpful?

  1. API

getLanguage

返回 artyom 当前使用的语种

该函数返回在 initialize 函数中初始化的语种,如果 artyom 尚未初始化,那默认语种是 English Great Britain(en-GB)。

Artyom 提供下述语种的全量支持(包括语音识别和语音合成)。

描述

初始化代码

English (USA)

en-US

English (Great Britain) Great Britain

en-GB

Español

es-ES

Deutsch

de-DE

Italiano

it-IT

Français

fr-FR

Japanese

ja-JP

Russian

ru-RU

Brazil

pt-PT

Polski (Poland)

pl-PL

Indonesian (Indonesia)

id-ID

Dutch (netherlands)

nl-NL

Chinese (Cantonese[ 粤語(香港)]

Cantonese: zh-HK

Mandarin[普通话(中国大陆)])

Mandarin: zh-CN

Hindi (India Google हिन्दी)

hi-IN

PreviousgetAvailableCommandsNextgetProperties

Last updated 5 years ago

Was this helpful?