{"id":18387822,"url":"https://github.com/dhowe/ritranslate","last_synced_at":"2025-04-12T03:19:15.597Z","repository":{"id":26084388,"uuid":"29528352","full_name":"dhowe/RiTranslate","owner":"dhowe","description":"A translation API for RiTa","archived":false,"fork":false,"pushed_at":"2016-02-28T05:44:33.000Z","size":1202,"stargazers_count":2,"open_issues_count":2,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-12T03:19:12.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/dhowe.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}},"created_at":"2015-01-20T12:17:37.000Z","updated_at":"2019-12-20T12:42:00.000Z","dependencies_parsed_at":"2022-08-25T01:00:21.616Z","dependency_job_id":null,"html_url":"https://github.com/dhowe/RiTranslate","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/dhowe%2FRiTranslate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhowe%2FRiTranslate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhowe%2FRiTranslate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhowe%2FRiTranslate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhowe","download_url":"https://codeload.github.com/dhowe/RiTranslate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248509998,"owners_count":21116130,"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-11-06T01:28:08.671Z","updated_at":"2025-04-12T03:19:15.579Z","avatar_url":"https://github.com/dhowe.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n## RiTranslate: open-source translation for computational writing\n\u003c!--[![Build Status](https://travis-ci.org/dhowe/RiTranslate.svg?branch=master)](https://travis-ci.org/dhowe/RiTranslate)--\u003e\n\n\u003ca href=\"http://www.gnu.org/licenses/gpl-3.0.en.html\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-GPL-orange.svg\" alt=\"npm version\"\u003e\u003c/a\u003e\n\nA set of new translation features for the RiTa toolkit, allowing users to  do programmatic, real-time translation from within RiTa-based works. \n\n\u003ca href=\"https://rednoise.org/rita/\"\u003e\u003cimg height=150 src=\"https://rednoise.org/ritran.png\"/\u003e\u003c/a\u003e\n\n\u003ca href=\"http://dhowe.github.io/RiTranslate/docs/rita/translate/GoogleTranslate.html\"\u003e[javadocs]\u003c/a\u003e\n\n### With Processing\n\n1. If needed, download and install [Processing](https://processing.org/download/?processing).\n2. Download and unzip [RiTranslate.zip](https://github.com/dhowe/RiTranslate/raw/master/RiTranslate.zip) to the \"libraries\" folder inside your Processing sketchbook (detailed instructions [here](https://github.com/dhowe/RiTranslate/blob/master/install_instructions.txt)). \n3. Restart Processing, then create a test sketch as follows:\n```processing\nimport rita.translate.*;\n\nvoid setup() {\n\n  GoogleTranslate googleTranslate = new GoogleTranslate();\n\n  // language code reference: http://www.w3schools.com/tags/ref_language_codes.asp\n  String translation = googleTranslate.translate(\"cat\", \"en\", \"zh-Hant\");\n  \n  fill(0);\n  textAlign(CENTER);\n  text(translation, width/2, height/2);\n}\n```\n\n### With Eclipse and Maven\n\n1. Download and install [Eclipse](https://eclipse.org/downloads/)\n2. Import RiTranslate, in Eclipse File \u003e Import.. \u003e Git \u003e Projects from Git \u003e Clone URI \u003e URI : https://github.com/dhowe/RiTranslate.git \n3. Note: depending on your language, you may need to set your Eclipse editor to use the UTF8 character set: Window \u003e Preferences \u003e General \u003e Workspace :: Text file encoding\n4. To run the tests, navigate to src/test/java/GoogleTranslateTest.java in the package-explorer, then right-click and select  Run As \u003e JUnit Test\n \n\u003cbr\u003e\n\n---\n\nSponsored in part by a [Teaching Development Grant](http://www.cityu.edu.hk/edge/grant/tdg/) from the City University of Hong Kong.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhowe%2Fritranslate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhowe%2Fritranslate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhowe%2Fritranslate/lists"}