Skip to content

COOL IDEA: structured multilingual changelog source #454

Description

@flyingrobots

Context

Raised while discussing #335 and the DOGFOOD CHANGELOG viewer for the v7.2.0 release-story work.

DOGFOOD can parse docs/CHANGELOG.md well enough for an English release-story view, but Markdown in Keep-a-Changelog style is not a strong source format for localized release notes. The current format mixes structure, prose, headings, and list nesting in a way that makes stable localization keys awkward.

Idea

Introduce a structured changelog source that DOGFOOD can render directly and localize deterministically.

Two possible shapes:

{ "id": 12, "note": "Original English change description for item 12" }

Then derive localization keys by convention:

changelog.item.12

Or, if explicit keys are better:

{ "id": 12, "note": "English prose about this change", "i18n": ["de_changelog_entry_12", "fr_changelog_entry_12", "ko_changelog_entry_12"] }

The stable-ID version is probably cleaner: source English remains the fallback, and locale catalogs own translated text.

Design questions

  • Should docs/CHANGELOG.md remain generated from structured release-note data instead of being hand-authored?
  • Does each changelog item need a stable numeric ID, a semantic slug, or both?
  • Should release entries be JSONL, YAML, TypeScript data, or another repo-native format?
  • How should headings such as Added/Changed/Fixed map to localization keys?
  • How does DOGFOOD handle missing translations: source English fallback, locale-specific fallback notice, or marker text?
  • Can the structured source preserve Keep-a-Changelog export compatibility for humans and package consumers?

Non-goals

Acceptance criteria

  • A design packet compares Markdown parsing, structured JSONL, and generated Markdown approaches.
  • The chosen source format provides stable IDs and deterministic localization keys.
  • DOGFOOD can render release notes from the structured source with English fallback.
  • The normal repository changelog remains readable for non-DOGFOOD consumers.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    lane:cool-ideasInteresting but not committed work.legend:dfDOGFOOD field guide work.legend:lxLocalization and bidirectionality work.needs-designNeeds or is missing a Method design artifact.priority:mediumMedium priority.roadmapParticipates in roadmap planning.type:docsDocumentation work.type:enhancementFeature or improvement.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions