Skip to content

Instantly share code, notes, and snippets.

@johnwunder
Last active January 29, 2016 21:27
Show Gist options
  • Save johnwunder/86fe03f6d3ca5745c6a2 to your computer and use it in GitHub Desktop.
Save johnwunder/86fe03f6d3ca5745c6a2 to your computer and use it in GitHub Desktop.
Translation via relationship
[
{
"id": "report--cbf7a3eb-5ef0-42ef-a30c-14be2a14cc1d",
"type": "report",
"lang": "en",
"created_at": "2016-01-29T21:18:33Z",
"title": "Hi, this text is in English",
"description": "So is this"
},
{
"id": "relationship--7f3fcd28-9a4b-480b-852b-77e7b33db237",
"type": "relationship",
"source_ref": "report--cbf7a3eb-5ef0-42ef-a30c-14be2a14cc1d",
"target_ref": "report--5cfa580e-ea87-4d11-b0cc-600af7a64968",
"bidirectional": true,
"value": "translation-of"
},
{
"id": "report--5cfa580e-ea87-4d11-b0cc-600af7a64968",
"type": "report",
"lang": "es",
"created_at": "2016-01-29T21:18:33Z",
"title": "Hola, este texto es español",
"description": "Asi es esto"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment