# OurSQL 2.9.3 — Multilingual documentation on the website

Open **Documentation** in the top tabs, sidebar or SQL toolbar. The reader opens in a separate tab to keep the SQL workspace open.

| Language | Full guide |
| --- | --- |
| English | Original guide |
| বাংলা | Bangla |
| 简体中文 | Simplified Chinese |
| हिन्दी | Hindi |
| Español | Spanish |
| العربية | Arabic, right-to-left prose with left-to-right code |
| Français | French |

Each guide retains all 21 source chapters. The full guides cover 2.8.3; the reader labels that baseline and shows a localized summary of newer features through 2.9.3, with a release-notes link. Translations remain machine-assisted drafts, not professionally native-reviewed editions. Exact guide Markdown is retained; localization of documentation does not translate the app's SQL workspace UI.

Choose a language using the reader's selector. The selection is saved in browser preferences and can be linked directly with `docs.html?lang=bn` or another language code. The chapter index contains heading links; its search filters sections in the selected guide. Code blocks have plain-text Copy buttons. Download Markdown saves the original selected file, while Print / PDF uses the rendered guide. The page supports mobile navigation, browser Back/Forward, deep section links and retry after a failed download.

## Lazy loading and offline behavior

- Opening the SQL app downloads no documentation guide, reader script or Markdown parser.
- Opening Documentation fetches only the selected language. Marked and DOMPurify are local files loaded on demand, with no CDN dependency.
- Switching languages fetches that language only. Already-loaded languages are reused in memory; fast switching cancels/ignores stale requests.
- Documentation files are listed separately as lazy service-worker assets. They are not downloaded during offline installation.
- Once the main app's service worker controls the page, successfully visited documentation assets are cached on demand. Previously visited languages can then open offline; unopened languages require a connection. Opening docs directly in a browser that has never installed the app does not install the database engine or offline runtime.
- The content version includes both runtime and lazy files, so a new deployment updates their cache version without touching databases/settings.

Markdown tables, lists, anchors and code are rendered with Marked and sanitized with DOMPurify. Unsafe HTML/event handlers are removed. Vendor versions and licenses are included in `docs/vendor/`. Readers never execute SQL from the guide.

Existing editor, import/export, theme and Crowfoot behavior is retained. Deploy the complete package; this ZIP does not deploy automatically.
