{"id":29554554,"url":"https://github.com/omochice/dps-translate-vim","last_synced_at":"2025-10-28T20:20:34.731Z","repository":{"id":38315706,"uuid":"391869889","full_name":"Omochice/dps-translate-vim","owner":"Omochice","description":"Translation plugin for Vim / Neovim by denops.vim","archived":false,"fork":false,"pushed_at":"2024-04-13T11:26:27.000Z","size":88,"stargazers_count":6,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-14T01:10:49.768Z","etag":null,"topics":["vim-denops","vim-plugin"],"latest_commit_sha":null,"homepage":"","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/Omochice.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2021-08-02T08:28:39.000Z","updated_at":"2024-05-06T12:39:10.231Z","dependencies_parsed_at":"2023-10-02T03:31:22.388Z","dependency_job_id":"866f2aea-360d-433a-ba8c-a2e64760d612","html_url":"https://github.com/Omochice/dps-translate-vim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Omochice/dps-translate-vim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omochice%2Fdps-translate-vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omochice%2Fdps-translate-vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omochice%2Fdps-translate-vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omochice%2Fdps-translate-vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Omochice","download_url":"https://codeload.github.com/Omochice/dps-translate-vim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omochice%2Fdps-translate-vim/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265716345,"owners_count":23816358,"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":["vim-denops","vim-plugin"],"created_at":"2025-07-18T07:10:05.383Z","updated_at":"2025-10-19T14:55:20.891Z","avatar_url":"https://github.com/Omochice.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# dps-translate-vim\n\nThe translate plugin for Vim/Neovim using [denops.vim](https://github.com/vim-denops/denops.vim).\n\nRespect for [skanehira/translate.vim](https://github.com/skanehira/translate.vim).\n\n## Install\n\nThis plugin is depends on [denops.vim](https://github.com/vim-denops/denops.vim).\n\n- `vim-plug`\n    ```vim\n    Plug 'vim-denops/denops.vim'\n    Plug 'Omochice/dps-translate-vim'\n    ```\n- `dein.vim`\n    ```vim\n    call dein#add(\"vim-denops/denops.vim\")\n    call dein#add(\"Omochice/dps-translate-vim\")\n    ```\n\n## Usage\n\n- Set `g:dps_translate_source` and `g:dps_translate_target`\n    ```vim\n    let g:dps_translate_source = \"en\"\n    let g:dps_translate_target = \"ja\"\n    ```\n\n- Run `:Translate` on Normal mode, The result of translation is shown.\n\n![on_normal_mode](https://i.gyazo.com/0b3fe58f06e2a9c2c97da42d7dd6c87d.gif)\n\n\n- Run `:Translate!` can translate reverse.\n\n![on_normal_mode_reverse](https://i.gyazo.com/b73bfcba35e6005e81f8c319724241c2.gif)\n\n- Can give a sentence as an argument also.\n    ```vim\n    :Translate \u003csentence\u003e\n    ```\n\n- In visual mode, can select row and translate it.\n\n![on_visual_mode](https://i.gyazo.com/2850c0c785a99134f5f1f49ccb2df462.gif)\n\n- If you want to translate multiple sentences as one sentence, Use `TranslateJoin`.\n\n![Join](https://i.gyazo.com/7a3a477763de36d4fc754b9556bd8ffe.gif)\n\n## VARIABLES\n\n- `g:dps_translate_source`\n\tThe string of translation source language.\n\tDefault: `'en'`\n\n- `g:dps_translate_target`\n\tThe string of translation source language.\n\tDefault: `'ja'`\n\n- `g:dps_translate_engine`\n\tUse engine.\n\tDefault: `'google'`\n\n- `g:dps_translate_deepl_token`\n\tToken for using deepl.\n\tDefault: None\n\n- `g:dps_translate_deepl_is_pro`\n\tEither pro plan or free plan.\n\tDefault: `v:false`\n\n- `g:dps_translate_border`\n\tDict for border like:\n    ```vim\n\tlet g:dps_translate_border = {\n\t    \\ 'topLeft': '┌',\n\t    \\ 'top':  '─',\n\t    \\ 'topRight': '┐',\n\t    \\ 'left': '│',\n\t    \\ 'right': '│',\n\t    \\ 'bottomLeft': '└',\n\t    \\ 'bottom':  '─',\n\t    \\ 'bottomRight': '┘',\n\t    \\ }\n    ```\n\tDefault: `'none'` (no border)\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomochice%2Fdps-translate-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomochice%2Fdps-translate-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomochice%2Fdps-translate-vim/lists"}