{"id":17621249,"url":"https://github.com/dev-warner/dc-extensions-localisation","last_synced_at":"2026-01-20T02:07:39.798Z","repository":{"id":39007256,"uuid":"221467111","full_name":"dev-warner/dc-extensions-localisation","owner":"dev-warner","description":"Translating can be long and painful, fast track your inline localisable text with our auto translating custom extension for Dynamic Content CMS.","archived":false,"fork":false,"pushed_at":"2023-01-05T13:20:40.000Z","size":3656,"stargazers_count":0,"open_issues_count":22,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T05:34:45.161Z","etag":null,"topics":["amplience","dc-extensions-sdk","dynamic-content","json-schema"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dev-warner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-13T13:35:37.000Z","updated_at":"2019-12-17T19:05:38.000Z","dependencies_parsed_at":"2022-08-25T21:51:47.527Z","dependency_job_id":null,"html_url":"https://github.com/dev-warner/dc-extensions-localisation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-warner%2Fdc-extensions-localisation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-warner%2Fdc-extensions-localisation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-warner%2Fdc-extensions-localisation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-warner%2Fdc-extensions-localisation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-warner","download_url":"https://codeload.github.com/dev-warner/dc-extensions-localisation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247574353,"owners_count":20960547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amplience","dc-extensions-sdk","dynamic-content","json-schema"],"created_at":"2024-10-22T20:12:02.097Z","updated_at":"2026-01-20T02:07:39.754Z","avatar_url":"https://github.com/dev-warner.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Amplience Dynamic Content](header.png)](https://amplience.com/dynamic-content)\n\n# dc-extension-localise\n\n![Travis](https://img.shields.io/travis/dev-warner/dc-extensions-localisation)\n\n\u003e Translating can be long and painful fast track your inline localisable text with our auto translating custom extension.\n\n## dev\n\n```bash\n$ npm run start\n```\n\n## build\n\n```bash\n$ npm run build\n```\n\n![Translate](translate.gif)\n\n## Register the extension\n\n-   Name your extension\n-   Add your extension url\n-   Generate API Key from [here](https://translate.yandex.com/developers/keys)\n-   Add under installation params called TRANSLATION_API_KEY\n\n### Here is a snippet so you can add your extension easily\n\n```json\n{\n    \"title\": \"title\",\n    \"description\": \"description\",\n    \"allOf\": [\n        {\n            \"$ref\": \"http://bigcontent.io/cms/schema/v1/localization#/definitions/localized-string\"\n        }\n    ],\n    \"ui:extension\": {\n        \"name\": \"\u003cyour name of extension here\u003e\"\n    }\n}\n```\n\n### Example Installation Params\n\n```json\n{\n    \"TRANSLATION_API_KEY\": \"trnsl.1.1.20181113T13154q3434df54b6aa.051c8d933f00f1315ba7esaf3497d2922dace4eb64a1\"\n}\n```\n\n## Content Type Schema\n\nHere is a basic schema just including the translate custom extension.\n\n```json\n{\n    \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n    \"$id\": \"http://localise.com\",\n\n    \"title\": \"Title\",\n    \"description\": \"Description\",\n\n    \"allOf\": [\n        {\n            \"$ref\": \"http://bigcontent.io/cms/schema/v1/core#/definitions/content\"\n        }\n    ],\n\n    \"type\": \"object\",\n    \"properties\": {\n        \"localise\": {\n            \"title\": \"title\",\n            \"description\": \"description\",\n            \"allOf\": [\n                {\n                    \"$ref\": \"http://bigcontent.io/cms/schema/v1/localization#/definitions/localized-string\"\n                }\n            ],\n            \"ui:extension\": {\n                \"name\": \"\u003cyour name of extension here\u003e\"\n            }\n        }\n    },\n    \"propertyOrder\": []\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-warner%2Fdc-extensions-localisation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-warner%2Fdc-extensions-localisation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-warner%2Fdc-extensions-localisation/lists"}