Skip to content

Commit 1a8e0ff

Browse files
authored
Merge pull request #63 from BeyteFlow/copilot/fix-code-block-formatting
docs: fix unclosed code block in multilingual tip blockquote
2 parents a82121e + 702326f commit 1a8e0ff

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff 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
217253
ErrLens operates on a three-stage intelligent pipeline to turn confusion into clarity:

0 commit comments

Comments
 (0)