{"id":29200870,"url":"https://github.com/datopian/ckanext-translate","last_synced_at":"2026-07-03T07:31:02.810Z","repository":{"id":141958262,"uuid":"414434649","full_name":"datopian/ckanext-translate","owner":"datopian","description":"A CKAN extension that provides APIs for translating strings using a third-party service.","archived":false,"fork":false,"pushed_at":"2025-06-14T15:28:30.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-07-02T11:13:43.278Z","etag":null,"topics":["ckan","i18n"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datopian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-10-07T02:19:29.000Z","updated_at":"2021-10-27T04:33:04.000Z","dependencies_parsed_at":"2025-01-20T15:38:03.786Z","dependency_job_id":null,"html_url":"https://github.com/datopian/ckanext-translate","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/datopian/ckanext-translate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-translate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-translate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-translate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-translate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datopian","download_url":"https://codeload.github.com/datopian/ckanext-translate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-translate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35077504,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ckan","i18n"],"created_at":"2025-07-02T11:06:04.307Z","updated_at":"2026-07-03T07:31:02.805Z","avatar_url":"https://github.com/datopian.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":" [![CKAN](https://img.shields.io/badge/ckan-2.7-orange.svg?style=flat-square)](https://github.com/ckan/ckan/tree/2.7) [![CKAN](https://img.shields.io/badge/ckan-2.8-orange.svg?style=flat-square)](https://github.com/ckan/ckan/tree/2.8) [![CKAN](https://img.shields.io/badge/ckan-2.9-orange.svg?style=flat-square)](https://github.com/ckan/ckan/tree/2.9) \n\n Note: This plugin is tested with CKAN 2.8 or later version but hasn't been tested on earlier version. \n\n# ckanext-translate\nThis extension provides an REST API that translates the provided text into the given languages. At the moment, it uses [IBM Watson Language Translator](https://www.ibm.com/cloud/watson-language-translator) APIs on backend for translation. In the future, other third-part services can be integrated.\n\n\n## Installation\nTo install ckanext-translate extension. \n1. Activate your CKAN virtual environment, for example:\n    ```\n     . /usr/lib/ckan/default/bin/activate\n    ```\n\n2. Clone the source and install it on the virtualenv\n    ```\n    git clone https://github.com/datopian/ckanext-translate.git\n    cd ckanext-translate\n    pip install -e .\n  \tpip install -r requirements.txt\n    ```\n\n3. Add `translate` to the `ckan.plugins` setting in your CKAN\n   config file (by default the config file is located at\n   `/etc/ckan/default/ckan.ini`) and restart ckan service.\n\n\n## Config settings\n  Following environment variables must be added. To get a IBM Watson Translator API key and url, you need to sign up for IBM cloud account and create [Language translator](https://www.ibm.com/cloud/watson-language-translator) instance. \n\n  ```\n    ckanext.translate.ibm_url = \u003cIBM watson translator url\u003e\n    ckanext.translate.ibm_key = \u003cIBM watson translator API key\u003e \n  ```\n\n\n## API Documentation\n**API Endpont:** `/api/3/action/translate`\n\n`input` You can pass keys values text for the translate.  \\\n`from` Parameter to specify the language code of the language you want to translate from. \\\n`to` Parameter to specify the language code of the language you want to translate. \n\n\nRequest example:\n```json\n{\n  \"input\": {\n    \"title\": \"My dataset title\",\n    \"notes\": \"Some notes about my dataset.\"\n  },\n  \"from\": \"en\",\n  \"to\": \"fr\"\n}\n ```\n\nResponse example: \n\n```json\n{\n\"result\": {\n  \"output\": {\n      \"title\": \"Mon titre de jeu de données\",\n      \"notes\": \"Quelques notes sur mon jeu de données.\"\n    }\n  }  \n}\n```\n\n\n\n## Developer installation\nTo install ckanext-translate for development, activate your CKAN virtualenv and\ndo:\n\n    git clone https://github.com/datopian/ckanext-translate.git\n    cd ckanext-translate\n    python setup.py develop\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatopian%2Fckanext-translate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatopian%2Fckanext-translate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatopian%2Fckanext-translate/lists"}