feat: add i18n localization with language switcher to all web apps

- Add svelte-i18n configuration with SSR support to all web apps
- Create LanguageSelector component for each app with brand colors
- Add German and English locale files
- Integrate language switcher into login pages via headerControls snippet
- Fix Tailwind v4 @source directives for shared package scanning
- Update AppSlider styling to match login container design

Apps updated:
- Memoro (gold #f8d62b)
- Märchenzauber (pink #FF6B9D)
- ManaDeck (purple #8b5cf6)
- ManaCore (indigo #6366f1)

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Till-JS 2025-11-25 01:41:25 +01:00
parent bd869dfe09
commit 926ca231b5
147 changed files with 7090 additions and 2276 deletions

View file

@ -7,10 +7,26 @@
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts",
"./atoms": "./src/atoms/index.ts",
"./molecules": "./src/molecules/index.ts",
"./organisms": "./src/organisms/index.ts"
".": {
"svelte": "./src/index.ts",
"types": "./src/index.ts",
"default": "./src/index.ts"
},
"./atoms": {
"svelte": "./src/atoms/index.ts",
"types": "./src/atoms/index.ts",
"default": "./src/atoms/index.ts"
},
"./molecules": {
"svelte": "./src/molecules/index.ts",
"types": "./src/molecules/index.ts",
"default": "./src/molecules/index.ts"
},
"./organisms": {
"svelte": "./src/organisms/index.ts",
"types": "./src/organisms/index.ts",
"default": "./src/organisms/index.ts"
}
},
"peerDependencies": {
"svelte": "^5.0.0"