Translating can be long and painful fast track your inline localisable text with our auto translating custom extension.
$ npm run start
$ npm run build
- Name your extension
- Add your extension url
- Generate API Key from here
- Add under installation params called TRANSLATION_API_KEY
{
"title": "title",
"description": "description",
"allOf": [
{
"$ref": "http://bigcontent.io/cms/schema/v1/localization#/definitions/localized-string"
}
],
"ui:extension": {
"name": "<your name of extension here>"
}
}
{
"TRANSLATION_API_KEY": "trnsl.1.1.20181113T13154q3434df54b6aa.051c8d933f00f1315ba7esaf3497d2922dace4eb64a1"
}
Here is a basic schema just including the translate custom extension.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://localise.com",
"title": "Title",
"description": "Description",
"allOf": [
{
"$ref": "http://bigcontent.io/cms/schema/v1/core#/definitions/content"
}
],
"type": "object",
"properties": {
"localise": {
"title": "title",
"description": "description",
"allOf": [
{
"$ref": "http://bigcontent.io/cms/schema/v1/localization#/definitions/localized-string"
}
],
"ui:extension": {
"name": "<your name of extension here>"
}
}
},
"propertyOrder": []
}