A NeoVim plugin to translate using argos
With lazy.nvim:
{
"cxwx/argosTrans.nvim",
opts = {},
keys = {
{ "<leader>t1", ":TransArgosInsert<CR>", mode = "v", desc = "insert" },
{ "<leader>t2", ":TransArgosShow<CR>", mode = "v", desc = "show" },
}
},argos-translate
pip install argostranslate
argospm install translate-en_zh
- Trans English to Chinese
The plugin provides the user command :TransArgosInsert, :TransArgosShow.
Invoke it when the cursor is on the name of a repo.
- other engine(ollama?)
- language configure