{"id":24761644,"url":"https://github.com/driebit/mod_autotrans","last_synced_at":"2025-03-23T13:16:04.429Z","repository":{"id":73187201,"uuid":"209264235","full_name":"driebit/mod_autotrans","owner":"driebit","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-21T10:35:30.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-28T19:18:35.443Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","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/driebit.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-18T08:59:29.000Z","updated_at":"2025-01-21T10:35:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5e2edd0-beff-46db-aa82-6661b297c136","html_url":"https://github.com/driebit/mod_autotrans","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/driebit%2Fmod_autotrans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driebit%2Fmod_autotrans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driebit%2Fmod_autotrans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driebit%2Fmod_autotrans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/driebit","download_url":"https://codeload.github.com/driebit/mod_autotrans/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245104528,"owners_count":20561380,"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":[],"created_at":"2025-01-28T19:18:37.690Z","updated_at":"2025-03-23T13:16:04.206Z","avatar_url":"https://github.com/driebit.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"Automatic Translations for Zotonic Resources\n============================================\n\nWhen enabled (and configured) this module automatically translates edited\ntexts in a source language to a destination language.\n\nIt uses:\n\n * Microsoft Cognitive Text Translation Services [1]\n * Google Cloud Translate API [2]\n\nHow does it work?\n-----------------\n\nAfter a resource is updated this module queues a translation task into\nthe Zotonic task queue.\n\nThe translation task checks all texts in the source language for changes.\n\nIf a text was changed then it will request a translation at one of the\nconfigured services and replaces the texts in the target language with the\nnewly translated text.\n\nAfter the update a notification will be sent, which enabled the\nadmin edit form to update its fields with the new translation.\n\nIf this happens, you will see a growl message which also mentions the\ntarget language.\n\nConfiguration\n-------------\n\nThe following keys need to be configured:\n\n  * `mod_autotrans.source_language` The two letter ISO code of the source language\n  * `mod_autotrans.target_language` The two letter ISO code of the destination language\n\nFor Microsoft Cognitive Text Translation Services:\n\n * `mod_autotrans.microsoft_api_secret` One of the API keys from the Translation Services.\n   Currently this module uses the generic endpoint, so no project endpoint needs to be configured.\n\nFor Google Translator:\n\n * `mod_autotrans.google_api_secret` The API Key from the Credentials page on your\n   Google Cloud console at https://console.cloud.google.com/ The Key must have access\n   to the Cloud Translation API\n\nNotes\n-----\n\nPlease note that this module sends your texts to Microsoft and/or Google.\n\nIf you are editing sensitive information then it might not be a good idea to use this service.\n\nAlso, if you allow user-entered content, then you should add to your Privacy Declaration the use\nof these services.\n\nReferences\n----------\n\n - [1] https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-translate\n - [2] https://cloud.google.com/translate/docs/quickstarts\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriebit%2Fmod_autotrans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdriebit%2Fmod_autotrans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriebit%2Fmod_autotrans/lists"}