{"id":20229173,"url":"https://github.com/datpmt/google-translate-free","last_synced_at":"2025-08-03T23:34:56.199Z","repository":{"id":239161853,"uuid":"798548148","full_name":"datpmt/google-translate-free","owner":"datpmt","description":"Google Translate Free","archived":false,"fork":false,"pushed_at":"2025-03-24T02:16:10.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T01:42:46.156Z","etag":null,"topics":["google-translate","google-translate-free-api","translate"],"latest_commit_sha":null,"homepage":"https://api.datpmt.com","language":"Ruby","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/datpmt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-05-10T02:07:27.000Z","updated_at":"2025-05-15T10:42:10.000Z","dependencies_parsed_at":"2024-08-27T08:27:56.591Z","dependency_job_id":"959c1c0c-ecfe-4821-8ff1-9e77b548c947","html_url":"https://github.com/datpmt/google-translate-free","commit_stats":null,"previous_names":["datpmt/google-translate-free"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/datpmt/google-translate-free","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datpmt%2Fgoogle-translate-free","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datpmt%2Fgoogle-translate-free/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datpmt%2Fgoogle-translate-free/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datpmt%2Fgoogle-translate-free/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datpmt","download_url":"https://codeload.github.com/datpmt/google-translate-free/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datpmt%2Fgoogle-translate-free/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268628814,"owners_count":24281035,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"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":["google-translate","google-translate-free-api","translate"],"created_at":"2024-11-14T07:34:42.037Z","updated_at":"2025-08-03T23:34:56.172Z","avatar_url":"https://github.com/datpmt.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Translate Free\n\nThis repository is a robust translation service designed to help you with a variety of language-based features including direct translations, alternate translations, definitions, examples, transliterations, spelling suggestions, language detection, and highly relevant keyword suggestions.\n\nLet's read the [documents](https://api.datpmt.com) before using it.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'google-translate-free', '~\u003e 1.0.1'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install google-translate-free\n\n## Usage\nTo translate\n```ruby\nTranslate.translate('summer', :vi, :en)\n# =\u003e \"mùa hè\"\n```\nWithout third params, Google Translate will auto-detect your source language.\n```ruby\nTranslate.translate('summer', :vi)\n# =\u003e \"mùa hè\"\n```\nFor alternate Translations\n```ruby\nTranslate.alternate_translations('summer', :vi, :en)\n# =\u003e\n#[\n#  \"mùa hè\",\n#  \"mùa hạ\",\n#  \"hè\"\n#]\n```\nWithout third params, Google Translate will auto-detect your source language.\n```ruby\nTranslate.alternate_translations('summer', :vi)\n# =\u003e\n#[\n#  \"mùa hè\",\n#  \"mùa hạ\",\n#  \"hè\"\n#]\n```\nFor definitions\n```ruby\nTranslate.definitions('summer')\n# =\u003e\n#[\n#  {\n#    :noun=\u003e[\n#      [\"The warmest season of the year, in the northern hemisphere from june to august and in the southern hemisphere from december to february.\", \"\u003cb\u003esummer\u003c/b\u003e vacation.\", nil],\n#      [\"A horizontal bearing beam, especially one supporting joists or rafters.\", nil, nil]\n#    ]\n#  },\n#  {\n#    :verb=\u003e[\n#      [\"Spend the summer in a particular place.\", nil, nil]\n#    ]\n#  }\n#]\n```\nFor examples\n```ruby\nTranslate.examples('summer')\n# =\u003e\n#[\n#  \"The plant flowers in late \u003cb\u003esummer\u003c/b\u003e.\",\n#  \"The golden \u003cb\u003esummer\u003c/b\u003e of her life.\",\n#  \"A long hot \u003cb\u003esummer\u003c/b\u003e.\",\n#  \"\u003cb\u003esummer\u003c/b\u003e vacation.\"\n#]\n```\nFor transliteration\n```ruby\nTranslate.transliteration('summer')\n# =\u003e \"ˈsəmər\"\n```\nFor spelling suggestions\n```ruby\nTranslate.suggest('summmer')\n# =\u003e \"summer\"\n```\nFor language detection\n```ruby\nTranslate.detection('summer')\n# =\u003e [\"en\", 0.93254006]\n```\nFor keyword suggestions\n```ruby\nTranslate.see_more('summers')\n# =\u003e \"summer\"\n```\n\n## Contributors\n\n- [datpmt](https://github.com/datpmt)\n\nI welcome contributions to this project.\n\n1.  Fork it.\n2.  Create your feature branch (`git checkout -b your-feature`).\n3.  Commit your changes (`git commit -am 'Add some feature'`).\n4.  Push to the branch (`git push origin your-feature`).\n5.  Create a new pull request.\n\n## License\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatpmt%2Fgoogle-translate-free","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatpmt%2Fgoogle-translate-free","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatpmt%2Fgoogle-translate-free/lists"}