feat(i18n): add German translation for marketing pages - #3
Open
bmachek wants to merge 1 commit into
Open
Conversation
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
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
de) version of the site alongside English. English stays unprefixed at the root, German is mirrored under/de/./help/docs/...) stay English-only for now — out of scope for this pass.Layout.astroemitshreflangalternate 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 buildcompletes with no errors (60 pages, 13 new/de/*routes)🤖 Generated with Claude Code
https://claude.ai/code/session_01SuFwsndZccUEQAgZQXGtQH