Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Astro i18n Starter is a simple Astro theme for creating multilingual websites with official i18n routing.
Astro i18n Starter is an open-source starter template for building multilingual static websites with Astro's official i18n routing, published by psephopaiktes and available on GitHub. It handles the core task of organizing content per language and generating localized URLs in the subdirectory format, making it a minimal base for any project that needs multiple language versions.
Astro i18n Starter is a minimal Astro theme designed for creating multilingual websites. It leverages the i18n routing introduced in Astro v4.0, managing each language under a URL prefix such as example.com/en/ or example.com/ja/, with the root URL redirecting to the configured default language. The template takes your page content organized by locale and produces a static site with SEO-friendly localized URLs, running on any platform that supports static builds.
npm create astro@latest -- --template psephopaiktes/astro-i18n-starter to scaffold a project with preconfigured i18n routing.The template configures Astro's i18n feature to define a default locale and per-locale routing. Content is placed in language-specific subdirectories, and the build process generates static pages under each locale prefix. To get started, install the template via npm create astro@latest -- --template psephopaiktes/astro-i18n-starter, preview it locally, or visit the live sample at https://astro-i18n-starter.pages.dev/.
The template only supports the subdirectory URL format — for example, example.com/en/ and example.com/ja/. The root URL redirects to the default language, so there is no query-string or subdomain-based localization.
No, the theme ships with Vanilla CSS. You can add any framework later, but none is required to get styling working out of the box.
The template is open-source and available on GitHub; you can install and use it without paying a licensing fee. The exact license terms are not specified in the summary, but the repository is publicly accessible.
Yes, you can add any language by creating a new subdirectory for that locale and dropping in the translated content. The routing follows Astro v4's official i18n configuration, so additional languages are a matter of adding folders and updating the config.
A sample site is available at https://astro-i18n-starter.pages.dev/ — it demonstrates the English and Japanese versions of the same pages, complete with the default language redirect behavior.
