When CCAI Platform calls the Dialogflow API, it provides a language attribute to help Dialogflow determine the appropriate language to use for the agent. CCAI Platform determines the language attribute based on the queue language for the session.
The following table provides the mapping of CCAI Platform language to Dialogflow language.
CCAI Platform Language | CCAI Platform Code | Dialogflow Language | Dialogflow Code |
---|---|---|---|
English (US)
|
en | English | en |
English - United States
|
en-US | ||
Spanish (Spain)
|
es | Spanish - European | es-ES |
French (France)
|
fr | French | fr |
French - European
|
fr-FR | ||
German
|
de | German | de |
Japanese
|
ja | Japanese | ja |
Chinese (Simplified)
|
zh | Chinese - Simplified | zh-CN |
Italian
|
it | Italian | it |
Korean
|
ko | Korean -South Korea | ko |
Portuguese (Portugal)
|
pt | Portuguese (European) | pt |
Portuguese (Brazil)
|
pt-BR | ||
Portuguese (Brazilian)
|
pt-BR | ||
Swedish
|
sv | Swedish | sv |
Finnish
|
fi | Finnish | fi |
Norwegian
|
nb | Norwegian | no |
Danish
|
da | Danish | da |
Dutch
|
nl | Dutch | nl |
Spanish (Mexico)
|
es-MX | Spanish | es |
Chinese (Traditional)
|
zh-Hant | Chinese (Traditional) | zh-TW |
English (UK)
|
en-GB | English (UK) | en-GB |
English (Canada)
|
en-CA | English (Canada) | en-CA |
French (Canada)
|
fr-CA | French (Canada) | fr-CA |