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
- Open VS Code Settings (
Ctrl+,) - Search
eslintIntl.targetLanguage - 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
- Use Stronger Model: Upgrade to GPT-4 or similar
- Optimize Prompts: Submit Issue with better prompt suggestions
- Provide Feedback: Report translation issues on GitHub
Language Code Reference
Standard ISO 639-1 language codes:
| Code | Language | Region |
|---|---|---|
zh-CN | 简体中文 | China |
zh-TW | 繁體中文 | Taiwan |
ko | 한국어 | Korea |
de | Deutsch | Germany |
fr | Français | France |
es | Español | Spain |
ru | Русский | Russia |
pt | Português | Portugal |
it | Italiano | Italy |
ar | العربية | Middle East |
Adding New Languages
Want to add support for a new language? See Developer Guide.
Contribution Steps
- Fork the project
- Add new language code
- Update translation files
- 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.