Skip to content

Supported Languages

ESLint Intl supports 10 languages and can be easily extended to support more.

Language List

Chinese

Simplified Chinese (简体中文)

  • Code: zh-CN
  • Region: Mainland China, Singapore, etc.
  • Characteristic: Uses simplified characters

Traditional Chinese (繁體中文)

  • Code: zh-TW
  • Region: Taiwan, Hong Kong, Macau, etc.
  • Characteristic: Uses traditional characters

East Asian Languages

Korean (한국어)

  • Code: ko
  • Region: South Korea, North Korea
  • Characteristic: Uses Hangul alphabet

European Languages

German (Deutsch)

  • Code: de
  • Region: Germany, Austria, Switzerland, etc.
  • Characteristic: Complex vocabulary and grammar

French (Français)

  • Code: fr
  • Region: France, Canada, Belgium, etc.
  • Characteristic: Rich vocabulary, complex grammar

Spanish (Español)

  • Code: es
  • Region: Spain, Latin America, etc.
  • Characteristic: Widely spoken language

Russian (Русский)

  • Code: ru
  • Region: Russia and CIS countries
  • Characteristic: Uses Cyrillic alphabet, complex verbs

Italian (Italiano)

  • Code: it
  • Region: Italy, Switzerland, etc.
  • Characteristic: Phonetically harmonic, relatively regular

Portuguese (Português)

  • Code: pt
  • Region: Portugal, Brazil, etc.
  • Characteristic: Similar to Spanish but distinct

Middle Eastern Languages

Arabic (العربية)

  • Code: ar
  • Region: Middle East, North Africa, etc.
  • Characteristic: Writes right-to-left, complex grammar

Choosing a Language

Via Settings

  1. Open VS Code Settings (Ctrl+,)
  2. Search eslintIntl.targetLanguage
  3. Select from dropdown list

Via settings.json

json
{
  "eslintIntl.targetLanguage": "en"
}

Project-specific Configuration

In .vscode/settings.json for specific project:

json
{
  "eslintIntl.targetLanguage": "de"
}

Translation Quality

All translations are generated by AI models. Quality may vary based on:

  • 📊 Model Capability: How well the model supports different languages
  • 🎯 Term Accuracy: Translation accuracy of technical terms
  • 📝 Context Understanding: Model's understanding of ESLint error context

Improving Translation Quality

  1. Use Stronger Model: Upgrade to GPT-4 or similar
  2. Optimize Prompts: Submit Issue with better prompt suggestions
  3. Provide Feedback: Report translation issues on GitHub

Language Code Reference

Standard ISO 639-1 language codes:

CodeLanguageRegion
zh-CN简体中文China
zh-TW繁體中文Taiwan
ko한국어Korea
deDeutschGermany
frFrançaisFrance
esEspañolSpain
ruРусскийRussia
ptPortuguêsPortugal
itItalianoItaly
arالعربيةMiddle East

Adding New Languages

Want to add support for a new language? See Developer Guide.

Contribution Steps

  1. Fork the project
  2. Add new language code
  3. Update translation files
  4. Submit Pull Request

Multi-language Workflow

Working in multi-language projects:

Method 1: Workspace Configuration

Configure different languages for different work folders:

json
{
  "folders": [
    {
      "path": "frontend",
      "settings": {
        "eslintIntl.targetLanguage": "en"
      }
    },
    {
      "path": "backend",
      "settings": {
        "eslintIntl.targetLanguage": "de"
      }
    }
  ]
}

Method 2: Manual Switching

Switch languages manually when needed using Command Palette

FAQ

Q: My language is not listed, what can I do?

Please submit an Issue requesting support for your language.

Q: Translation shows incorrectly or has garbled characters?

  • Check VS Code's default character encoding settings
  • Try clearing cache: ESLint Intl: Clear Translation Cache
  • Report Issue with example

Q: Is RTL language (Arabic) supported?

Yes, but display may require VS Code RTL support.

Q: Can I use multiple languages at once?

Not directly, but you can configure workspaces with different languages.

Need Help?

Released under the MIT License