<#1045 Add Hebrew, Turkish, Ukrainian, and Greek —...
# osctrl
g
#1045 Add Hebrew, Turkish, Ukrainian, and Greek — 20 languages total Pull request opened by javuto Add Hebrew, Turkish, Ukrainian, and Greek — 20 languages total Problem Coverage ended at 16 languages; Hebrew was the notable missing RTL language, plus the significant remaining LTR gaps (Turkish, Ukrainian, Greek). Change • New languages — full 671-key catalogs each, type-checked against the English contract and enforced by catalog-parity tests: • Hebrew (he-IL, עברית 🇮🇱) — RTL • Turkish (tr-TR, Türkçe 🇹🇷) • Ukrainian (uk-UA, Українська 🇺🇦) — complete Slavic ICU plural categories (one/few/many/other) • Greek (el-GR, Ελληνικά 🇬🇷) • RTL extended: Hebrew added to the
RTL_LANGUAGES
set, so the UI mirrors via
dir="rtl"
when switching to it and resets to
ltr
for every other language. The direction-flip test now covers Arabic → Hebrew → English. • Cross-device sync: backend
SupportedLanguages
allowlist extended with he/tr/uk/el — the preferred-language PATCH/reconcile flow accepts the new tags with no other changes. Validation •
npm run check
— clean • Frontend: 377/377 tests — 20-language catalog parity, selector coverage with the new endonyms/flags, extended RTL direction test • Go: build +
pkg/types
,
pkg/users
,
cmd/api
suites pass • Production build: 19 lazy locale chunks, English bundled Coverage The language set now spans Western European (en, es, pt, ca, fr, de, nl, it), Slavic (pl, ru, uk), Greek, Turkic (tr), RTL (fa, ar, he), and Asian (ja, ko, zh, hi). Remaining candidates would be regional variants (pt-BR, zh-TW) rather than whole languages. jmpsec/osctrl