Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>ESLint Intl - AI TranslatorNew to Visual Studio Code? Get it now.
ESLint Intl - AI Translator

ESLint Intl - AI Translator

RainSun

|
8 installs
| (0) | Free
AI-powered internationalization for ESLint error messages
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ESLint Intl - AI Translation Assistant

🌍 Translate ESLint error messages in real-time into your language using AI, breaking down language barriers in code debugging!

GitHub stars GitHub license GitHub issues Version Documentation VS Code

✨ Key Features

🌏 Multi-Language Support

Real-time translation support for 10 major languages:

  • 🇨🇳 Simplified Chinese / Traditional Chinese
  • 🇰🇷 한국어 / 🇩🇪 Deutsch
  • 🇫🇷 Français / 🇪🇸 Español
  • 🇷🇺 Русский / 🇵🇹 Português
  • 🇮🇹 Italiano / 🇸🇦 العربية

💡 Smart Fix Suggestions

Not only translates error messages, but also provides concise and practical fix suggestions to help you resolve issues quickly.

⚡ Lightning-Fast Response

  • Dual-layer caching: Memory cache + persistent storage
  • 7-day validity period: Translate common errors only once
  • Seamless experience: Display on hover, no waiting

🔧 Flexible Configuration

Support for any OpenAI-compatible API:

  • OpenAI / Azure OpenAI
  • Qwen / Zhipu AI / Qianfan
  • DeepSeek / Ollama (self-hosted)
  • Any OpenAI-format compatible custom API

📦 Quick Start

Prerequisites

⚠️ Important: This extension requires the official ESLint extension to be installed first.

Ensure ESLint is configured in your project and the VS Code ESLint extension is installed.

Step 1: Install the Extension

Search for "ESLint Intl" in the VS Code extension marketplace and install it, or click the install button directly.

Step 2: Configure API

Open VS Code settings (Ctrl/Cmd + ,), search for eslintIntl:

{
  "eslintIntl.openai.apiKey": "your-api-key",
  "eslintIntl.targetLanguage": "en"
}

Step 3: Start Using

Hover your mouse over any ESLint error to see the translated error message and fix suggestions!

⚙️ Configuration Options

Option Description Default
eslintIntl.openai.apiKey API Key (Required) -
eslintIntl.openai.baseUrl API Base URL https://api.openai.com/v1
eslintIntl.openai.model Model to use gpt-4o-mini
eslintIntl.targetLanguage Target translation language en
eslintIntl.enabled Enable translation true
eslintIntl.showOriginal Show original message false

🎯 Useful Features

Command Palette Operations

Press Ctrl/Cmd + Shift + P to open the command palette:

  • ESLint Intl: Clear Translation Cache - Clear translation cache
  • ESLint Intl: Toggle Translation - Toggle translation on/off
  • ESLint Intl: Show Output Log - View debug logs

🔌 API Configuration Examples

OpenAI
{
  "eslintIntl.openai.baseUrl": "https://api.openai.com/v1",
  "eslintIntl.openai.apiKey": "sk-...",
  "eslintIntl.openai.model": "gpt-4o-mini"
}
Qwen
{
  "eslintIntl.openai.baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
  "eslintIntl.openai.apiKey": "sk-...",
  "eslintIntl.openai.model": "qwen-turbo"
}
Zhipu AI
{
  "eslintIntl.openai.baseUrl": "https://open.bigmodel.cn/api/paas/v4",
  "eslintIntl.openai.apiKey": "...",
  "eslintIntl.openai.model": "glm-4-flash"
}
Ollama (Self-hosted)
{
  "eslintIntl.openai.baseUrl": "http://localhost:11434/v1",
  "eslintIntl.openai.apiKey": "ollama",
  "eslintIntl.openai.model": "qwen2.5:7b"
}

📚 More Resources

  • 📖 Full Documentation - Detailed usage guide and configuration instructions
  • 🐛 Report Issues - Report bugs or suggest new features
  • 💬 Join Discussions - Share experiences with the community

🤝 Contributing

Contributions are welcome! Feel free to contribute code, report issues, or make suggestions. Check out our GitHub repository for more.

📄 License

This project is open-sourced under the MIT license.


Enjoy coding without language barriers! 💻✨

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft