You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Rich Text Editor]: Devise plan for i18n wrt LaTeX formula editor #5643
Editing/navigation announcements (e.g., "start of fraction", "deleted:", "numerator") — these are hardcoded in English in mathlive's a11y.ts. Filed upstream as arnog/mathlive#2948. We can work around this by monkey-patching the announce hook to post-process and translate the finite set of known English strings. Tracked in Monkey-patch mathlive screen reader announcements for localization #5743.
Math content speech (reading the actual formulas aloud) — this relies on the Speech Rule Engine (SRE) library, which does not support Arabic or Portuguese. Adding a new SRE locale requires translating ~2,500 strings (mostly symbol names) and defining math speech rules. This is a significantly larger effort and not something we can easily monkey-patch.
Activity
rtibbles commentedon Mar 5, 2026
Investigation update on mathlive i18n:
There are two separate localization gaps:
Editing/navigation announcements (e.g., "start of fraction", "deleted:", "numerator") — these are hardcoded in English in mathlive's
a11y.ts. Filed upstream as arnog/mathlive#2948. We can work around this by monkey-patching the announce hook to post-process and translate the finite set of known English strings. Tracked in Monkey-patch mathlive screen reader announcements for localization #5743.Math content speech (reading the actual formulas aloud) — this relies on the Speech Rule Engine (SRE) library, which does not support Arabic or Portuguese. Adding a new SRE locale requires translating ~2,500 strings (mostly symbol names) and defining math speech rules. This is a significantly larger effort and not something we can easily monkey-patch.
rtibbles commentedon Mar 5, 2026
We will fix 1 with a monkey patch. We cannot fix 2, because it will be too onerous.