Skip to content

add spanish translation and language switcher#1

Open
paulsonnentag wants to merge 1 commit into
mainfrom
add-spanish-translation
Open

add spanish translation and language switcher#1
paulsonnentag wants to merge 1 commit into
mainfrom
add-spanish-translation

Conversation

@paulsonnentag

Copy link
Copy Markdown
Collaborator

Reorganizes docs content into per-locale folders (en/, es/) and adds a language switcher in the docs sidebar that swaps the locale segment of the current path so readers stay on the same page after switching.

  • new content tree: src/content/docs/{en,es}/...
  • Spanish translations of all 13 doc pages
  • LanguageSwitcher component, useLocale composable, i18n messages
  • per-locale routing with /docs (default en) and /docs/es prefixes
  • emits hreflang/x-default link tags and updates html lang per route
  • sitemap and Netlify redirects pick up localized routes automatically

Reorganizes docs content into per-locale folders (en/, es/) and adds a
language switcher in the docs sidebar that swaps the locale segment of
the current path so readers stay on the same page after switching.

- new content tree: src/content/docs/{en,es}/...
- Spanish translations of all 13 doc pages
- LanguageSwitcher component, useLocale composable, i18n messages
- per-locale routing with /docs (default en) and /docs/es prefixes
- emits hreflang/x-default link tags and updates html lang per route
- sitemap and Netlify redirects pick up localized routes automatically
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