feat: Russian (ru) templates + bump to 0.8.0#1
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Russian (
ru) template support, fulfilling the documented but unimplemented multi-language feature (docs/extending.md). Previously, settinglanguage: "ru"in.claude/projectstore.jsonmade every generative command (adr / research / epic / story / kanban …) fail withTemplate not found: templates/ru/<kind>.md.tmpl.Changes
templates/ru/— all 9 templates mirrored fromenand translated: adr, concept, epic, folder-readme, kanban, meeting, research, runbook, story.proposed/planned/ …),{{placeholders}}, and the%% kanban:settings %%block. Column order preserved somakeIndexLineoutput still aligns.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-failingdraft.mjs adrwithlanguage: 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>.jsonoverride 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. Theru/files here become the source forlocales/ru.json.Note
Cyrillic titles currently produce an empty slug (e.g.
ADR-001-.md) — pre-existing slug logic indraft.mjs, not changed here. Worth Unicode/transliteration slug handling in the i18n PR.