voldikss / Coc Translator
đ¸ Translation extension for coc.nvim
Stars: â 77
Programming Languages
typescript
32286 projects
Labels
Projects that are alternatives of or similar to Coc Translator
Manpages Ko
ëĻŦë
ė¤ 매ë´ėŧ íė´ė§ ėŧëļ íę¸ ë˛ė
Stars: â 68 (-11.69%)
Mutual labels: translation
Transloco
đ đ The internationalization (i18n) library for Angular
Stars: â 1,185 (+1438.96%)
Mutual labels: translation
Elm I18n
Localization for Elm apps as a pre-build phase with import and export between elm code and CSV/PO
Stars: â 68 (-11.69%)
Mutual labels: translation
Godot Engine.file Editor
A Godot Engine addon that adds a File Editor for multiple file types editing. Create and Write plain text files, configuration files and csv files with custom visualizers and previews. Also supports file translations!
Stars: â 70 (-9.09%)
Mutual labels: translation
Jovanotti
A fimple tranfcoding library from italian to fome ferious flang
Stars: â 71 (-7.79%)
Mutual labels: translation
Dotfiles
Workstation configuration, provisioning and tools
Stars: â 67 (-12.99%)
Mutual labels: neovim
Intero.nvim
Haskell+Neovim lightning fast autocompletion and other IDE functionality
Stars: â 76 (-1.3%)
Mutual labels: neovim
Cosmicos
Sending the lambda calculus into deep space
Stars: â 70 (-9.09%)
Mutual labels: translation
Alfred Dict.cc Workflow
Alfred 3/4 workflow to get translations from dict.cc
Stars: â 69 (-10.39%)
Mutual labels: translation
Go Translate
Improved Google Translate interface with asynchronous request and better user experience.
Stars: â 70 (-9.09%)
Mutual labels: translation
Wishlist
A public catalogue of Lua plugins Neovim users would like to see exist
Stars: â 74 (-3.9%)
Mutual labels: neovim
Sparsely Grouped Gan
Code for paper "Sparsely Grouped Multi-task Generative Adversarial Networks for Facial Attribute Manipulation"
Stars: â 68 (-11.69%)
Mutual labels: translation
Neoline.vim
Status Line for Neovim focused on beauty and performance â
Stars: â 69 (-10.39%)
Mutual labels: neovim
Ncm2
â¤ī¸ Slim, Fast and Hackable Completion Framework for Neovim
Stars: â 1,198 (+1455.84%)
Mutual labels: neovim
coc-translator
Translation extension for coc.nvim.
Install
:CocInstall coc-translator
Features
- Multiple translator engines
- Translation history(CocList)
- Proxy support(see coc.nvim doc)
Configuration
Properties
translator.toLang
: Target language type, input it if it's not fould in the candidates.
Type: (('zh_CN' | 'zh_TW' | 'en' | 'fr' | 'de' | 'ja' | 'ko' | 'ru') | string) & string
Default: "zh_CN"
translator.engines
: .
Type: string[]
Default: [
"bing",
"google",
"youdao",
"haici"
]
translator.enableHover
: Translate when mouse hover.
Type: boolean
Default: false
translator.window.enableBorder
: .
Type: boolean
Default: true
translator.window.maxWidth
: .
Type: number
Default: 80
translator.window.maxHeight
: .
Type: number
Default: 20
Keymaps
Example
" NOTE: do NOT use `nore` mappings
" popup
nmap <Leader>t <Plug>(coc-translator-p)
vmap <Leader>t <Plug>(coc-translator-pv)
" echo
nmap <Leader>e <Plug>(coc-translator-e)
vmap <Leader>e <Plug>(coc-translator-ev)
" replace
nmap <Leader>r <Plug>(coc-translator-r)
vmap <Leader>r <Plug>(coc-translator-rv)
Commands
-
:CocCommand translator.popup [text]
Display translation result via floating/popup window -
:CocCommand translator.echo [text]
Echo the translation result in the cmdline -
:CocCommand translator.replace [text]
Replace the word under the cursor with the translation -
:CocCommand translator.exportHistory
Export translation history
Note: [text]
is optional, if it's not given, use the <cword>
(the word under the cursor).
Work with translation lists
run :CocList translation
to open the translation list.
- Filter your translation items and perform operations via
<Tab>
- Use operation
delete
to delete the translation item under the cursor - Use operation
yank
to yank ... - Use operation
jumpto
to jump to the location where you've performed translating - Use operation
append
to append the word to the end of cursor position - Use operation
pretend
to pretend ...
License
MIT
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].