Skip to content

feat: Russian (ru) templates + bump to 0.8.0#1

Merged
Evgenii-Konev merged 1 commit into
mainfrom
feat/ru-templates
Jun 4, 2026
Merged

feat: Russian (ru) templates + bump to 0.8.0#1
Evgenii-Konev merged 1 commit into
mainfrom
feat/ru-templates

Conversation

@Evgenii-Konev

Copy link
Copy Markdown
Member

Summary

Adds Russian (ru) template support, fulfilling the documented but unimplemented multi-language feature (docs/extending.md). Previously, setting language: "ru" in .claude/projectstore.json made every generative command (adr / research / epic / story / kanban …) fail with Template not found: templates/ru/<kind>.md.tmpl.

Changes

  • templates/ru/ — all 9 templates mirrored from en and translated: adr, concept, epic, folder-readme, kanban, meeting, research, runbook, story.
  • Translation scope: section headings, comment hints, table labels, kanban column titles.
  • Untouched (machine-read): frontmatter keys, enum status values (proposed / planned / …), {{placeholders}}, and the %% kanban:settings %% block. Column order preserved so makeIndexLine output still aligns.
  • Version 0.7.1 → 0.8.0 (plugin.json, marketplace.json).

Verification

Ran all 9 ru templates through the real lib.mjs (loadTemplate('ru', …) + renderTemplate): all render clean, no leftover {{…}}, kanban frontmatter + settings intact. Re-ran the previously-failing draft.mjs adr with language: ru — now resolves.

Follow-up (separate PR): proper i18n

Per-language full copies don't scale (drift + duplication as languages grow). Next step is catalog-based i18n: a single template per kind using {{t:key|English default}} markers + locales/<lang>.json override files, with graceful fallback to the inline English default. Keeps templates human-readable, makes a new language one JSON file, and makes structural drift impossible. The ru/ files here become the source for locales/ru.json.

Note

Cyrillic titles currently produce an empty slug (e.g. ADR-001-.md) — pre-existing slug logic in draft.mjs, not changed here. Worth Unicode/transliteration slug handling in the i18n PR.

- Add templates/ru/ mirroring all 9 en templates (adr, concept, epic,
  folder-readme, kanban, meeting, research, runbook, story)
- Translate section headings, hints, labels and kanban columns; keep
  frontmatter keys, enum statuses, {{placeholders}} and kanban:settings intact
- Fulfills the documented multi-language feature (docs/extending.md):
  language "ru" in projectstore.json now resolves instead of erroring
- Bump version 0.7.1 -> 0.8.0 (plugin.json + marketplace.json)

Maintainer: ekonev@smartandpoint.com
@Evgenii-Konev Evgenii-Konev merged commit e64d100 into main Jun 4, 2026
@Evgenii-Konev Evgenii-Konev deleted the feat/ru-templates branch June 4, 2026 06:14
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