{"id":29543142,"url":"https://github.com/docyet/deepl.jl","last_synced_at":"2026-03-09T09:02:06.678Z","repository":{"id":302607075,"uuid":"1013010748","full_name":"DOCYET/DeepL.jl","owner":"DOCYET","description":"DeepL SDK for Julia (unofficial)","archived":false,"fork":false,"pushed_at":"2026-02-19T13:06:13.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-19T14:07:52.171Z","etag":null,"topics":["deepl","deepl-translation-api","julia","sdk","translation"],"latest_commit_sha":null,"homepage":"","language":"Julia","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/DOCYET.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-03T08:17:08.000Z","updated_at":"2026-02-19T13:06:18.000Z","dependencies_parsed_at":"2025-07-03T10:21:10.915Z","dependency_job_id":"6b79337f-06a3-419e-a37f-13545b8bff10","html_url":"https://github.com/DOCYET/DeepL.jl","commit_stats":null,"previous_names":["docyet/deepl.jl","docyet/deeplsdk.jl"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/DOCYET/DeepL.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DOCYET%2FDeepL.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DOCYET%2FDeepL.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DOCYET%2FDeepL.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DOCYET%2FDeepL.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DOCYET","download_url":"https://codeload.github.com/DOCYET/DeepL.jl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DOCYET%2FDeepL.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30288786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["deepl","deepl-translation-api","julia","sdk","translation"],"created_at":"2025-07-17T13:02:54.200Z","updated_at":"2026-03-09T09:02:06.665Z","avatar_url":"https://github.com/DOCYET.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeepL SDK for Julia\n\nDeepL SDK in Julia provides functionality for translating text strings, detecting languages and listing available languages. This package allows you to interact with the DeepL API from Julia.\n\n## Setup\nTo use this package, you need to set the environment variable `DEEPL_API_KEY` with your DeepL API key.\n\n## Available Functions\n\n| Function | Description | Input | Output |\n|---|---|---|---|\n| `translate_text(text, source, target)` | Translate text specifying source and target languages | `String` or `Vector{String}` | `String` or `Vector{String}` |\n| `translate_text(text, source =\u003e target)` | Translate text using Pair syntax | `String` or `Vector{String}` | `String` or `Vector{String}` |\n| `translate_text(text, target)` | Translate text with auto-detected source language | `String` or `Vector{String}` | `String` or `Vector{String}` |\n| `detect_language(text)` | Detect the language of the given text | `String` or `Vector{String}` | `String` or `Vector{String}` |\n| `get_languages(type)` | List supported languages | `\"source\"` (default) or `\"target\"` | `Vector{Dict{String, Any}}` |\n\n## Usage\nFirst, import the package:\n```julia\nusing DeepL\n```\n\n### Translate a Single Text\nYou can translate a single text string using either of the following syntaxes:\n\n```julia\ntext = \"Good morning, I would like a tea and some cake\"\n\ntranslate_text(text, \"EN\" =\u003e \"DE\")\n# Output: \"Guten Morgen, ich hätte gerne einen Tee und ein Stück Kuchen\"\n\ntranslate_text(text, \"EN\", \"DE\")\n# Output: \"Guten Morgen, ich hätte gerne einen Tee und ein Stück Kuchen\"\n```\n\nAlternatively, specify only the target language, and DeepL will infer the source language:\n\n```julia\ntranslate_text(text, \"DE\")\n# Output: \"Guten Morgen, ich hätte gerne einen Tee und ein Stück Kuchen\"\n```\nWhen not specifying the source language, it's possible that being the text too short, the language won't be correctly inferred.\n\n### Translate Multiple Texts\nTranslate multiple text strings in a single API call:\n\n```julia\ntexts = [\n    \"Good morning, I would like a tea and some cake\",\n    \"How are you doing today?\",\n    \"I am sooo tired, man...\"\n]\n\ntranslate_text(texts, \"EN\" =\u003e \"DE\")\n# Output:\n# 3-element Vector{String}:\n# \"Guten Morgen, ich hätte gerne einen Tee und ein Stück Kuchen\"\n# \"Wie geht es Ihnen heute?\"\n# \"Ich bin sooo müde, Mann...\"\n```\n\n### Detect Language\nDetect the language of a single text:\n\n```julia\ndetect_language(\"Guten Morgen, ich hätte gerne einen Tee\")\n# Output: \"DE\"\n\ndetect_language(\"Good morning, I would like a tea\")\n# Output: \"EN\"\n```\n\nDetect the language of multiple texts in a single API call:\n\n```julia\ndetect_language([\"Bonjour le monde\", \"Hola mundo\", \"Ciao mondo\"])\n# Output: [\"FR\", \"ES\", \"IT\"]\n```\n\n\u003e **Note:** Since the DeepL API does not provide a dedicated language detection endpoint, `detect_language` uses the translate endpoint internally and extracts the detected source language from the response.\n\n### List Available Languages\nRetrieve the list of supported source languages:\n\n```julia\nget_languages()\n# Output: [Dict(\"language\" =\u003e \"DE\", \"name\" =\u003e \"German\"), Dict(\"language\" =\u003e \"EN\", \"name\" =\u003e \"English\"), ...]\n```\n\nRetrieve the list of supported target languages (includes `supports_formality` field):\n\n```julia\nget_languages(\"target\")\n# Output: [Dict(\"language\" =\u003e \"DE\", \"name\" =\u003e \"German\", \"supports_formality\" =\u003e true), ...]\n```\n\n## Resources\n\n-  [DeepL API documentation](https://developers.deepl.com/docs/getting-started/intro).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocyet%2Fdeepl.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocyet%2Fdeepl.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocyet%2Fdeepl.jl/lists"}