Files
markusgraf_ch/openspec/changes/archive/2025-10-30-add-multilingual-support/proposal.md
T
gurixandClaude adbee2c655 chore: archive completed OpenSpec changes
Archive all 6 deployed changes following OpenSpec workflow:
- add-minimal-hugo-site → hugo-site spec
- add-multilingual-support → internationalization spec
- migrate-site-content → content-migration + image-assets specs
- add-custom-bootstrap-styling → styling spec
- add-cv-page → content-management spec
- simple-deployment → deployment spec

All changes moved to archive/ with 2025-10-30 date prefix.
Created 7 capability specs reflecting deployed functionality.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 17:22:03 +01:00

1.6 KiB

Add Multilingual Support (German/English)

Why

The website is currently German-only, limiting accessibility for international visitors. Adding English language support will make the site more accessible to a global audience of HR professionals, recruiters, and potential collaborators who may not speak German.

What Changes

  • Configure Hugo's multilingual mode with German (de) as default and English (en) as secondary language
  • Restructure content directory to support language-specific content (content/de/ and content/en/)
  • Translate all existing German content to English (home page, CV page, navigation, footer)
  • Add language switcher UI component in navigation that maintains current page context
  • Implement browser language detection to automatically select appropriate language for new visitors
  • Preserve language preference across page navigation using URL-based language routing (/de/ and /en/ paths)
  • Update templates to support language-specific strings and navigation

Impact

  • Affected specs: internationalization (new capability)
  • Affected code:
    • /hugo.toml (multilingual configuration)
    • /content/ directory structure (reorganize to language-specific subdirectories)
    • /layouts/partials/nav.html (add language switcher)
    • /layouts/partials/header.html (update if needed)
    • All content files (duplicate and translate to English)
  • User-facing: Language switcher in navigation, English version of all content, automatic language detection
  • BREAKING: Content file paths change from /content/*.md to /content/{de,en}/*.md