In this article you can read more about using the translation resource. The following part will show you examples including provided data and data you need to provide if you want to use this resource. Please read the page covering the translation API resource if you did not yet, to get more information about the translation resource and the data it provides.
This example shows how to create a new article translation
{
"key": 200,
"type": "article",
"shopId": 2,
"data": {
"name": "Dummy translation",
"__attribute_attr1": "Dummy attribute translation"
}
}
{
"type": "article",
"shopId": 2,
"data": {
"name": "Dummy translation",
"__attribute_attr1": "Dummy attribute translation"
}
}
{
"key": 6,
"type": "propertygroup",
"shopId": 2,
"data": {
"groupName": "Dummy translation"
}
}
{
"type": "propertygroup",
"shopId": 2,
"data": {
"groupName": "Dummy translation edited"
}
}
{
"key": 1,
"type": "propertyoption",
"shopId": 2,
"data": {
"optionName": "Dummy translation"
}
}
{
"type": "propertyoption",
"shopId": 2,
"data": {
"optionName": "Dummy translation edited"
}
}
{
"key": 166,
"type": "propertyvalue",
"shopId": 2,
"data": {
"optionValue": "Dummy translation"
}
}
{
"type": "propertyvalue",
"shopId": 2,
"data": {
"optionValue": "Dummy translation edited"
}
}
[
{
"key": 177,
"type": "propertyvalue",
"shopId": 2,
"data": {
"optionValue": "Dummy translation edited"
}
},
{
"key": 178,
"type": "propertyvalue",
"shopId": 2,
"data": {
"optionValue": "Another dummy translation edited"
}
}
]