Astro Starter Kit: i18n
An Astro only i18n implementation that is easy to use, and highly customisable.
npm init astro -- --template i18n
π Project Overview
src/
βββ components
β βββ Footer.astro
β βββ HeadCommon.astro
β βββ HeadSEO.astro
β βββ Topnav.astro
βββ config.ts
βββ layouts
β βββ BaseLayout.astro
β βββ HomeLayout.astro
β βββ ProductsLayout.astro
βββ pages
βββ de
β βββ home.md
β βββ products.md
βββ en
β βββ home.md
β βββ products.md
βββ index.astro
βββ no
βββ home.md
βββ products.md
π§ Commands
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:3000 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
π Want to learn more?
Feel free to check our documentation or jump into our Discord server.