MTranServer is a self-hosted translation server that runs entirely offline using locally stored models, processing language conversions without any internet connection or GPU hardware. It functions as a translation API emulator, mimicking the endpoints of popular translation services so that existing client software can connect without requiring configuration changes.
The server is designed for private, local deployment, packaged as a containerized backend for consistent installation across different environments. It supports multiple API protocols, making it compatible with browser translation plugins like Immersive Translate and DeepL, as well as IDE extensions for translating code comments and strings. The server can be configured entirely through command-line flags at startup, and it includes system tray integration for running as a background desktop service with a simple web UI for management.
The project covers the full workflow of offline machine translation, from serving translations via local models to integrating with browser extensions and development tools. It provides a complete self-hosted alternative to cloud-based translation APIs, keeping all data local and eliminating dependency on external services.