Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Add i18n docs

Blue Mouse959588de2157
diff --git a/README.md b/README.md
index 5cf6764e5..73cfee773 100644
--- a/README.md
+++ b/README.md
@@ -31,6 +31,16 @@ See the full documentation at https://docs.swetrix.com/captcha/introduction
| `data-project-id` | Your project ID | Valid project ID | Required |
| `data-theme` | Color theme | `auto`, `light`, `dark` | `auto` |
| `data-response-input-name` | Hidden input name | Any string | `swetrix-captcha-response` |
+| `data-lang` | Force a specific language | `en`, `de`, `fr`, `pl`, `uk` | Auto-detected |
+
+### Language Support
+
+The widget supports **English**, **German**, **French**, **Polish**, and **Ukrainian**.
+
+Language is detected automatically in this order:
+1. `data-lang` attribute on the widget element
+2. `lang` attribute on parent elements (e.g., `<html lang="de">`)
+3. Browser's preferred language
### Theme Options