{"id":16445765,"url":"https://github.com/mslinn/jekyll_google_translate","last_synced_at":"2025-10-06T13:19:46.452Z","repository":{"id":214346720,"uuid":"736301278","full_name":"mslinn/jekyll_google_translate","owner":"mslinn","description":"Adds a Google Translate widget to a web page","archived":false,"fork":false,"pushed_at":"2024-12-22T15:08:18.000Z","size":479,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T03:08:00.178Z","etag":null,"topics":["google-translate","jekyll","jekyll-tag"],"latest_commit_sha":null,"homepage":"https://www.mslinn.com/jekyll_plugins/index.html","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/mslinn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-12-27T14:31:18.000Z","updated_at":"2024-12-22T15:08:22.000Z","dependencies_parsed_at":"2024-07-25T15:48:38.325Z","dependency_job_id":null,"html_url":"https://github.com/mslinn/jekyll_google_translate","commit_stats":null,"previous_names":["mslinn/jekyll_google_translate"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_google_translate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_google_translate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_google_translate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_google_translate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mslinn","download_url":"https://codeload.github.com/mslinn/jekyll_google_translate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238445860,"owners_count":19473823,"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":["google-translate","jekyll","jekyll-tag"],"created_at":"2024-10-11T09:45:21.424Z","updated_at":"2025-10-06T13:19:41.421Z","avatar_url":"https://github.com/mslinn.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `Jekyll_google_translate` [![Gem Version](https://badge.fury.io/rb/jekyll_google_translate.svg)](https://badge.fury.io/rb/jekyll_google_translate)\n\nAdds Google Translate to a web page.\n\n\n## Installation\n\nAdd the following to your Jekyll website's `Gemfile`:\n\n```ruby\ngroup :jekyll_plugins do\n  gem 'jekyll_google_translate'\nend\n```\n\nAnd then execute:\n\n```shell\n$ bundle\n```\n\nCopy `demo/assets/css/jekyll_google_translate.css` to your Jekyll web site's CSS directory,\nand update your layout accordingly.\n\n\n## Usage\n\nThe {% google_translate_html %} tag must be called to insert HTML into the page,\nthen the {% google_translate_javascript %} tag must be called to insert Javascript into the page.\nFor example:\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"{{ site.lang | default: \"en-US\" }}\"\u003e\n  \u003chead\u003e\n    \u003clink rel=\"stylesheet\" href=\"{{ '/assets/css/style.css?v=' | append: nowMillis }}\" type=\"text/css\"\u003e\n    \u003clink rel=\"stylesheet\" href=\"{{ '/assets/css/jekyll_google_translate.css?v=' | append: nowMillis }}\" type=\"text/css\"\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cnav id=\"sidebar\"\u003e\n      {% google_translate_html %}\n    \u003c/nav\u003e\n  \u003c/body\u003e\n  {% google_translate_javascript %}\n\u003c/html\u003e\n```\n\nThe above is usually incorporated into a layout, for example, `_layouts/default.html`.\n\n\n## Development\n\nAfter checking out this git repository, install dependencies by typing:\n\n```shell\n$ bin/setup\n```\n\nYou should do the above before running Visual Studio Code.\n\n\n### Run the Tests\n\n```shell\n$ bundle exec rake test\n```\n\n\n### Interactive Session\n\nThe following will allow you to experiment:\n\n```shell\n$ bin/console\n```\n\n\n### Local Installation\n\nTo install this gem onto your local machine, type:\n\n```shell\n$ bundle exec rake install\n```\n\n\n### To Release A New Version\n\nTo create a git tag for the new version, push git commits and tags,\nand push the new version of the gem to https://rubygems.org, type:\n\n```shell\n$ bundle exec rake release\n```\n\n\n## Contributing\n\nBug reports and pull requests are welcome at https://github.com/mslinn/jekyll_google_translate.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fjekyll_google_translate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmslinn%2Fjekyll_google_translate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fjekyll_google_translate/lists"}