A poc/template for multilingual static sites built with Astro and Sveltia.
It only supports the subdirectory URL format. Each language is managed with a URL like the following. The root URL will redirect to the specified default language.
- example.com/en/
- example.com/es/
- Support for Astro's official i18n functionality
- Various methods for managing multilingual pages
- Vanilla CSS
- SEO-friendly
Install dependencies:
bun iRun dev server:
bun run --bun devRun tests with vitest (vi.mock depends on Node.js behavior for module
interception and is not compatible with the --bun runtime):
bun run testGHA workflow builds static site and pushes it to GitHub Pages.
Sveltia CMS requires an Oauth client to allow users to authenticate to GitHub. See https://github.com/desering/sveltia-cms-auth.