docs: ten Indian languages and Indian-script fonts

localization-parity: Indian-language rows and faces per platform, the
shaping claim corrected (epaint 0.36 shapes with harfrust), es/fr rows
brought up to date, Hindi 12-18 h -> 6-10 h. ROADMAP, gaps and
target-app-parity language counts and progress log.
This commit is contained in:
kulveersingh committed 2026-10-11 23:18:28 -04:00
1 parent a1e4aedadd
commit 205373d052
4 files changed
+65 -31

No files matched your search

+13 -11
View File
@@ -2,7 +2,7 @@
**Stage: alpha** · next: beta, ~25 points of "ready for real work" and ~160–240 h away
> **Last reviewed:** 2026-10-11 · **Last updated:** 2026-10-11 · **Change:** minor (password-encrypted workbooks open, #11) · **Target:** Microsoft Excel (Microsoft 365)
> **Last reviewed:** 2026-10-11 · **Last updated:** 2026-10-11 · **Change:** minor (ten Indian languages and Indian-script fonts) · **Target:** Microsoft Excel (Microsoft 365)
GridCraft aims at full Microsoft Excel parity, and at being better in places: faster, open (XLSX
is the native format), fully scriptable by agents (MCP, control channel, CLI), and on the web.
@@ -62,7 +62,7 @@ collaboration, mobile, AI).
| File formats | ~50% | 80–120 | [file-format-parity.md](docs/file-format-parity.md) |
| Performance | ~35% | 35–55 | [target-app-parity.md](docs/target-app-parity.md#performance) |
| Stability | ~60% | 15–25 | [gaps.md](docs/gaps.md) |
| Localization | ~10% (ribbon in 6 languages) | 100–165 | [localization-parity.md](docs/localization-parity.md) |
| Localization | ~10% (ribbon in 19 languages) | 100–165 | [localization-parity.md](docs/localization-parity.md) |
| Hardware (multi-core calc, GPU, pen, multi-window) | ~40% | 25–40 | [hardware-parity.md](docs/hardware-parity.md) |
| Platforms | ~80% (no iOS/Android; ahead on Linux, BSD, RISC-V) | 30–60 | [target-app-parity.md](docs/target-app-parity.md#platforms) |
| Ecosystem / add-ins | ~10% (VBA out of scope; own scripts, MCP, CLI) | 25–40 | [target-app-parity.md](docs/target-app-parity.md#ecosystem-and-ai) |
@@ -89,21 +89,21 @@ collaboration, mobile, AI).
## Languages
The ribbon is translated into Japanese, Simplified Chinese, Korean, Brazilian Portuguese, Russian
and German (266–268 labels each, ~12% of ~2,200 strings; merged 10-10 in #31, #104, #82, German
added 10-11), the
interface follows the system language, and CJK, Thai and Hebrew text falls back to system fonts
(#38). Dialogs, menus and messages are English; formulas and number formats are en-US only.
The ribbon, status bar and Backstage are translated into Japanese, Simplified Chinese, Korean,
Brazilian Portuguese, Russian, German, Czech, Spanish, French and ten Indian languages (Hindi,
Bengali, Marathi, Telugu, Tamil, Gujarati, Kannada, Malayalam, Odia, Punjabi; 381 labels each,
~17% of ~2,200 strings), the interface follows the system language, and CJK, Thai, Hebrew and
Indian-script text falls back to system fonts and is shaped (conjuncts, reordered vowel signs). Dialogs, menus and messages are English; formulas and number formats are en-US only.
Localized German formulas and numbers are in PR #163. Detail: [localization-parity.md](docs/localization-parity.md).
| Language | Code | Status | UI strings |
|---|---|---|---|
| English | en | full (source language) | 100% |
| Simplified Chinese | zh-Hans | menus only | ~12% |
| Spanish | es | none | 0% |
| Hindi | hi | none | 0% |
| Spanish | es | menus only | ~17% |
| Hindi | hi | menus only | ~17% |
| Arabic | ar | none (no RTL layout, no shaping) | 0% |
| French | fr | none | 0% |
| French | fr | menus only | ~17% |
| Portuguese | pt-BR | menus only | ~12% |
| Indonesian | id | none | 0% |
| Japanese | ja | menus only | ~12% |
@@ -111,7 +111,7 @@ Localized German formulas and numbers are in PR #163. Detail: [localization-pari
| Korean | ko | menus only | ~12% |
| Vietnamese | vi | none | 0% |
Other shipped languages: 2 (Russian and German, menus only, ~12%).
Other shipped languages: 11 (Russian, Czech, and the Indian languages bn, mr, te, ta, gu, kn, ml, or, pa; menus only, ~17%).
## Upcoming
@@ -132,6 +132,7 @@ Ranked; estimates in Opus 5.5 agent-hours. Detail and the full beta-gate list in
| Date | What landed |
|---|---|
| 2026-10-11 | Ten Indian interface languages (Hindi, Bengali, Marathi, Telugu, Tamil, Gujarati, Kannada, Malayalam, Odia, Punjabi) and system Indian-script fonts on Windows, macOS, Linux and BSD, shaped correctly |
| 2026-10-11 | Command-sequence fuzzing: random command sequences checked against undo/redo, XLSX round-trip and full recalculation; fixes for the table, legacy-array, spill, AutoSum, Watch Window and sheet-copy bugs it found |
| 2026-10-11 | Password-protected workbooks open: GridCraft asks for the password and decrypts Agile and Standard encryption (#11) |
| 2026-10-11 | Text boxes keep their formatting: run size, bold, italic, typeface, text colour and outline, alignment, vertical anchor and "no outline" (#377) |
@@ -177,6 +178,7 @@ Ranked; estimates in Opus 5.5 agent-hours. Detail and the full beta-gate list in
| Date | Change | Summary |
|---|---|---|
| 2026-10-11 | minor | Ten Indian languages, Indian-script fonts; language counts and table updated; progress log row |
| 2026-10-11 | minor | Password-encrypted workbooks open (#11); progress log row |
| 2026-10-11 | minor | Forecast Sheet (#322); progress log row |
| 2026-10-11 | minor | Worksheet functions 505 / 523 (ODD* bond functions); progress log row |
+4 -3
View File
@@ -1,6 +1,6 @@
# Gaps
> **Last reviewed:** 2026-10-11 · **Last updated:** 2026-10-11 · **Change:** minor (§6: iterative calculation landed) · **Target:** Microsoft Excel (Microsoft 365)
> **Last reviewed:** 2026-10-11 · **Last updated:** 2026-10-11 · **Change:** minor (§11: ten Indian languages, Indian-script fonts) · **Target:** Microsoft Excel (Microsoft 365)
Every known shortfall against Excel, one entry each, ranked by user impact (what blocks someone
using GridCraft for real work first). This is the work list: pick from the top, check the open
@@ -96,8 +96,8 @@ No alpha blockers: every core workflow passes the [alpha gate](roadmap.md#alpha-
## After beta
### 11. No localization at all (L)
- Ribbon-only catalog in five languages (#31, #104, #82; ~12% of strings each); dialogs, menus and
messages English; en-US function names and separators (#45); German in PR #163. **Estimate:**
- Ribbon/Backstage catalog in 19 languages, ten of them Indian (~17% of strings each); dialogs,
menus and messages English; en-US function names and separators (#45); German in PR #163. **Estimate:**
100–165 h including #5. [localization-parity.md](localization-parity.md)
### 12. Get & Transform, external data, data model (F)
@@ -160,6 +160,7 @@ No alpha blockers: every core workflow passes the [alpha gate](roadmap.md#alpha-
| Date | Change | Summary |
|---|---|---|
| 2026-10-11 | minor | §11: ten Indian languages, Indian-script fonts (localization % unchanged pending a re-measure) |
| 2026-10-11 | minor | §6: iterative calculation for circular references landed (Maximum Iterations, Maximum Change) |
| 2026-10-11 | minor | §15: trim-reference operators (`A1:.E10`, `A1.:E10`, `A1.:.E10`) parse and evaluate |
| 2026-10-11 | minor | §4: trendlines (six types, forecast, equation and R²) read, written and drawn |
+45 -15
View File
@@ -1,6 +1,6 @@
# Localization parity
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-11 · **Change:** minor (German ribbon catalog added) · **Target:** Microsoft Excel (Microsoft 365), Excel for Mac 16.113.4
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-11 · **Change:** minor (ten Indian languages, Indian-script fonts, shaping re-checked) · **Target:** Microsoft Excel (Microsoft 365), Excel for Mac 16.113.4
Per-language status against Excel, which ships its UI in dozens of languages (Windows language
packs cover 100+), with localized function names, argument separators, number and date formats,
@@ -12,21 +12,32 @@ right-to-left sheets and full complex-script support. Part of
- **A first catalog exists, for the ribbon only.** `crates/ui-egui/src/i18n.rs` (merged 10-10 in
#31, #104, #82; German added 10-11) adds an interface-language preference that defaults to the
system language (closes #20) and a View-tab switcher, with English-keyed lookup tables:
Japanese 268 labels, Simplified Chinese, Korean, Russian, Brazilian Portuguese, German and Czech 266
each. The tables are used by
the ribbon, sheet tabs and widgets (`ribbon.rs`, `tabs.rs`, `widgets.rs`); dialogs, menus,
the Japanese reference table now holds 381 labels (ribbon, status bar, Backstage), and every
shipped language (es, zh, ja, ko, ru, pt-BR, de, cs, fr and the ten Indian languages) is tested
to cover each key. The tables are used by the ribbon, sheet tabs, Backstage and widgets (`ribbon.rs`, `tabs.rs`, `widgets.rs`); dialogs, menus,
context menus, task panes, status messages, command labels and function descriptions are still
English literals. Untranslated labels fall back to English.
- **About 2,200 user-visible strings** in all (heuristic source scan: ~1,700 UI and command
strings plus ~500 function descriptions), so each shipped language covers **~12%** (measured
strings plus ~500 function descriptions), so each shipped language covers **~17%** (measured
count / estimated total).
- **en-US only formulas and formats.** Function names, `,` argument separator, `.` decimal
separator, en-US number and date formats (`crates/numfmt` says "en-US only"). Users ask for
localized function names and `;` separators (#45). German with localized numbers and formulas
is in PR #163 (open).
- **Indian languages (2026-10-11).** Hindi, Bengali, Marathi, Telugu, Tamil, Gujarati, Kannada,
Malayalam, Odia and Punjabi (Gurmukhi) catalogs (`i18n/{hi,bn,mr,te,ta,gu,kn,ml,or,pa}.rs`), each
covering every key of the reference table (381 labels, ~17%), with their locale tags
(`hi-IN`…; Shahmukhi `pa-Arab`/`pa-PK` stays English). Machine-translated, no native review yet.
- **Script support.** System-font fallback for CJK, Thai and Hebrew landed in #38 (closes #32;
#142 is still open pending confirmation). There is no complex-text shaping: Arabic and
Devanagari don't join or reorder, and there is no bidirectional layout. **Sheet Right-to-Left**
#142 is still open pending confirmation), and for the nine Indian scripts (Devanagari, Bengali,
Gurmukhi, Gujarati, Odia, Tamil, Telugu, Kannada, Malayalam) on 2026-10-11: Nirmala UI and the
per-script faces on Windows, Kohinoor/Noto/Sangam MN on macOS, Noto Sans or Lohit on Linux and
the BSDs. **Text is shaped**: epaint 0.36 runs every run through harfrust (OpenType GSUB/GPOS),
so conjuncts, reordered and split vowel signs render correctly wherever a face is present
(tested: `theme::tests::indic_text_is_shaped_not_drawn_letter_by_letter`). The web build has no
system fonts, so CJK and Indian-script interfaces are not auto-selected there and Indian text
shows as boxes until craft-fonts ships Noto faces for these scripts. There is no bidirectional
layout: Arabic and Hebrew runs shape but don't reorder. **Sheet Right-to-Left**
(`view.rightToLeft`, Page Layout › Sheet Options, XLSX `rightToLeft`) mirrors the grid (#146):
column A and the row headers on the right, the vertical scrollbar on the left; hit-testing,
arrow keys, editor, popups and floating objects follow; text stays left-to-right inside its box
@@ -44,10 +55,10 @@ separators, number/date formats, machine translation with agent review, and scri
|---|---|---|---|---|---|---|---|
| English | en | ~2,200 / ~2,200 (100%, source) | yes | Latin: yes | yes | full | — |
| Simplified Chinese (Mandarin) | zh-Hans | 266 (~12%) | no | CJK system-font fallback (#38); IME unverified; PDF can't export | no | menus only | 8–13 h |
| Spanish | es | 0 (0%) | no | Latin: yes | no | none | 6–10 h |
| Hindi | hi | 0 (0%) | no | Devanagari: **no shaping** | no | none | 12–18 h |
| Spanish | es | 381 (~17%) | no | Latin: yes | no | menus only | 6–10 h |
| Hindi | hi | 381 (~17%) | no | Devanagari: shaped, system faces; web: none | no | menus only | 6–10 h |
| Arabic | ar | 0 (0%) | no | **no shaping, no RTL UI**; Sheet Right-to-Left mirrors the grid (#146) | no | none | 25–35 h |
| French | fr | 0 (0%) | no | Latin: yes | no | none | 6–10 h |
| French | fr | 381 (~17%) | no | Latin: yes | no | menus only | 6–10 h |
| Portuguese | pt-BR | 266 (~12%) | no | Latin: yes | no | menus only | 4–8 h |
| Indonesian | id | 0 (0%) | no | Latin: yes | no | none | 5–8 h |
| Japanese | ja | 268 (~12%) | no | CJK system-font fallback; IME unverified; no furigana display | no | menus only | 8–12 h |
@@ -55,9 +66,27 @@ separators, number/date formats, machine translation with agent review, and scri
| Korean | ko | 266 (~12%) | no | Hangul via the CJK fallback; IME unverified | no | menus only | 6–10 h |
| Vietnamese | vi | 0 (0%) | no | Latin with stacked diacritics: unverified | no | none | 6–10 h |
Other shipped languages: Russian (ru) and German (de), 266 labels each (~12%), menus only.
Other shipped languages: Russian (ru) and Czech (cs), menus only. Spanish (es) and French (fr)
catalogs also ship (381 labels).
**Total:** catalog work 10–20 h + languages 92–144 h ≈ **100–165 h**. Parallelizes almost fully
Other Indian languages (menus only, 381 labels ~17% each, shaped with system faces, no native
review; 4–8 h each to full once the catalog covers dialogs):
| Language | Code | Script | Faces (Windows · macOS · Linux/BSD) |
|---|---|---|---|
| Bengali | bn | Bengali | Nirmala UI, Vrinda · Kohinoor Bangla · Noto Sans Bengali, Lohit |
| Marathi | mr | Devanagari | Nirmala UI, Mangal · Kohinoor Devanagari · Noto Sans Devanagari, Lohit |
| Telugu | te | Telugu | Nirmala UI, Gautami · Kohinoor Telugu · Noto Sans Telugu, Lohit |
| Tamil | ta | Tamil | Nirmala UI, Latha · Tamil Sangam MN · Noto Sans Tamil, Lohit |
| Gujarati | gu | Gujarati | Nirmala UI, Shruti · Kohinoor Gujarati · Noto Sans Gujarati, Lohit |
| Kannada | kn | Kannada | Nirmala UI, Tunga · Noto Sans Kannada · Noto Sans Kannada, Lohit |
| Malayalam | ml | Malayalam | Nirmala UI, Kartika · Malayalam Sangam MN · Noto Sans Malayalam, Lohit |
| Odia | or | Odia | Nirmala UI, Kalinga · Noto Sans Oriya · Noto Sans Oriya, Lohit |
| Punjabi | pa | Gurmukhi | Nirmala UI, Raavi · Gurmukhi Sangam MN · Noto Sans Gurmukhi, Lohit |
Urdu (Arabic script, right-to-left) waits for bidirectional layout and an RTL interface.
**Total:** catalog work 10–20 h + languages 86–136 h ≈ **95–155 h** (Hindi no longer needs shaping work). Parallelizes almost fully
once the catalog covers dialogs and commands. **Needs a human:** native-speaker review of every
language (none so far) and of localized function names.
@@ -69,14 +98,15 @@ language (none so far) and of localized function names.
2. Locale-aware formulas: localized function-name tables and separators at the formula-bar
boundary only (files keep en-US invariant names), locale number and date formats, list
separators in CSV.
3. Text shaping and fallback: a shaping engine for grid, editor and PDF text (Arabic, Devanagari,
Thai), system font fallback for CJK, bidirectional runs, right-to-left sheet tabs and printing;
embedded subset fonts in PDF.
3. Script support: shaping is done (epaint/harfrust) and system faces cover CJK, Thai, Hebrew and
the Indian scripts. Left: bidirectional runs, right-to-left sheet tabs and printing, script
faces for the web build (craft-fonts), embedded subset fonts in PDF.
## Revision history
| Date | Change | Summary |
|---|---|---|
| 2026-10-11 | minor | Ten Indian languages (hi, bn, mr, te, ta, gu, kn, ml, or, pa; 381 labels each), Indian-script system faces on Windows/macOS/Linux/BSD; corrected "no shaping": epaint 0.36 shapes with harfrust. Hindi 12–18 h → 6–10 h; total 95–155 h |
| 2026-10-11 | minor | German ribbon catalog (`i18n/de.rs`, 266 labels, ~12%); `de` locale tags (de-DE, de-AT, de-CH…) resolve to German. PR #163 (localized German formulas/numbers) still open |
| 2026-10-11 | minor | Sheet Right-to-Left mirrors the grid (#146) |
| 2026-10-11 | minor | Czech (cs) ribbon table: 266 labels (~12%), menus only |
+3 -2
View File
@@ -1,6 +1,6 @@
# Target-app parity: GridCraft vs Microsoft Excel
> **Last reviewed:** 2026-10-11 · **Last updated:** 2026-10-11 · **Change:** minor (stability: command-sequence fuzzing against undo/redo, XLSX round-trip and full-recalc invariants) · **Target:** Microsoft Excel (Microsoft 365)
> **Last reviewed:** 2026-10-11 · **Last updated:** 2026-10-11 · **Change:** minor (localization: ten Indian languages, Indian-script fonts and shaping) · **Target:** Microsoft Excel (Microsoft 365)
This is the authoritative parity assessment. [`ROADMAP.md`](../ROADMAP.md) summarizes it,
[`gaps.md`](gaps.md) lists every shortfall, and the area checklists hold the detail:
@@ -103,7 +103,7 @@ performance 8, stability 8, localization 4, hardware 2, platforms 2, ecosystem 2
| UI/UX fidelity | 12 | ~55% | 50–80 | Excel-style ribbon, galleries, dialogs, formula bar, status bar; 59 commands with shortcuts vs Excel's 200+; key tips on part of the Home tab only; short context menu; single window. [ui-parity.md](ui-parity.md) |
| Performance | 8 | ~35% | 35–55 | [Performance](#performance) |
| Stability | 8 | ~60% | 15–25 | Never-crash rules enforced by lint, every command fuzzed with hostile params, random command sequences fuzzed against undo/redo, XLSX round-trip and full-recalc invariants, last-resort guard in `Session::execute`. Field reports: Windows Intel GPU crash (#120), error on close (#117), freeze opening from Finder (#166), screen flashing (#76) |
| Localization | 4 | ~10% | 100–165 | Ribbon-only catalog in five languages (ja, zh, ko, pt-BR, ru; ~12% of strings each), CJK/Thai/Hebrew font fallback, no shaping or RTL. [localization-parity.md](localization-parity.md) |
| Localization | 4 | ~10% | 100–165 | Ribbon/Backstage catalog in 19 languages incl. ten Indian ones (~17% of strings each), CJK/Thai/Hebrew/Indian-script font fallback with harfrust shaping, no bidi or RTL UI. [localization-parity.md](localization-parity.md) |
| Hardware | 2 | ~40% | 25–40 | GPU UI via wgpu; single-threaded calc; no pen pressure; one window. [hardware-parity.md](hardware-parity.md) |
| Platforms | 2 | ~80% | 30–60 | [Platforms](#platforms) |
| Ecosystem / add-ins | 2 | ~10% | 25–40 | [Ecosystem and AI](#ecosystem-and-ai) |
@@ -332,6 +332,7 @@ The inventory carried over from the 2026-10-07 ROADMAP.md, updated for what land
| Date | Change | Summary |
|---|---|---|
| 2026-10-11 | minor | Localization: ten Indian languages, Indian-script fonts and shaping (localization % unchanged pending a re-measure) |
| 2026-10-11 | minor | Stability: command-sequence fuzz harness (`crates/engine/tests/command_sequence_fuzz.rs`) checks random command sequences against undo/redo, XLSX round-trip, full-recalc and structure invariants; the sequence bugs it found are fixed (no score change) |
| 2026-10-11 | minor | Password-encrypted workbooks open (#11): Essentials file-opening work 24–36 h |
| 2026-10-11 | minor | Worksheet functions 505 / 523 (96.6%; 496 working): ODDFPRICE, ODDFYIELD, ODDLPRICE, ODDLYIELD |