Skip to content

docs: localized READMEs (7 languages) + multilingual demo site#7

Merged
jlc488 merged 1 commit into
mainfrom
feature/i18n-docs
Jul 5, 2026
Merged

docs: localized READMEs (7 languages) + multilingual demo site#7
jlc488 merged 1 commit into
mainfrom
feature/i18n-docs

Conversation

@jlc488

@jlc488 jlc488 commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

What / 무엇

Documentation and demo-site internationalization for the 7 new layouts shipped in #6.

#6에서 추가된 7개 자판을 위한 문서·데모 사이트 다국어화.

Localized READMEs / 다국어 README

README.ru.md .uk .he .el .th .ar .ka — each written in its own language and opening with that community's canonical wrong-layout example (ghbdtn → привет, akuo → שלום, l;ylfu → สวัสดี, gamarjoba → გამარჯობა …). Focused pages (install / per-layout usage / data-kokey / KokeyInput) linking to the English README for the full API — deliberately not full duplicates, so they don't drift. All 9 READMEs carry a language-switcher row.

각 언어 README는 완전 복제가 아니라 해당 언어권의 대표 사례로 시작하는 집중형 문서입니다 (전체 API는 영어 문서로 링크 — drift 방지). 9개 README 전부에 언어 스위처 행 추가.

Multilingual demo site / 데모 사이트 다국어화

  • 9-language UI switcher (data-i18n dictionary), initial language auto-detected from navigator.language, persisted in localStorage
  • RTL (dir="rtl") for Hebrew/Arabic — demo inputs stay LTR since converted keystrokes are Latin
  • New demo cards: data-kokey="ru" enforcement + auto-restoring data-kokey="en"; converter now uses toEn (8-layout auto-detection)

Verification / 검증

  • typecheck + 75/75 vitest green (docs-only change, suite re-run anyway)
  • Site behavior verified in jsdom: language switch (en→ru), RTL flip (ar), toEn converter output, and the data-kokey="ru" live binding (ghbdtnпривет)

typecheck + 75/75 테스트 그린, 사이트는 jsdom으로 언어 전환·RTL·변환기·라이브 바인딩까지 동작 확인.

Each supported layout gets a README in its own language, opening with that
community's canonical wrong-layout example (ghbdtn → привет, akuo → שלום,
l;ylfu → สวัสดี, gamarjoba → გამარჯობა, …), covering install / per-layout
usage / data-kokey / KokeyInput, and linking to the English README for the
full API — focused pages instead of full duplicates so they don't drift.
Every README (en/ko included) now carries a 9-language switcher row.

The demo site gains a 9-language UI switcher: strings swapped via a
data-i18n dictionary, initial language auto-detected from
navigator.language, persisted to localStorage, document dir flipped to RTL
for Hebrew/Arabic (demo inputs stay LTR — the converted keystrokes are
Latin). Verified in jsdom: language switch, RTL flip, toEn converter and
the data-kokey="ru" binding all behave.

CHANGELOG folded into the unreleased 0.4.0 entry.
@jlc488
jlc488 merged commit 2dc6228 into main Jul 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant