{"id":21188122,"url":"https://github.com/dev1an/meteor-ms-translate","last_synced_at":"2025-03-14T20:24:12.434Z","repository":{"id":33163775,"uuid":"36804694","full_name":"Dev1an/Meteor-MS-Translate","owner":"Dev1an","description":"Microsoft Translate for Meteor","archived":false,"fork":false,"pushed_at":"2015-06-03T16:59:46.000Z","size":140,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T13:09:29.692Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Dev1an.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-06-03T13:16:48.000Z","updated_at":"2021-03-27T17:23:10.000Z","dependencies_parsed_at":"2022-08-07T20:01:45.458Z","dependency_job_id":null,"html_url":"https://github.com/Dev1an/Meteor-MS-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/Dev1an%2FMeteor-MS-Translate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FMeteor-MS-Translate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FMeteor-MS-Translate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FMeteor-MS-Translate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dev1an","download_url":"https://codeload.github.com/Dev1an/Meteor-MS-Translate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243640683,"owners_count":20323706,"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-20T18:42:40.640Z","updated_at":"2025-03-14T20:24:12.411Z","avatar_url":"https://github.com/Dev1an.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installation\n\nAdd the atmosphere package to your app: `meteor add devian:mstranslate`\n\nUse the followng `settings.json` file with your app:\n\n```js\n{\n  ...\n  \"msTranslator\": {\n    \"id\": \"\u003cclient_id\u003e\",\n    \"secret\": \"\u003cclient_secret\u003e\"\n  }\n  ...\n}\n```\n\n# Usage\n\n## Translation\n\nTo translate some text, use the `Microsoft.translate` function. It takes 2 arguments:\n- `text`: a String you want to translate\n- `language`: the language-code of the language you want to translate the text to\n\n### Example: \n\n```js\nMicrosoft.translate(\"Hello world\", \"nl\")\n```\nreturns\n```js\n'Hallo mensen'\n```\n\n## Language detection\n\n`Microsoft.detect(text)`\n- `text`: some text you want to get the language-code from\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev1an%2Fmeteor-ms-translate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev1an%2Fmeteor-ms-translate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev1an%2Fmeteor-ms-translate/lists"}