{"id":18059442,"url":"https://github.com/codexu/x-translator","last_synced_at":"2025-04-11T11:32:15.669Z","repository":{"id":52651858,"uuid":"213873224","full_name":"codexu/x-translator","owner":"codexu","description":"VSCode 零配置翻译插件，自动获取免费 token，翻译后可驼峰、下划线等格式转换。","archived":false,"fork":false,"pushed_at":"2023-06-06T09:51:15.000Z","size":157,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T07:51:11.661Z","etag":null,"topics":["translate","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=codexu.x-translator","language":"TypeScript","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/codexu.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}},"created_at":"2019-10-09T09:14:14.000Z","updated_at":"2024-12-25T23:46:43.000Z","dependencies_parsed_at":"2023-01-21T11:31:09.126Z","dependency_job_id":"ee1c1bec-9a4a-4e33-b26f-5a89b4bae56a","html_url":"https://github.com/codexu/x-translator","commit_stats":null,"previous_names":["codexu/x-translator","code-device/x-translator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codexu%2Fx-translator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codexu%2Fx-translator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codexu%2Fx-translator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codexu%2Fx-translator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codexu","download_url":"https://codeload.github.com/codexu/x-translator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248384009,"owners_count":21094656,"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":["translate","vscode-extension"],"created_at":"2024-10-31T03:42:01.027Z","updated_at":"2025-04-11T11:32:15.629Z","avatar_url":"https://github.com/codexu.png","language":"TypeScript","readme":"# x-translator\n\n[x-translator](https://github.com/codexu/x-translator) 是一个快速翻译插件，通过选中文本+快捷键达到快速翻译的效果，当翻译多个单词时，可以根据预设的命名规则（例如大小驼峰）的方式替换待翻译的文本。\n\n![翻译](https://tva1.sinaimg.cn/large/006y8mN6ly1g81ax2es1fg30m80cujt5.gif)\n\n## 使用方式\n\n打开文件，选中待翻译的词语或语句。\n\n### 方式1: 通过快捷键(推荐)\n\n如果快捷键使用不便，请自定义快捷键\n\n```sh\nMacOS: Cmd + shift + r\nWindow: Ctrl + shift + r\n```\n\n### 方式2: 通过鼠标右键调出菜单\n\n![右键](https://tva1.sinaimg.cn/large/006y8mN6ly1g82bbszdx9j30a008mmzv.jpg)\n\n### 方式3: 通过命令面板\n\n通过命令面板，输入 `x-translator` 回车达到翻译目的。\n\n## 配置\n\nx-translator 提供 有道（默认）、百度、Google 三种翻译服务商，默认情况下有道提供可以提供更稳定的翻译效果，尽量不使用其他两种。\n\n![配置](https://tva1.sinaimg.cn/large/006y8mN6ly1g82bbthm2kj30go05mdgx.jpg)\n\n## LICENSE\n\n[MIT License](https://github.com/codexu/x-translator/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodexu%2Fx-translator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodexu%2Fx-translator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodexu%2Fx-translator/lists"}