micro-translate-plugin
An easy-to-use and helpful plugin for the micro editor that allows you to quickly translate selected text without leaving the editor.
language: Lua
release date: 2026-04-03
about
The plugin requires a small number of dependencies - only access to the curl command, which allows it to send and receive data from the translator's endpoint.
features
The plugin can quickly translate the entire current line or selected text. Translation speed depends on the quality of your internet connection – the script uses the public Google Translator endpoint.
The command accepts the following parameters:
The command accepts the following parameters:
- -t [LANG] : target language, required
- -s [LANG] : source language, default auto
- -f [SECONDS] : fetch timeout, default 10
compatibility
The code is compatible with every current version of micro. For increased compatibility, I recommend installing the curl package instead of using the built-in one in busybox/coreutils.