Skip to content

feat(i18n): add German translation for marketing pages - #3

Open
bmachek wants to merge 1 commit into
mainfrom
i18n/german-marketing-pages
Open

feat(i18n): add German translation for marketing pages#3
bmachek wants to merge 1 commit into
mainfrom
i18n/german-marketing-pages

Conversation

@bmachek

@bmachek bmachek commented Aug 21, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds a German (de) version of the site alongside English. English stays unprefixed at the root, German is mirrored under /de/.
  • Translates 13 marketing pages (Du-Form): homepage, About, Use Cases, Downloads, Contact, LrGenius vs. Excire, and all 7 Compare pages.
  • Help docs, glossary, and the wiki-sourced docs (/help/docs/...) stay English-only for now — out of scope for this pass.
  • Header/Footer/LanguageSwitcher are locale-aware; the switcher falls back to the other language's homepage on English-only pages instead of a 404. Layout.astro emits hreflang alternate tags for pages that exist in both languages.

Note

The German copy was machine-translated by Claude and has not been proofread yet — translation review is a follow-up, not blocking this PR's infrastructure/routing.

Test plan

  • astro build completes with no errors (60 pages, 13 new /de/* routes)
  • Spot-checked generated HTML: nav/footer/cookie-banner text, hreflang tags, and language-switcher hrefs on EN, DE, and English-only (help) pages
  • Manual proofread of German copy (follow-up)

🤖 Generated with Claude Code

https://claude.ai/code/session_01SuFwsndZccUEQAgZQXGtQH

Adds a German (de) version of the site alongside the existing English
one. English stays unprefixed at the root; German is mirrored under
/de/. Covers the homepage, About, Use Cases, Downloads, Contact,
LrGenius vs. Excire, and all Compare pages (Du-Form). Help docs,
glossary, and the wiki-sourced docs stay English-only for now.

- astro.config.mjs: register 'de' as a second locale
- src/i18n/de.json: German UI strings (nav, footer, cookie banner, SEO)
- Layout.astro: optional translatedPath prop emits hreflang alternate
  tags for pages that exist in both languages
- Header/Footer/LanguageSwitcher: locale-aware internal links; the
  switcher falls back to the other language's homepage on English-only
  pages instead of a path that would 404
- src/pages/de/: German counterparts of the 13 marketing pages, with
  translatedPath added to their English originals

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SuFwsndZccUEQAgZQXGtQH
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