A Neovim plugin for interactive machine translation using various engines directly within the editor.
Pantran.nvim is a Neovim plugin that provides seamless machine translation directly within the editor. It offers an asynchronous, interactive interface using Neovim's floating windows, similar to web-based translation frontends, and supports multiple translation engines including Apertium, Argos Translate, DeepL, Google Translate, and Yandex Translate.
Neovim users, particularly developers, writers, or researchers who frequently work with multilingual text and want to translate content without leaving their editor. It is aimed at those who prefer an integrated workflow over switching to external translation tools.
Developers choose Pantran.nvim for its native Neovim integration, offering a familiar, interactive translation window and support for command ranges and text objects. It prioritizes stability by using official API endpoints where possible, with fallback options for commercial engines, and provides customizable keybindings and multiple translation modes.
Use your favorite machine translation engines without having to leave your favorite editor.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses Neovim's floatwin for a web-like translation window that integrates seamlessly into the editor, as shown in the demonstration video, avoiding context switching.
Supports Apertium, Argos, DeepL, Google, and Yandex, offering flexibility to choose between free and commercial translation services directly in Neovim.
Provides interactive, replace, and append modes with command ranges and text object support, allowing efficient translation of selected sentences or paragraphs.
Allows extensive configuration of UI controls and mappings, as detailed in the setup example, enabling personalized workflow integration.
The README explicitly warns it's beta quality software with potential bugs, making it unsuitable for critical or production workflows without caution.
Commercial engines like DeepL require API keys for optimal use; fallback endpoints are severely rate-limited and produce inferior translations, as noted in the README.
Limited to Neovim v0.6.1+ and requires curl v7.76.0+, excluding users on older versions or other editors like Vim, with no cross-editor support.