diff --git a/frontend/src/ts/test/test-ui.ts b/frontend/src/ts/test/test-ui.ts index 40d864504a46..ea97514cfe22 100644 --- a/frontend/src/ts/test/test-ui.ts +++ b/frontend/src/ts/test/test-ui.ts @@ -2069,4 +2069,19 @@ configEvent.subscribe(({ key, newValue }) => { if (["tapeMode", "tapeMargin"].includes(key)) { updateLiveStatsMargin(); } +if (key === "language") { + if (newValue === "sindhi") { + // Apply Sindhi-specific CSS + qs("#words .word")?.setStyle({ + letterSpacing: "normal", + fontFamily: "'Noto Sans Arabic', 'Lateef', 'Segoe UI', sans-serif", + }); + } else { + // Reset styles for other languages + qs("#words .word")?.setStyle({ + letterSpacing: "", + fontFamily: "", + }); + } + } });