{"id":16781302,"url":"https://github.com/romantomjak/translate","last_synced_at":"2025-03-16T20:24:57.570Z","repository":{"id":144100851,"uuid":"171546866","full_name":"romantomjak/translate","owner":"romantomjak","description":"Command line tool for Google's Cloud Translation API","archived":false,"fork":false,"pushed_at":"2019-08-11T14:15:48.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T07:10:00.400Z","etag":null,"topics":["cli","cli-utility","google-cloud","google-cloud-translate","translate","translation-api","translation-service"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/romantomjak.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}},"created_at":"2019-02-19T20:44:57.000Z","updated_at":"2022-03-01T18:32:58.000Z","dependencies_parsed_at":"2024-03-06T11:30:21.979Z","dependency_job_id":null,"html_url":"https://github.com/romantomjak/translate","commit_stats":{"total_commits":24,"total_committers":1,"mean_commits":24.0,"dds":0.0,"last_synced_commit":"1ea9b8873482b1976bffcb7a4bbfce31d9383e54"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romantomjak%2Ftranslate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romantomjak%2Ftranslate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romantomjak%2Ftranslate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romantomjak%2Ftranslate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romantomjak","download_url":"https://codeload.github.com/romantomjak/translate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926363,"owners_count":20369968,"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":["cli","cli-utility","google-cloud","google-cloud-translate","translate","translation-api","translation-service"],"created_at":"2024-10-13T07:42:38.487Z","updated_at":"2025-03-16T20:24:57.539Z","avatar_url":"https://github.com/romantomjak.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# translate [![Build Status](https://travis-ci.org/romantomjak/translate.svg?branch=master)](https://travis-ci.org/romantomjak/translate) [![Coverage Status](https://coveralls.io/repos/github/romantomjak/translate/badge.svg?branch=master)](https://coveralls.io/github/romantomjak/translate?branch=master) [![GoDoc](https://godoc.org/github.com/romantomjak/translate?status.svg)](https://godoc.org/github.com/romantomjak/translate)\n\nCommand line client for Google's Cloud Translation API\n\n---\n\n## Requirements\n\nYou'll need to sign up for [Cloud Translation](https://cloud.google.com/translate/) to get your API Key.\n\n## Install\n\n```shell\ngo get -u github.com/romantomjak/translate\n```\n\n## Usage\n\nTo translate with automatic source language detection:\n\n```shell\n$ export TRANSLATE_KEY=xxx\n$ export TRANSLATE_TO=en\n$ translate kuģis\nship\n```\n\nif that doesn't work, you can specify source language manually:\n\n```shell\n$ translate -from lv kuģis\nship\n```\n\nYou can, of course, explicitly override environment values via arguments:\n\n```shell\n$ translate -key yyy -to fr kuģis\nnavire\n```\n\n### Translating whole sentences\n\nBy default each space separated argument is treated as a word and will get translated on its own line like so:\n\n```shell\n$ translate mans kuģis ir visskaistākais\nmy\nship\nand\nthe most beautiful\n```\n\nTo translate whole sentences, wrap it in quotes like so:\n\n```shell\n$ translate \"mans kuģis ir visskaistākais\"\nmy ship is the most beautiful\n```\n\n## Contributing\n\nYou can contribute in many ways and not just by changing the code! If you have \nany ideas, just open an issue and tell me what you think.\n\nContributing code-wise - please fork the repository and submit a pull request.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromantomjak%2Ftranslate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromantomjak%2Ftranslate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromantomjak%2Ftranslate/lists"}