{"id":22120350,"url":"https://github.com/maxpleaner/cli-translate","last_synced_at":"2025-03-24T06:27:41.864Z","repository":{"id":84577015,"uuid":"92685754","full_name":"MaxPleaner/cli-translate","owner":"MaxPleaner","description":"a small wrapper script around translate-shell","archived":false,"fork":false,"pushed_at":"2017-05-28T20:54:25.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T12:15:25.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/MaxPleaner.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":"2017-05-28T20:37:47.000Z","updated_at":"2017-05-28T20:39:05.000Z","dependencies_parsed_at":"2023-03-12T23:42:44.487Z","dependency_job_id":null,"html_url":"https://github.com/MaxPleaner/cli-translate","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/MaxPleaner%2Fcli-translate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fcli-translate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fcli-translate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fcli-translate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaxPleaner","download_url":"https://codeload.github.com/MaxPleaner/cli-translate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245220429,"owners_count":20579779,"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":"2024-12-01T14:22:58.706Z","updated_at":"2025-03-24T06:27:41.838Z","avatar_url":"https://github.com/MaxPleaner.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cli-translate\n\nThis is a script for getting quick translation and pronounciation.\n\nTo install:\n\n- copy the translate_to file into /usr/local/sbin or somewhere on the path\n- mark it as executable\n\nTo use:\n\n```sh\n$ translate_to \u003clang code\u003e \u003cphrase or phrases\u003e\n```\n\nWhat this does:\n\n- speaks the result\n- prints a full translation\n- prints a brief translation (at the bottom, for quickly reading)\n- unless the \"to\" language in English, reverse looks it up (into english) and prints that.\n\nExample:\n\n**whole phrases** - _does a single lookup to Google translate. The whole phrase is between quotes._\n\n```sh\nmax@max ~\u003e translate_to zh \"chinese is known for being difficult to translate back and forth between english\"\nchinese is known for being difficult to translate back and forth between english\n\n中国人很难在英语之间来回翻译\n(Zhōngguó rén hěn nán zài yīngyǔ zhī jiān láihuí fānyì)\n\nTranslations of chinese is known for being difficult to translate back and forth between english\n[ English -\u003e 简体中文 ]\n\nchinese is known for being difficult to translate back and forth between english\n    中国人很难在英语之间来回翻译, 中国被称为是很难翻译来回英语之间\n中国人很难在英语之间来回翻译\n\nreverse translation: \nIt is difficult for Chinese people to translate back and forth between English\n```\n\n**segmented phrase** - _no quotes surround the phrase, so each word triggers a new lookup_\n\n```sh\nmax@max ~\u003e translate_to de this is an apple\nthis\n/T͟His/\n\nDies\n\nDefinitions of this\n[ English -\u003e Deutsch ]\n\npronoun\n    dieses\n        this\n    dieser\n        this\n    diese\n        this, these\n    dies\n        this\n    das\n        that, this, it, who\nis\n\nIst\n\nTranslations of is\n[ English -\u003e Deutsch ]\n\nis\n    Ist\nan\n/an/\n\nein\n\nDefinitions of an\n[ English -\u003e Deutsch ]\n\narticle\n    eine\n        a, an\n    ein\n        a, an\napple\n/ˈapəl/\n\nApfel\n\nDefinitions of apple\n[ English -\u003e Deutsch ]\n\nnoun\n    (der) Apfel\n        apple\nDies\nIst\nein\nApfel\n\nreverse translation: \nThis Is An Apple\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpleaner%2Fcli-translate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxpleaner%2Fcli-translate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpleaner%2Fcli-translate/lists"}