File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,42 @@ errlens run app.js --lang ja
212212---
213213---
214214
215+ # ## 4️⃣ Multilingual Support
216+
217+ ErrLens supports error explanations in multiple languages using the ` --lang` flag.
218+
219+ ** Default behavior:** English (` en` ) is used when ` --lang` is not specified.
220+ ` ` ` bash
221+ # Run a file and get explanation in Hindi
222+ errlens run app.js --lang hi
223+
224+ # Analyze an error string in Spanish
225+ errlens analyze " Cannot read properties of undefined" --lang es
226+
227+ # Run a file and get explanation in Japanese
228+ errlens run app.js --lang ja
229+ ` ` `
230+
231+ # ### 🌍 Supported Languages
232+
233+ | Language | Code |
234+ | ------------| ------|
235+ | English | ` en` |
236+ | Hindi | ` hi` |
237+ | Spanish | ` es` |
238+ | French | ` fr` |
239+ | German | ` de` |
240+ | Chinese | ` zh` |
241+ | Japanese | ` ja` |
242+ | Portuguese | ` pt` |
243+
244+ > 💡 ** Tip:** Combine with ` --json` for multilingual CI/CD pipeline output:
245+ > ` ` ` bash
246+ > errlens analyze " is not a function" --lang fr --json
247+ > ` ` `
248+
249+ ---
250+
215251# # 🧠 System Architecture
216252
217253ErrLens operates on a three-stage intelligent pipeline to turn confusion into clarity:
You can’t perform that action at this time.
0 commit comments