With this app you can translate IBM Watson Assistant in Crowdin and keep the app multilingual.
Attribute | Value |
---|---|
File Extension | .json |
API Type | ibm-watson-assistant |
Source can be edited in Crowdin | No |
Generating translated files via Bundles | Search Crowdin Store |
Supports pluralization | No |
WYSIWYG Preview in the editor | Yes |
Supported types of contextual information | WYSIWYG |
Custom attributes | No |
Existing translations import possibility | Key-value mapping (trivial) |
{
"intents": [
{
"intent": "Hello-messages",
"examples": [
{
"text": "Hello"
}
],
"description": "This contains hello, hi messages."
}
],
"entities": [],
"metadata": {
"api_version": {
"major_version": "v2",
"minor_version": "2018-11-08"
},
"from-sample": true
},
"dialog_nodes": [
{
"type": "standard",
"title": "Anything else",
"output": {
"generic": [
{
"values": [
{
"text": "I didn't understand. You can try rephrasing."
},
{
"text": "Can you reword your statement? I'm not understanding."
},
{
"text": "I didn't get your meaning."
}
],
"response_type": "text",
"selection_policy": "sequential"
}
]
},
"conditions": "anything_else",
"dialog_node": "Anything else",
"previous_sibling": "node_5_1600512941197",
"disambiguation_opt_out": true
},
{
"type": "standard",
"output": {
"generic": [
{
"values": [
{
"text": "Hi ! How can I help you ?"
}
],
"response_type": "text",
"selection_policy": "sequential"
}
]
},
"conditions": "#Hello-messages",
"dialog_node": "node_5_1600512941197",
"previous_sibling": "Welcome"
},
{
"type": "standard",
"title": "Welcome",
"output": {
"generic": [
{
"values": [
{
"text": "Welcome to our Services"
}
],
"response_type": "text",
"selection_policy": "sequential"
}
]
},
"conditions": "welcome",
"dialog_node": "Welcome"
}
],
"counterexamples": [],
"system_settings": {
"off_topic": {
"enabled": true
},
"disambiguation": {
"prompt": "Did you mean:",
"enabled": true,
"randomize": true,
"max_suggestions": 5,
"suggestion_text_policy": "title",
"none_of_the_above_prompt": "None of the above"
},
"system_entities": {
"enabled": true
},
"human_agent_assist": {
"prompt": "Did you mean:"
},
"spelling_auto_correct": true
},
"learning_opt_out": false,
"name": "My first skill",
"language": "en",
"description": ""
}
Notes
Make sure to configure the proper export patterns for your IBM Watson Assistant files you upload to Crowdin. When downloading you should receive files named like "alarm.check_usersays_en.json", "alarm.check_usersays_fr.json". It's recommended to use Crowdin CLI or CVS integration to get translated package ready for import to the IBM Watson Assistant.
Every entry in Intent files woul require langauge code. This langauge code will not be set automatically, either you or a translators should put proper values using Crowdin Editor. If you enable automatic duplicates translation in your project settings, this action can be done once per every target language.
Crowdin is a platform that helps you manage and translate content into different languages. Integrate Crowdin with your repo, CMS, or other systems. Source content is always up to date for your translators, and translated content is returned automatically.
Learn MoreReleased on Aug 21, 2022
Updated on Feb 23, 2024
Published by Crowdin
Identifier:ibm-watson-assistant