feat(i18n): add i18n support and restructure pages for localization

- Configure i18n in astro.config.mjs with English as default locale
- Add translation files and i18n utilities
- Reorganize pages under [locale] subdirectory
- Update components to use translated strings
- Add language routing and fallback handling
This commit is contained in:
Shintaro Jokagi
2025-05-14 09:41:08 +12:00
parent b3602864ee
commit 193c159db5
43 changed files with 2039 additions and 1311 deletions

View File

@@ -1,7 +1,11 @@
{
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
}
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact",
"baseUrl": ".",
"paths": {
"~/*": ["./src/*"]
}
}
}